Sign in to follow this  

Is there a way to rotate a bitmap image ??

This topic is 4400 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to draw a bitmap image, which is basically a b&w icon, and rotate it. I am aware that this is not ususally done. I am thinking that if I can rotate a text, I can do the same with bitmaps. Any one has an example ??. Thanks

Share this post


Link to post
Share on other sites
Bitmaps are aligned to the x and y axis. Opengl provides no native functionality for rotating them. Use a simply quad to represent it if you can. If you need to, you can manually rotate the image. This is done by rotating the points around the center of the bitmap. There's plenty of info online about that.

http://www.gamedev.net/reference/articles/article811.asp

Share this post


Link to post
Share on other sites

This topic is 4400 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this