Hi all, I am trying to animate PDF pages turning on a magazine but am not getting anywhere. Does anybody know of any tutorials out there that would tell me how to make a model of a PDF magazine and turn the pages.
Dunno of a tutorial, but the basic approach would be to get a pfd renderer (you can probably get one Open Source for this, this is the most difficult part). Once you have your pfd page rendered (prefferably in memory) you load it to an OpenGL texture and then just draw a textured mesh for the page flipping animation. Adobe has a pdf library to help you read, write, render etc. this stuff I don’t know much about it though, what the charges are etc. This may interest you:
I expect there are other options out there though. Something lgpl would probably be what you’re looking for.
Once you have some OpenGL geometry textured with the pdf image you’re most of the way there, so focus on how you achive that, then read this thread on page curl animation, my apologies for all the unnecessary debate in this thread, it got silly in some ways but the substance is there: