Categories
Articles

Papervison3D

This example is remake of Lee Brimelow’s example. I removed the tweener library and used the Flash Tween class.I also took the Actionscript code out of the Fla and created an Actionscript class to give a start for creating a component version.

Complete example:

Flash CS3 Actionscript 3 Papervision3D 1.5 Carousel

Categories
Articles

Papervision 3d Great White Rotating Cube Multiple Bitmap Materials Example

September 2007 I meet with Sci-Fi channel over some potential web site work. During the process they asked if I had worked with Papervision. I had not but heard of it. After the meeting I went back and did the usual downloads to try it out. I found the community following it cannot express themselves clearly but I muddled through the few examples and documentation. Then I lost interest.

More recently I got some interest because I am working with the Verizon Wireless (VZW) web site team. The team is reviewing some of the static Flash product display animations that have hard coded data sources and tying them into live active data. As part of that process I decided to consider some of the more advanced Flash RIA capabilities.

So on my own time I decided to revisit the Papervision3D world. I found that there is a new version 2 dubbed Great White for development. For VZW I thought it would be better to stick with the 1.5 version of Papervision3D.

I wanted to try a rotating cube with each face having a different bitmap material. I downloaded the 1.5 zipped version and proceeded to find examples on the net for this application. However I soon discovered (actually hours) that although the examples and the documentation indicated that multiple materials were possible, it did not work. I suspected there were updates and you really needed to be using subversion to keep up.

Finally I decided to use subversion. I also decided skip to the Great White version. I started to see a sync in the code with the examples seen on the net.

So an example is posted here for your interest: Flash CS3 Actionscript 3 Papervision3D 2 (Great White) 3D Cube Rotation Example.

I added a second example that provides a Plane for a perspective on the rotating Cube. New controls to move the camera. I changed the rotation to y only. Added to that is a Timer to control the speed of rotation and allow stopping and starting it. Here is the link:

Flash CS3 Actionscript 3 Papervision3D 2 (Great White) 3D Cube Rotation Example With Controls for Animation and Camera Position