Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: gluPerspective/glOrtho not working?  (Read 3658 times)

0 Members and 1 Guest are viewing this topic.

Vit

  • Newbie
  • *
  • Posts: 14
    • View Profile
gluPerspective/glOrtho not working?
« on: April 13, 2010, 05:59:19 pm »
I recently updated my project to use SFML 1.6 (Mac OS X).
I'm using direct OpenGL to render a 3D tile-based map (aka 2.5D), with either a perspective or orthographic projection.
However, I've found that once I use either glOrtho or gluPerspective, I can't switch to the other later (after I call app.Display). If I call glOrtho first, it gets stuck in orthographic; if I call gluPerspective, it's stuck in perspective.

It's most likely a fault in my code somewhere; however, it worked perfectly in 1.5, so I suspect it's something to do with SFML. If needed, I could try creating a minimal example.

 

anything