Steven Hansen
2012-11-15
For various reasons, I like having openGL (via LWJGL) to use coordinates other than pixels, which is easily set via:
Display.setDisplayMode(new DisplayMode(800, 600));
GLU.gluOrtho2D(0f,32f,0f,24f);
However, now that I've begun trying to integrate Nifty GUI into my application, this coordinate scale is causing problems. Namely, Nifty seems to think openGL is using pixels as units, and thus renders everything gigantic. Is there anyway to fix this?
Steven Hansen
2012-11-15
Nevermind, got my answer via stackoverflow. Here's the link for those with similar problems: http://stackoverflow.com/questions/13406131/how-do-i-get-nifty-gui-to-use-my-coordinate-system/13406376#13406376