Turning Page Effect with OpenGl

Post: #1
I need your help plesae
I'm working on OpenGl ,I want to put a book on a table and when I press the mouse on the hard cover page it is opend,,(OR attach the job for a button in the keyboard)
and the same thing when pressing the page inside
the book but as realistic as possible because it is paper!!(I mean it is not hard ).Also the text in the page should be readable.
I turned the cover page (using rotation and timer) , but I found difficulties when I try to open the internal pages becuase I want to turn it realisticly , I have read a lot of articles but nothing useful!Cry
could any one lead me to useful links or simple programs ??

I hope you could help me , I don't know from where should I start!

Just put me on the road please !

Any help greatly appreciated,, Thanks in advance Smile
Quote this message in a reply
Posts: 1,403
Joined: 2005.07
Post: #2
Well if you could model a line turning over and curling, just extrude it to make a page. For example heres a diagram of what I mean:
[Image: pagecurlzh3.png]

Is that the kind of thing which you wanted to model?

If so then its probably easiest to use a bezier curve, then you can vary the control points and handles with time and calculate 10 or so vertices along that edge.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Posts: 469
Joined: 2002.10
Post: #3
or, maybe you could use something like chipmunk physics and just calculate a single string/chain and then extrude.

15.4" MacBook Pro revA
Quote this message in a reply
Post: #4
Thanks very much I'll read about the two ways..
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Temple Run Magnet Effect anmetv 2 5,172 Dec 1, 2013 05:24 PM
Last Post: JustinFic
  Using blending for a text fading effect. cjcaufield 2 7,348 Jun 30, 2010 08:21 PM
Last Post: cjcaufield
  Implementing page views. MacSteve85 2 4,712 Jan 20, 2010 12:09 AM
Last Post: mysteriouspants
  Halo-Effect in 3D OpenGL ES Bersaelor 4 9,689 Dec 17, 2009 11:54 AM
Last Post: Mark Levin
  Turning off mixing iPod music dsk00 0 3,644 Jun 4, 2009 10:25 PM
Last Post: dsk00