SOLVED: Z-sorting issue on Android

Software: Away3D 4.x

0L4F, Newbie
Posted: 04 October 2012 01:40 PM   Total Posts: 15

Hello all,

I’m in the process of porting some projects to AIR for Android, and on my test device (HTC Desire HD running Android 2.3.5) the Z-sorting of objects doesn’t seem right :(

I’ve attached a screenshot from my phone displaying a simple 3 x 3 x 3 cube grid. It looks like objects that are further away get rendered over the objects in front of them, as if Z-sorting is reversed.

What could be the cause of this issue?

Thanks in advance,

0L4F


- UPDATE -

Solved this issue by editing the application.xml file:

- changed <application xmlns> to target AIR 3.3.


and added this line after <renderMode>direct</renderMode>:

<depthAndStencil>true</depthAndStencil

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X