SFML community forums
Help => General => Topic started by: Mars_999 on May 29, 2012, 06:29:33 am
-
I am doing ray picking in a window mode and I can't get a correct result, if I run fullscreen then I get correct results? From what I can tell in window mode the Z value returned is the far plane?
-
Where is SFML in this problem?
-
Well if I knew I would be more helpful... but the only difference between my code is just the flag for fullscreen to SFML... The values I must be getting from glReadPixels() or someother OpenGL function call doesn't like something...
-
Probably isn't an SFML issue, but never the less, with FreeGLUT I tested same code again in a window vs. fullscreen it works fine, just not with SFML so far....
-
You most probably didn't adapt some coordinates. And these are probably assuming a specific window size.