PDA

View Full Version : Stencil buffer



fobru
02-20-2003, 06: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?

rIO
02-21-2003, 03: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