PDA

View Full Version : Clipping plane



masterpoi
05-01-2000, 02: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, 06: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, 06:37 AM
But what about setting it up, for him of course http://www.opengl.org/discussion_boards/ubb/smile.gif

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

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

also check out flipcode's message boards

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