Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Yet another topic about glFrustum.

  1. #1
    Junior Member Newbie
    Join Date
    May 2011

    Yet another topic about glFrustum.

    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

    Thank you for your time!

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Care to share what the hideous result actually is? Also, could you please share what "the map" is?

  3. #3
    Junior Member Newbie
    Join Date
    May 2011
    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.

    Click image for larger version. 

Name:	Room0.jpg 
Views:	167 
Size:	11.7 KB 
ID:	1034

    The map is the first room of the Deku Tree from the game, Legend of Zelda: Ocarina of Time.
    Last edited by Flotonic; 05-25-2013 at 12:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts