Papervision3D- Materials Demo

March 21st, 2008 . Categories: Flash, Papervision3D

I put together a small material demo file to familiarize myself with some of the shade materials in pv3d v2. It’s not exhaustive, only featuring the shadeMaterials (not shaders/shadedmaterials) but I found it useful in getting to grips with the various shading options in pv3d. It also includes some of the simple materials like bitmap Asset, movie Asset, and wireframe for reference.

materials demo

Example
Source

(To rotate model, click + drag left/right)

For users of the SVN repository: This file uses an older revision (442) of the effects branch as there seems to be a bug with replaceMaterialByName and shadeMaterials in the more recent revision (444) at the time of writing.

34 comments




Papervision3D - Animated Movie Asset Material

March 20th, 2008 . Categories: Flash, Papervision3D

I’ve been playing around with the animated property of the movie materials the last couple of days, because let’s face it, animated textures are pretty damn cool. The only things you need to do to set this up is to set the animated property of your material to true, and then to set up an enterFrame listener to render the scene.

If you set the smooth property of your material to true, then be sure to also set tiled to true or your movie may lock up at at certain angles.

animated movie asset material

Example
Source

4 comments