Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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 –  Seven Hundred and Forty-Two Jul 17 '13 at 16:33
    
oh, you're right. thx. –  andy Jul 17 '13 at 16:38
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.