Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Rotating axes in HUD


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 xiangping   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 July 2001 - 01:28 AM

I want to add coordinate axes display in my opengl scene indicating the orientation when rotating camera.I can get rotating effect under perspective projection but when i get into Ortho projection i was confused on rotating.I think glOrtho2D() is used when rendering object in HUD.In general,my question is how to rotate an object in HUD.Any suggesion or codes will be appreciated.Thanks a lot!

Sponsor:

#2 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 July 2001 - 03:40 AM

Just rotate it the usual way. The perspective is like the lense you are using for a camera. A rotated object is a rotated object in all kinds of perspectives.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS