Re: Page Curl

ah, but the REAL trick (to add to the "bons points section") is how to animate the page so it isn't just a "simple quad" undergoing a rigid rotatation.... and solving that is solving something akin to cloth animation insofar as you pick up a corner and it pulls adjacent verticies as a function of the page-space distance, etc.

Re: Page Curl

> it shouldn't take an artist for a simple > curl deformation on a mesh

If the only effect you're interested in is
a single page curl, then that's true.

I'm drawing the conclusion that if you want
a curl, you probably are going to end up
wanting 102 other effects as well. At that
point, using a data driven approach with
artists generating the data is what you want
to be doing.

Personally, I think that the phletora of
tutorials on the web (and in books) that show
people how to draw using hard-coded data are
doing a dis-service. While you have to start
somewhere, I think that starting at vertex
arrays is the right thing, and then mention
that vertex arrays are typically loaded from
data files.

Anyway.

"If you can't afford to do something right,
you'd better make sure you can afford to do it wrong!"

Re: Page Curl

Originally posted by dorbie:
[B]The mesh is then animated to look like a turning page and it looks like the perfect image warp operation for the page curl.
B]

thanks, my question is how to create the mesh just like the right image warp operation.I used some hardware FX system,they
control page curl through some parameters like radius, angle, offst,etc. I need a algorithm use this parameters to create a correct mesh.the page curl must under my control.

Re: Page Curl

well, a simple quad isn't a quad mesh, is it? you can't animate a page wrinkling and curling with *A* *SIMPLE* quad. You need lots of them; probably in a strip, too.

He didn't say you would curl the simple quad, but the mesh on top of the quad. Actually, why would you need the quad in the first place? Why not just have a mesh with the texture on it and bend that up? Well...I guess you can use the background quad for a background image or something. Like in PSP for example, when you do a page curl, the part behind the curl is like a grey, or whatever you choose (if I remember correctly). Maybe that's where the quad comes in, is to draw that part.