Page 1 of 1

OpenGL gotchas !

Posted: Thu Sep 03, 2015 9:31 am
by PeterO
When all you get is a blank screen, don't assume nothing is being drawn.

The camera might be looking the wrong way ! "IT'S BEHIND YOU " :D DO'H !!

PeterO

Re: OpenGL gotchas !

Posted: Thu Sep 03, 2015 9:54 am
by panik
I feel you :)

Similar things that happened to me:

- backface culling is on, and the camera is *inside* the model.
- model is outside the clipping plane.
- model is *way* too big or too small (1 pixel is hard to spot on a blank HD screen)
- model has a fully transparent texture.

I'm sure there are more...

Re: OpenGL gotchas !

Posted: Thu Sep 03, 2015 10:08 am
by PeterO
Yes I'm sure there are many more, but this one wasted me a several hours yesterday :(
PeterO