White screen after model loaded, on both android and iphone

Software: Away3D 4.x

kita, Newbie
Posted: 17 April 2012 04:35 AM   Total Posts: 2

4/14 16:08 ” all code are works good on emulator”

I try to debug the away3d example, the “Basic_Load3DS”,
before the mesh is load,the screen is red

// _context.clear(1, _backgroundG, _backgroundB, _backgroundAlpha, 1, 0, additionalClearMask);

that mean the content3D is good .

and then, add the mesh to view, the screen turns to a whole write shit.

nothing error is appear.

then, I try my own obj model,  not working.

try to add view.render() after when view3d added to stage, not working.

flare3d engine has the same problem.

then I try my own Content3D engine , using just 2d drawing, works!

so, it must be a model problem, when the model is add to view, contend3d turn to a whole write shit.

   

Avatar
Fabrice Closier, Administrator
Posted: 17 April 2012 09:26 AM   Total Posts: 1265   [ # 1 ]

so basically all stage3D content fails?
Are you sure your app descriptor is ok?

Are these set in your <initialWindow> node?

<renderMode>direct</renderMode>
<depthAndStencil>true</depthAndStencil>

   

kita, Newbie
Posted: 17 April 2012 01:05 PM   Total Posts: 2   [ # 2 ]

ths, Fabrice Closier, that works .

here is my step:

1.  install air 3.3 sdk to P:\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks AND P:\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\  (no sure which, so i did both)

2. in XXX-app.xml
change 3.1 to 3.3
<application>

add
<renderMode>direct</renderMode>
<depthAndStencil>true</depthAndStencil>

3. add

-swf-version=16

to compile argument


Done!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X