Jump to content
  • Advertisement
Sign in to follow this  
AhmedAndre

Rendering a Book

This topic is 2807 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'm trying to render a 3D Book on android which I can wrap the pages ( page curling) , I've tried to load an MD2 file which has the flipping animation of the page and rendered the book as a .3DS file , but there is a problem that I can set texture of a specific page at real time using MD2 files .. For example , I would like to render the TOC page then after flipping I render the Chapter 1 Page and its animated. . whats the best approach for that ?

Share this post


Link to post
Share on other sites
Advertisement
Yes, but what kind of file format should I use I only have .obj , .3ds, and MD2 ...
can I set textures (pages) in real time ? and its animated model ??

Share this post


Link to post
Share on other sites
The one that is most convenient for you.
can I set textures (pages) in real time ?[/quote]
What do you mean here? you already got some kind of model loader, which loads a model
into your application you simply have to assign it a different texture.

Share this post


Link to post
Share on other sites
OK , Thanks.
Regarding assigning the Page model to the book , is there a neat way better than that ? . The page doesn't look like that its a part of the book itself ..

Share this post


Link to post
Share on other sites
I don't exactly get what "assigning the Page model to the book" means. It is the job of an artist to make the model and animation look good.

Share this post


Link to post
Share on other sites
I don't know about obj and md2 but in the 3ds file format you can have two different objects in the same file.
So for example you can create a model which contains two objects: book and page and programatically replace the texture on the page object.

Share this post


Link to post
Share on other sites
I guess the easiest way would be to animate it in the modeling program itself, but this way requires you to be able to handle animations in your selected file format.

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!