Multiple view ports and cameras in Papervision3D

For long I have been planning to make a Flash application to visualise certain Ryukyu Kobudo techniques in 3D.

The code example linked and the file attached is the preliminary test to see how navigation between several camera angles and view ports works. Make sure to have a truetype font file in the same directory when compiling. I was using “nrkis.ttf” available in most Windows OS versions. You can also switch the material list of the cube. See code for more.

Source code example now available at GitHub.

Use left / right arrow keys on the keyboard to change the camera, mouse wheel to adjust the zoom, “r” rotates the cube.