Away3D Scene doesn’t display any polygons

Software: Away3D 4.x

andreahmed, Member
Posted: 26 September 2013 06:26 PM   Total Posts: 62

I have a strange and weird problem, I’m trying to port a papervision application to away3d. I have setup everything correctly, and I see that in the stats there are 4900 triangles are rendered, but I don’t see anything on the screen. I tried to change the camera and everything, but I still can’t see anything. The context is working and that’s why the stats has been rendered. I tried to render cylinders but they never appear, even I tried to use the hover controller, but still they can’t appear too. How would I debug more, or any suggestion would help ?

   

apalabrados, Newbie
Posted: 26 September 2013 06:33 PM   Total Posts: 13   [ # 1 ]

Paste some code. It will be most usefull to find out the issue.

   

Avatar
Fabrice Closier, Administrator
Posted: 26 September 2013 06:49 PM   Total Posts: 1265   [ # 2 ]

I have setup everything correctly…. looks like this statement is not 100% accurate smile

quick tips: set in enterframe. view.camera.lookAt(yourCylinder.position);
make sure the camera.lens.far is at least greater than the distance camera to cylinder. Set a white colormaterial or any color other than your background on the mesh.

   

andreahmed, Member
Posted: 26 September 2013 07:27 PM   Total Posts: 62   [ # 3 ]

I will do your tips thanks.
I tried to set the color of the view, it doesn’t even set :/.
I tried to draw a 2D rectangle over the view, it can be shown.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X