Three.js buffergeometry disappears after moving camera to close -


my buffergeometry disappears after moving camera close. can see in drawcalls three.js example has trackballcontrols. in case it's alot worser. points disappear @ distance 0 400 , lines disappear @ distance 0 100. objects working fine simple geometry not buffergeometry. found out has centroid of buffergeometry. tryed use different camera's, change camera range , still doesn't work. how can stop objects disappear after moving camera?

update

got working adding linesmesh.frustumculled = false; , removing geometry.computeboundingsphere();. help.

three.js thinks object outside frustum.

add

            linesmesh.frustumculled = false; 

and should stop disappearing


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -