Away3DLite z-sorting problem

4 views
Skip to first unread message

Shawn

unread,
Jun 4, 2010, 1:08:34 PM6/4/10
to Away3D.dev
I am having some z-sorting/culling problems with the torus primitive
in lite. It seems that, within a primitive, all faces pointing toward
the camera are rendered regardless of z-position.. only backside faces
are culled. Please see the example below of a standard torus primitive
that shows the problem:

http://moosemouse.com/away3dtest014.html

Here is how I created it: testTorus = new Torus(null, 100, 40, 20,
20);

Am I doing something wrong, or is there a way to get the forward
facing faces to be z-sorted?

Thanks,
Shawn

Shawn

unread,
Jun 4, 2010, 3:53:52 PM6/4/10
to Away3D.dev
Upon further testing it appears that everything works fine when I use
a BitmapMaterial instead of a WireColorMaterial:

BitmapMaterial: http://moosemouse.com/away3dtest015.html
vs.
WireColorMaterial: http://moosemouse.com/away3dtest014.html

So, it is no longer a problem for me since I will eventually be using
all BitmapMaterials :)

-Shawn
Reply all
Reply to author
Forward
0 new messages