PDA

View Full Version : Volume slicing of a 3D object



sharadg
04-06-2001, 04:52 PM
Actually I have created a 3D object by enclosing it in between 2 meshes.

I need to create a movable plane that could slice thru this object and show me it's intersection with the surface, so that one could get an idea of the shape of the object.

Please let me know how could I do that..

Thanks a lot

JasonM [ATI]
04-06-2001, 10:17 PM
The StencilCap (http://www.ati.com/na/pages/resource_centre/dev_rel/sdk/rage128sdk/OpenGL/Samples/Rage128StencilCap.html) sample in the Rage128 SDK does something along the lines of what you're asking for. It uses a user clip plane and also some stencil buffer tricks to "cap" the object at the clipped plane.

-Jason