🔒 Locked
Rotating images
Advertisement
Original Post
I believe the only thing rotated with a bitmap is the raster position. Ultimately, even if you did it by hand, some type of filtering is going to have to be applied. You could use nearest rather than linear interpolation, but something has to be use for rotations other than multiples of 90 degrees.
I believe what you may be looking for is an algorithm to do anti-aliased image rotation. If you do not mind paying a computational expense and then storing the texture for later retrieval, you could use an Aarot rotation algorithm to rotate the bitmap. It is too slow for any real-time rotations, however.
Here's link of an explanation and VC++6 source files.
Aarot Anti-Aliased Image Rotation
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement