Sound Experimentation – Papervision + Line3D


Sound experimentaion utilizing papervision 1.9 alpha with the new enhanced Line3D class.

This movie requires Flash Player 9

Press 'B' to change blendMode (ADD/NORMAL).  Click and drag to take control (if you want).



3D Forcemap


Forcemap01

Particles have been a favorite of mine for some time now, and with Papervision, particles can now easily be done in 3D.  This experiment is a 3D forcemap, generated by a cube of perlin noise.  Each wall of the cube is averaged together to generate the 3D force.

...



Papervision3d Shading


Papervision is an awesome 3d engine - there is no doubt about it.  The fact that the authors have made it open source only makes it better.  What started as a fun project to create a Lathing model turned into a fun project to create a Lathing model with some flat spot lighting applied.

The next obvious step is setting up some phong shading - but I know that those materials are already in the works for the next release (http://www.unitzeroone.com/blog/papervision3d/papervision3d_demos_cellshadin.html) so I won't spend too much time reinventing the wheel.

Click below to see it in action.

...



AS3 BitmapData.lock()


For those of you unfamilier with BitmapData.lock(), it is a new technique in Flash 9 that allows you to make changes to a bitmapdata object without rendering all those changes until the bitmap is unlocked. I decided to do a test just to see how much of an impact the bitmapdata.lock method really has on performance. 

This example uses 20,000 pixels which are drawn to the bitmapdata every frame (31 fps). 

This movie requires Flash Player 9

I have seen some samples showing a more dramatic difference (http://www.unitzeroone.com/flex_2/mandelbrot_explorer/) when rendering extremely large bitmaps - but I was hoping the feature would be useful for rendering special effects and such. 

Unfortunately, this sample shows little, if any effect of using bitmap.lock on less than 30,000 pixels per frame.