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

Author Topic: [solved] Disable y-flip to use mathematical model?  (Read 953 times)

0 Members and 1 Guest are viewing this topic.

Clairvoire

  • Newbie
  • *
  • Posts: 29
    • AOL Instant Messenger - Clairvoire
    • View Profile
    • http://clairvoire.deviantart.com
[solved] Disable y-flip to use mathematical model?
« on: October 13, 2011, 02:03:59 am »
Hello!  I'm trying to use opengl rendering, while at the same time using SFML in spots to control the windows and texture loading.

However, the difference between openGL and SFML's coordinate systems, specifically the fact that y rises is different directions, is causing all sorts of subtle problems.  

Is there any way to isolate and disable the parts of SMFL that performs the y-flip conversion in the first place?

Clairvoire

  • Newbie
  • *
  • Posts: 29
    • AOL Instant Messenger - Clairvoire
    • View Profile
    • http://clairvoire.deviantart.com
[solved] Disable y-flip to use mathematical model?
« Reply #1 on: October 13, 2011, 02:08:00 am »
... it figures, work on it for a few hours, then as soon as I make a post, I see the problem.

I had gluOrtho2d()'s arguments backwards for the Y axis.  I think I have (un)negated the y-discrepancy totally now.  Thanks for the time though!