View Full Version : glFrustum
04-18-2001, 12:40 AM
I read the Red Book, but I have some problems to understand what means camera, cliping volume and how glFrustum works.
04-18-2001, 02:55 AM
You may need to read the redbook again, it's worth.
Camera, or eye defines the point from where the viewer looks.
Clip volume: Remember the math classes when you learnt Projection, ie getting 2D image of 3D scenes. Clip volume specifies that 3d space which is to be projected to 2D area.
Depending on the requirement you can set it either as orthogonal ( parallel volume) or perspective. You have to make sure the images you render is inside clipping volume.
Glfrustrum is an api to set you clipping volume as perspective. see the archives, you will find detailed explanation.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.