Geometry clipping through the skybox

Software: Away3D 4.x

Drumbo, Newbie
Posted: 07 April 2012 03:50 PM   Total Posts: 17

Hello-

The SkyBox class seems to be ‘in world’, in that objects too far from the camera clip through it. Is this a bug, a feature, or should I be adding a skybox to a scene in a different way?

Right now I’m just using scene.addChild(skybox);

Thanks in advance.

   

Vice, Member
Posted: 07 April 2012 04:23 PM   Total Posts: 58   [ # 1 ]

var skyBox :  SkyBox = new SkyBox(cubeMap);
view3D.scene.addChild(skyBox);

and for clipping try to setup :

camera.lens.far and near

   

Drumbo, Newbie
Posted: 07 April 2012 04:45 PM   Total Posts: 17   [ # 2 ]

Extending the frustum with lens.far worked, thanks!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X