For a while now I’ve been wanting to experiment with volumetric lighting techniques in Papervision and the other day I came across a post processing technique that gives great results for very modest overhead.
As you can probably tell from the experiments on this site I have something of a love affair with 3D in Flash. Recently I was invited to join the Papervision3D team as a contributing member to help out with the latest iteration of the engine, PV3D 3.0…
Fluid dynamics is the study of fluids in motion. Simulating the interactions of gas and liquid in motion is a highly processor intensive task but the results can be well worth it. This is my first attempt at a fluid dynamics smoke/cloud experiment in Flash.
Using the same Pixel Bender kernel as my previous depth of field experiment it is possible to achieve depth based fog. Source code for this example included!
The first major step when developing a 3D app is finding a way of importing models created in external editing software. Using my MD2 Objective C classes you can easily load, render and animate MD2 models in your iPhone app, example project included!
One of the features that most modern graphics accelerators support is a ZBuffer (also known as a depth buffer). This can be thought of as an image that provides per pixel depth information. In this experiment I emulate a ZBuffer in Papervision and use it to create a realtime volumetric Depth of Field effect.
During a project last year I was faced with an interesting challenge, altering a constant value inside an already compiled SWF. Due to the specifics of the project it turned out to be as simple as hardcoding the address of the constant and overwriting with the new value but my interest in a native AS3 SWF file library had been sparked.