Move scene with any camera and you will break Z-Sorting.
Renderer.CORRECT_Z_ORDER; // Doesn't fix cube menu Z sorting issues
Renderer.INTERSECTING_OBJECTS; // Doesn't fix cube menu Z sorting issues
NearfieldClipping and FrustrumClipping fix some of the issues but not all the time (random results same code).
Tested with Away3D 3.4 - Z-Sorting is fine
Tested with Away3D 3.5.0 - Z-Sorting is fine
Tested with Away3D 3.5.2 - Z-Sorting is broken
Tested with Away3D 3.6 - Z-Sorting is broken
If I was to tween the alpha of all the cubes very slowly to 1, once it reaches 1 the Z-Sorting is a lot more accurate but still results in Z-Sorting errors.
Also getting flickers of cubes behind other cubes when TweenLite the depth property of a cube.
Also posted at: http://away3d.com/forum/viewthread/331/
Create 6 cubes ownCanvas = true, alpha = 0.8
at a size of say 400x400x400 place them with a gap of 100px like so: http://www.allforthecode.co.uk/away3d/bug/
Move scene with any camera and you will break Z-Sorting.
Renderer.CORRECT_Z_ORDER; // Doesn't fix cube menu Z sorting issues Renderer.INTERSECTING_OBJECTS; // Doesn't fix cube menu Z sorting issues
NearfieldClipping and FrustrumClipping fix some of the issues but not all the time (random results same code).
Tested with Away3D 3.4 - Z-Sorting is fine Tested with Away3D 3.5.0 - Z-Sorting is fine Tested with Away3D 3.5.2 - Z-Sorting is broken Tested with Away3D 3.6 - Z-Sorting is broken
If I was to tween the alpha of all the cubes very slowly to 1, once it reaches 1 the Z-Sorting is a lot more accurate but still results in Z-Sorting errors.
Also getting flickers of cubes behind other cubes when TweenLite the depth property of a cube.
D