HoverController - As distance increases 3D objecs becomes invisible

Software: Away3D 4.x

kochumvk, Newbie
Posted: 09 July 2012 07:47 AM   Total Posts: 17

Hi To all away 3D users,

In my Away3D 4 Project, I am facing following issue:

as the distance property of HoverController increases beyond a level 3D objects/ mesh becomes invisible.

How can I fix this issue? I am pretty new to Away3D

   

mmix7, Newbie
Posted: 09 July 2012 07:52 AM   Total Posts: 9   [ # 1 ]

just an idea, probly not the reason, but figured id mention it.

Check the View3D.camera.lens.far, which will cull items out of range.

   

kochumvk, Newbie
Posted: 09 July 2012 08:36 AM   Total Posts: 17   [ # 2 ]

Thank you very much mmix7!!
That did the trick. My value was insufficient.

Is there any negative impact if I give a high value?

Thanks once again.

   

Avatar
Matse, Sr. Member
Posted: 09 July 2012 11:11 AM   Total Posts: 149   [ # 3 ]

It all depends on the size/scale of your world and objects.

A high value will obviously make culling happen at a greater distance. The difference between camera.lens.near and camera.lens.far is more important than just the “far” value.

If you have a camera.lens.near with a very small value and a camera.lens.far with a high value, you’re likely to have bad looking shadows for example. Not sure as I didn’t test but I guess it affects z-sorting too.

Typically you should always look for the best near and far settings : try to keep “near” as big as possible and “far” as small as possible smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X