View Full Version : Drawing the view frustum
Aeluned
02-25-2005, 12:41 PM
I'd like to draw the view frustum (as when the modelview matrix is the identity), like they do in most papers when explaining frustums - using lines.
In other words, if i zoom out on the scene or rotate the entire scene, the view frustum 'cuboid' should rotate and zoom as well.
How would I go about this?
Thanks.
MMMovania
02-25-2005, 11:58 PM
Originally posted by Aeluned:
I'd like to draw the view frustum (as when the modelview matrix is the identity), like they do in most papers when explaining frustums - using lines.
In other words, if i zoom out on the scene or rotate the entire scene, the view frustum 'cuboid' should rotate and zoom as well.
How would I go about this?
Hello there
i saw something similar to this in one of nate robins tutorials have a look at it at http://www.xmission.com/~nate/tutors.html hope it will solve your problem.
Thanks
Aeluned
02-28-2005, 05:01 AM
Thanks, I'll take a looksy.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.