[email protected]

Papervision 3D programming tutorial: Depth of Field

The depth of filed effect can be seen in a lot in landscape photographs where an object in the foreground (say a tree) is in focus while the background (like some mountains) will be quite blurry. It’s not an effect that is naturally reproduced with 3D engines – typically the entire scene is rendered in focus with no regard for a depth of field.

However it is a fairly easy effect to achieve with Papervision and the standard Flash effects. Read this tutorial to learn how to apply depth of field to your Papervision model. In the demo you can modify the focal point of the camera using the slider on the left hand side. The source code is provided as well.

Tina Zennand
Tina is a writer who has been working with MotoCMS since early 2010. In her articles she covers various aspects of web design and web development. She is also a marketing manager for MotoCMS websites. You can follow her on Twitter or Google +.
More articles by Tina Zennand

Related Posts