Jump to content
  • Advertisement
Sign in to follow this  
Constantin

Page turning animation (how to build, or where to buy)

This topic is 4070 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 have an existing an C++ application. The application has pages of a document in the form of dynamically generated bitmaps. I would like flat rectangular meshes that can be leafed through like the pages of the book. I would like for my bitmaps to be textures of these meshes. I could try to construct these meshes myself but this looks really complicated. Is there sample code out there that does something similar. Or a library that does this. Or a .X animation file I can buy? Many thanks.

Share this post


Link to post
Share on other sites
Advertisement
I think the easiest way would be to model a rectangular mesh in a 3D program, then animate it. Export a separate .x file for every frame of animation, then load them all into your program and interpolate between frames over time, which us called "vertex animation".

There are free 3D programs available, the best of which IMO is GMax (available from TurboSquid once you register). GMax cannot write .x files, but I think it can do .obj. You can either learn how to parse .obj (which can't be difficult because it's a text format, or find a converter (Deep Exploration is one example).

And of course you could do it by hand too, but that would be fairly difficult.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!