SFML community forums

Help => Graphics => Topic started by: Clairvoire on October 13, 2011, 02:03:59 am

Title: [solved] Disable y-flip to use mathematical model?
Post by: Clairvoire 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?
Title: [solved] Disable y-flip to use mathematical model?
Post by: Clairvoire 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!