[Papervision3D] culling help

Jonathon Stierman jstierman at modernclimate.com
Tue Jul 21 11:56:16 PDT 2009


I've got a bit of a culling issue that I'm hoping someone can give me some pointers on.  I'm working on a little animation for a box that can open and close.  I'm using a Cube instance, along with a couple of Plane instances to use as the doors.  When looking dead-on at the animation, it looks perfect, but as soon as I start rotating the cube, the "door" polygons seem to disappear while opening/closing.

I've done some googling, played around with clipping and culling settings, but I haven't been able to make the door polygons always render.

I have attached the source code if anyone would like to take a look.  You'll need the Tweener library, and the flash components (for the Button class), and Papervision, obviously.

Jonathon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090721/b86a85ac/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PVBox.zip
Type: application/x-zip-compressed
Size: 2420 bytes
Desc: PVBox.zip
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090721/b86a85ac/attachment-0001.bin>


More information about the Papervision3D mailing list