3D object + 2D plane intersection
Hey gang!
I'm trying to figure out a patch that allows me to get the shapes (polygons) resulting from the collision of a 3D object with a 2D plane. Illustrated below, I'm trying to retrieve the pink shape.
I'm planning on visualizing the shapes and also using them for synthesis parameters.
The object will be moving and the plane will be static. Any thoughts on how to approach such a patch? I'd love to hear your thoughts.
PS Yes, I'm trying to create flatland :)
i believe your best option is to create a raymarching shader loaded into a jit.gl.slab - http://jamie-wong.com/2016/07/15/ray-marching-signed-distance-functions/
Thank you!