View Full Version : Yet another topic about glFrustum.

05-25-2013, 10:38 AM
The glFrustum(); function is putting up a fight. I need to zoom in on the map and using glOrtho was causing it to disappear by the time any real distance was made, so someone suggested I use glFrustum. The result of that is hideous, though. Please see for yourself. Here is my code:
Source Code (http://www.maco64.com/Frustum_Problem.c)
Frustum_Map.h (http://www.maco64.com/Frustum_Map.h)

Thank you for your time!

05-25-2013, 10:51 AM
Care to share what the hideous result actually is? Also, could you please share what "the map" is?

05-25-2013, 11:02 AM
I suppose not everyone is interested in compiling the source code for themselves. The left one is with glFrustum. The right one is with glOrtho. They are the same scene.


The map is the first room of the Deku Tree from the game, Legend of Zelda: Ocarina of Time.