Who can explain this problem that same code different in Air and Flashplayer?

Software: Away3D 4.x

Avatar
redfox2008cn, Newbie
Posted: 21 May 2012 12:08 PM   Total Posts: 21

The official Example In FlashPlayer and Air(ipad and android platform). water plane is transparent.
EveryThing is transparent!
The object3d can’t hide another object who is behind.
enviorment:
Air 3.3 3.2
<renderMode>direct</renderMode>
<depthAndStencil>direct</depthAndStencil>
or<depthAndStencil>false</depthAndStencil>

 

   

Avatar
redfox2008cn, Newbie
Posted: 21 May 2012 12:13 PM   Total Posts: 21   [ # 1 ]

my demo in flashplayer and air, the lines is behind the cylinders,but it doesn
‘t work in air,it looks like infront of the cylinders:

 

   

Avatar
redfox2008cn, Newbie
Posted: 21 May 2012 12:18 PM   Total Posts: 21   [ # 2 ]

another demo:

 

   

Avatar
redfox2008cn, Newbie
Posted: 21 May 2012 04:29 PM   Total Posts: 21   [ # 3 ]

I know the reason now.
in Air sdk 3.3 enviorment, you have to set depthAndStencil to false,or else there is an error:The depthAndStencil flag in the application descriptor must match .....
Air sdk 3.2 set depthAndStencil to true, it’s ok

 

   

marronnier, Newbie
Posted: 25 May 2012 06:17 AM   Total Posts: 17   [ # 4 ]

About depthAndStencil param - read post #17
forum/viewthread/1976/P15/#6243

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X