Posted by: redescape | August 6, 2007

Mapping Interactive Flash Objects as Papervision3D Textures

There’s a big buzz right now around Papervision3D and its really exciting to see all these people posting incredibly innovative work all over the blogosphere. We took Pierre Lepers’ event model for Papervision3D and used it to add interactivity to a 3D object.

Papervision includes a handy material called MovieMaterial which gives you the ability to use any MovieClip as a texture map for a 3D object.

With the event model, every 3D object dispatches MouseEvent3D events that includes the 2D coordinates of the mouse impact point on the texture map.

By moving the source MovieClip with the correct offset, every event (rollOvers, clicks, mouseWheel) is naturally triggered on the source MovieClip and automatically copied to the 3D object’s MovieMaterial.

http://labs.blitzagency.com/?p=315


Leave a response

Your response:

Categories