My buffergeometry disappears after moving the camera to close. You can also see that in drawcalls Three.js example that has TrackballControls
. In my case it\'s
I had a similar issue with BufferGeometry and while myMesh.frustrumCulled = false;
did solve the issue, so did myMesh.geometry.computeBoundingSphere();
Three.js thinks your object is outside the frustum. Add the line
linesMesh.frustumCulled = false;
and it should stop it from disappearing.
I suggest that you check your camera's .near
clipping parameter. Objects close to the camera will naturally be cut off.