[Papervision3D] How do I: Displayobject -> 3D Rect?

Iman Khabazian imankh at gmail.com
Mon Aug 27 00:21:24 PDT 2007


Hello German,

Sounds like you can do everything you need to once you download the latest
papervision code.

you can create a 3D rectangle in papervision and have it display correctly.
Just create a screen, create your rectangle, and render your camera.  See
the "Cube" example in the examples folder.

If you use a movie Material as your texture then whenever the movie changes
the 3D model will automatically be updated.  See the MovieMaterial for this.

If your material is interactive then you can catch clicks.  Check out the
interactiveMovieMaterial for this.

Check out the InteractiveFormUI example to see how to find out where the
user clicked.

Thanks,
Iman


On 8/26/07, German Bauer <design4use at gmail.com> wrote:
>
> Hi,
>
> This is a PV3D beginner's question:
>
> How can I put an AS3 displayobject (e.g. a sprite) on a 3d rect in
> papervision and have it display in correct perspective?
> How do I make sure that it gets updated as the sprite changes?
> Is it possible to click on that sprite on the rect and let the sprite know
> where the user clicked? (Is that even possible?)
>
> I am thinking about a device touch screen tutorial and it would be nice to
> have the device be 3D while there is a movieclip or sprite "running" on the
> screen, the interacts with the user while viewed in perspective. Any
> pointers to code samples on how to do any of the 3 things above are much
> appreciated!
>
> Thanks,
> design4use
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070827/b3a42ab5/attachment.html 


More information about the Papervision3D mailing list