We are currently working on making some changes in DIF. Soon we’ll have candy for you all! Check back for news!

Double-faced Plane (or Cube with depth=1) in Papervision3D

Posted: October 11th, 2007 | Author: nuno | Filed under: Actionscript3, Code, Experiments, Papervision3d, Tutorial | 5 Comments »

Today I had my first experiments with Papervision3D and after some time playing around I wanted to try having a double-faced Plane() with a different material on each face.

Its likely that a better way to do this exists, but one way to emulate a double-faced Plane() is to have a Cube with depth = 1, and hiding all but the front and back faces. Here's a and the code.

The hint to do this was from ldoru and the car in the images too!

 Update:  I would not longer use such an approach to achieve a double-faced Plane() with a different material on each face. I would recommend using a DisplayObject3D with two normal one-face planes inside it.