Discuss Scratch

Coding3dnow
Scratcher
15 posts

Help with raymarcher?

hello i have made a ray marcher that works but i need to know how to add 3d cubes and in general just make it faster https://scratch.mit.edu/projects/991459764/ any help will be appreciated

scratch = 3d = true
sashimiricedev
Scratcher
100+ posts

Help with raymarcher?

This method of raymarching doesn't allow for polygonal geometry.

Basically, the raymarcher makes an SDF with the point and the radius as inputs. As a radius is, well, radial, it creates a spherical shape around the circle.
This wouldn't work with NON-RADIAL geometry, like a cube.
It's literally impossible unless you revamp the system.

Last edited by sashimiricedev (March 28, 2024 19:56:48)


forum helper
Forum Post Demos
I follow most of the discussions I post on, so feel free to reply back if you have any further questions.

Powered by DjangoBB