View Full Version : Clipping plane

05-01-2000, 03:47 AM
What exactly is a clipping plane?
How do I set it up?
What do BSP-trees actually do, how do they work?
I'm trying to program a 3d-world, but clipping is something i don' t fully understand... Can somebody help me?

05-01-2000, 07:59 AM
Clipping plane.
Imagine a box you are looking into. Inside the box is where you draw all your objects. The back of the box is the far clipping plane. The front, or opening, of the box is the near clipping plane. Anything you draw outside of those clipping planes will not be seen - in fact won't even be drawn. Obviously the sides of the box also represent clipping planes.

05-04-2000, 07:37 AM
But what about setting it up, for him of course http://www.opengl.org/discussion_boards/ubb/smile.gif

05-04-2000, 10:29 AM
i think you set them up with gluPerspective... Right? :-)

05-04-2000, 06:45 PM
About the BSP's check out the portal article at flipcode.com

also check out flipcode's message boards

05-05-2000, 10:18 AM
Thanks, that's exactly what I needed....