Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.6 Z-Sorting bug since Version 3.5.2 #5

Open
DarceyLloyd opened this issue Jul 22, 2011 · 1 comment
Open

3.6 Z-Sorting bug since Version 3.5.2 #5

DarceyLloyd opened this issue Jul 22, 2011 · 1 comment

Comments

@DarceyLloyd
Copy link

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

@filipepratalima
Copy link

currently experiencing the same issues on 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants