View Full Version : Stencil buffer

02-20-2003, 05:28 AM
Is it possible to use the stencil buffer to show from one object only that part that is not in an other object??
Does anybody has an algoritm for that?

02-21-2003, 02:23 AM
This is called constructive solid geometry, dig this site for examples, you'll find a nice CSG sample using glut.

hope this helps