Bonjour!

I am working on a new Away3D based project and ran into a bit of an
issue with z-sorting.

I am generating a custom cube (objectContainer3D made out of six
custom Planes) and applying a Perlin deformation on the mesh using
AS3DMod. I would like to use the Phong shader to add realism but I
found that using that shader (PhongBitmap, PhongColor, PhongMovie and
even Shading) seems to show z-sorting issues. I tested this with or
without the AS3Dmod. I also used the latest Away3D SVN, 2.3.3, 2.3.0,
2.2.0 to no avail.

If anyone had a similar issue please let me know if you have found a
fix or work around for it!

I also tried view.renderer = Renderer.INTERSECTING_OBJECTS; and
view.renderer = Renderer.CORRECT_Z_ORDER; without improvements.

demo links below. Click and drag on white space to hover (I am using a
HoverCam) click on cube faces to open close them (part of the app's
flow):
no deformation and ShadingColorMaterial:
http://www.wemakedotcoms.com/_projects/stc09/3D/noModif/STC_Portfolio_2009_v1.html

PhongBitmapMaterial + AS3DMod:
http://www.wemakedotcoms.com/_projects/stc09/3D/phongBitmap/STC_Portfolio_2009_v1.html

ShadingMaterial + AS3DMod: 
http://wemakedotcoms.com/_projects/stc09/3D/shading/STC_Portfolio_2009_v1.html

Did I mention that Away3D rock?

;)

Thank you,

JJ

Reply via email to