Playing with Papervision3D

March 11th, 2008 Posted in Papervision

The past few months have been tedious, to say the least, as I have been upgrading my AS3 skills and learning Flex 3 and Air development. As if this was not enough, In my research I have come across a lot of cool tools, libraries, class structures, and other various open source apps that I have been attempting to integrate into work…

You may have read my post, last month, on PHUG about Open Source Flash where I discussed Papervision3D and FlashDevelop, Recently have been spending more and more time outside the Flash IDE using FlashDevelop, and with great success so far I have no issues writing AS3 and using libraries like PV3 to develop….Ok, enough of the banter…So, for those of you who still have not yet heard of or played PV3, you are definitely missing out.

I can’t take all the credit for the code below, I learned a lot from Mr.doob, Lee Brimleow, lessrain, John Grden of RockonFlash, and of course Blitz!

Here are some very basic samples. In the first one I was testing using planes and mapping textures to the ground and the adding some random planes in the environment. I still need to add collision detection to these examples.

*Use these keys to move w = forward, s = backward, a = left, s = right

PV3 Planes Sample

View | Download Source

In the second example I was testing how to load collada files.

*Use these keys to move w = forward, s = backward, a = left, s = right

PV3 Collada Sample

View | Download Source

I will put together some tutorials soon.

Leave a Reply