[Papervision3D] Help With Layers and Zoom

Slopester slope at slopester.com
Sun May 3 08:30:44 PDT 2009


Hi Angelo

You can get a PV scene set up quickly with BasicView (see Andy's post @ 
http://blog.zupko.info/?p=96).
This will create all the base elements for you - one scene, one viewport, 
one camera - and you can then add your objects to that scene.

You can use DisplayObject3D as containers for your groups of thumbs. 
DisplayObject3D is an invisible object in your 3D scene you can add children 
to, so you can use one for each category and add your thumbnails with 
addChild().

You thumbnails will probably be Planes - you will need to create a material 
for each Plane and be sure to set the material's interactive attribute to 
true if you want it to receive mouse events later:  mymaterial.interactive = 
true;

You can use a tween engine (like my personal fave, Tweener - 
http://code.google.com/p/tweener/) to do all the movement.

There's obviously a bunch of work to do with the above to get to your 
finished idea, but that's the general concept.  Hope that helps

slopes


----- Original Message ----- 
From: "Angelo" <angeligia at gmail.com>
To: <papervision3d at osflash.org>
Sent: Sunday, May 03, 2009 5:50 AM
Subject: [Papervision3D] Help With Layers and Zoom


Hi guys,

I'm sending this message because I'm desperate. I'm searching all over
the internet about 2 weeks now to understand Papervision and I'm almost
getting next to understand how it works but I'm loosing something. Well,
here's my problem:

I'm making a vídeo website, that will have 3 categories, each with some
videos, loaded from a XML. Each category will have a layer with its
thumbnails. Once an user click the thumbnail, it centers on the screen
and zoom, if the person clicks again they can watch the video. Well, the
three categories will have each a layer and they will be one in front of
the other, each with a different depth and blur. The ideia is to change
the category with the mouse wheel, but i'll figure it out how i'll make
this later. My issue is how to make those three layers, put some
thumbnails inside each one, make the mouse button works and change its
depths and z-order.

I don't know if I have to make 3 scenes, or 3 planes, or 3 sprites, how
to put some movieAssetsMaterials inside the Plane, I just don't know
what is the logic for this specific problem. I'm not waiting for you
guys to give me the final solution, I just hope some advices like: "you
will have to make 3 sprites, one camera and ... " and i'll try a little
more. If you guys know some good tutorial or example that mix some of
the things I said, i'll reeaaally appreciate.

Thanks in advance!
Angelo

_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.325 / Virus Database: 270.12.15/2093 - Release Date: 05/02/09 
14:23:00




More information about the Papervision3D mailing list