Sign in to follow this  
willthrom

Rotation Surface

Recommended Posts

Hi, I have develop a app using Direct9(migrate to directX7 with directdraw) to manage surface with GDI+ to draw primitives, text and other windows stuff. Now, I need to rotate all 90 degrees to the left because the phisical screen are rotate. I know that a fast method is imposible but.... any idea? My only thought is render to texture, and mapping the texture in a plane(cube,etc) and rotate the view... but I thing that it is very very very slow (GDI+ is the worst by now I cant change it). And in this case.. how can a offscreen surface (used to draw GDI+) render in a texture? Now, a direct7 code with lock surface and a software rotate is coded by it´s very slow :( Thank you. [Edited by - willthrom on August 2, 2007 2:12:12 AM]

Share this post


Link to post
Share on other sites
I agreat with you, but I would have to recode all my interface between GDI+ and my app to use direct function and not more spend time is allow.

Share this post


Link to post
Share on other sites

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