Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Woodsman

Bitmap rotation not usually supported?

This topic is 5276 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

I recall reading in TOTWGPG that while you can pass a rotation angle or such when blitting a bitmap in directdraw that this will only work if your hardware card supports it, which he went on to say is very rarely the case. Is that still true today? I''m wondering because I''m interested in making a small application in which many rotated images will be necessary. I''ve found that SDL doesn''t natively support this, though I''m looking at libraries, and I''m not sure that learning and setting up enough D3D simply to rotate textures in place of sprites is worth it.

Share this post


Link to post
Share on other sites
Advertisement
This is still true today, yes. DirectDraw support for rotation, scaling and alphablending were all pretty much still-born due to the fact that when the interfaces to support them were added, everyone was running to 3D. The vast majority of videocard manufactuers have never bothered putting in support at the driver level, except when using the 3D interfaces.

Share this post


Link to post
Share on other sites
Doesn''t that just mean it''ll be software rendered instead? How big of a deal could that be in this case...

Share this post


Link to post
Share on other sites
quote:
Original post by Renze
Doesn''t that just mean it''ll be software rendered instead? How big of a deal could that be in this case...


Software rotation is still pretty costly. Besides, I dont think DDraw provides a HEL for rotation.

Share this post


Link to post
Share on other sites
quote:
Original post by DukeAtreides076
Besides, I dont think DDraw provides a HEL for rotation.

Yeah, because it''s so extremely costly.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!