View Full Version : Looking for a good glFrustum tut.
04-11-2001, 07:13 AM
Help me out here. I'm trying to use glFrustum - but my volumes seem to be rather distorted. I've gotten a close approximation, but it's still not right. Help me out!
And yes, I know about gluPerspective - but I want to LEARN about glFrustum.
04-11-2001, 01:52 PM
I suspect that the distance between the camera/eye and the object is too close. You may want to move forward the near clipping plane and see what happens.
[This message has been edited by NeoTuri (edited 04-11-2001).]
04-11-2001, 02:05 PM
did you take the window ration into account.
ratio = width/height
glFrustum( ratio*left, ratio*right, bottom, top, near, far );
where left, right, bottom and top are the same in your case I believe.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.