I seem to have encountered a peculiar issue that may either be a bug in three.js or a result of my own error with curve handling.
In the scene I've created, there are several meshes (such as transparent cubes and small spheres) along with a line object (whether it's Line or LineSegments doesn't make a difference) based on buffer geometry. However, when I rotate the camera, the line object sometimes disappears from view as if it's being covered by another object. It appears to vanish when the start point is out of sight - even without any additional meshes - despite the majority of the line object remaining visible.
The main question here: Why does the line disappear and what can be done to prevent this behavior?
Here's a visual representation on a screencast:
For reference, take a look at this example showcasing the issue:
http://jsfiddle.net/exiara/sa4bxhc3/
You can observe how the line disappears during camera rotation.
The code snippet from the jsfiddle example:
var camera, controls, scene, renderer, dummy, projector,
stats, fps = 30, fpsTimeout = 1000 / fps,
linesGeometry,globalLine;
// Remaining code omitted for brevity...