ray-tracer icon indicating copy to clipboard operation
ray-tracer copied to clipboard

Marching: constructive solid geometry

Open w23 opened this issue 7 years ago • 3 comments

With clever combinations of min, max and all this carp it's easy to add, subtract and intersect geometry. Also: repetition, mirroring, domain transforms.

Depends on #35

w23 avatar Jul 31 '18 17:07 w23

@w23 If I understand correctly you refer to https://en.wikipedia.org/wiki/Constructive_solid_geometry which sounds really interesting to implement on the stream. Thanks!

But why does it depend on #35 ?

rexim avatar Jul 31 '18 19:07 rexim

Because it's trivial to do for distance functions. I believe any other approach will require a lot of head scratching (never tried myself).

w23 avatar Aug 01 '18 10:08 w23

@w23 ok, let's resolve #35 first then. :)

rexim avatar Aug 01 '18 11:08 rexim