
I was checking out some Papervision3D stuff a few months back, and I thought it would be fun to adapt Lee Felarca’s page curl effect into something a bit more fleshed out. This demo also makes use of PV3D’s InteractivePlane feature, which allows us to create buttons on the 3D book’s pages. Thanks Lee!
{ 14 } Comments
Very cool!
Lee
Wow, looks great!
can you send me the source file?
greetz Richard
Since I’ve had a few requests, I posted the source files here. Enjoy!
For those who were having problems integrating the PV3D source, I’ve replaced the zip with a new version which now contains the papervision source I originally used to build the demo.Here ya go.
thanks ever so much… this is exactly what i’ve been looking for…
Hi Dan (and Lee)
This is a cool start to something - just wanted to know if you’re still working on it. I was thinking of developing it further into a class where you can supply any form of DisplayObject that conforms to an IPage interface, so the pages can be added dynamically from real content rather than having to use embedded library symbols.
I obviously won’t do it if you are already spending time on it, but I would like to contribute with some dev work…
Cheers
Steve J
thanks very much. diving deep into your code helped me understand the original class so much more!
i’m currently fighting a strange issue of transparent pages, with working (also invisible
) buttons on them - mysterious encounter, and thought just to stop by and thank you as a relaxing moment :))
Neat! Do you know if you will be posting a PV 2.0-compatible version? If so, I’d love to see it. I’m trying to convert the files now, but it seems to be stuck on the Faces3D…
Wow, this is great! Any tips on what to do if the pages are .png’s and not jpgs? I’m having trouble getting the transparency to show - only shows black.
your implementation of this page flipper is awesome. Quick question for you: how would I go about controlling the x,y,z,rotation of the book itself, not the camera?
@Steve Jones & mooshoo: I’m not sure about Lee, but I haven’t developed anything further on the pageturn since this demo. Some day I will revisit it.
@Jordan: Not quite sure, but remember that the book is a set of planes, not an actual model.
Thanks a million for sharing! Great Framework(do you say that in Flash?!) your offering and keep that up. There’s no way learning webtechniques without people sharing their work. So thanks a million!
hacer paginas web con estos efectos 3D es la repera
Thanks for this great demo.
@Jordan: I got the book moving around like this:
In the BookPage.as class:
public function setXPosLeft() {
TweenMan.addTween(plane1, { x: -170, frames: 30, delay: 0 });
TweenMan.addTween(plane2, { x: -170, frames: 30, delay: 0 }); }
and in the Book.as class:
for each( var page in _pages )
{
page.setXPosLeft();
}
This works fine.
I am having major troubles trying to load SWFs at runtime and then apply them to the already created pages. Once they are created I can’t seem to get the material to update to reflect changes to the movieClip.
I have tried calling:
material1.updateBitmap();
after I have updated the movieClip but it just doesn’t seem to do anything.
Anyone solved this?
Also anyone solved the hand cursor appearing on the entire plane yet?
Holland Risley
Mentor Web Design Bristol
Post a Comment