Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I already tried it by using GL11.glRotatef(45, 1, 0, 0), but the result looks like this:

enter image description here

share|improve this question
GL11.glRotatef(45, 1, 0, 0) corresponds to 45 degrees about the x axis – Outurnate Jul 17 '13 at 16:33
oh, you're right. thx. – andy Jul 17 '13 at 16:38
up vote 0 down vote accepted

I just want to tell you that I actually found a solution:

The trick was to set the near & far values via GL11.glOrtho(...) to a higher value, so the "space" for the drawn "things" on the z-axis is enough. For me, I chose 10000 & -10000.

Hope it helps someone else, too. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.