If I take the Three.js canvas_lines demo and replace the perspective camera with an orthographic one:
- camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 10000 );
+ camera = new THREE.OrthographicCamera(-window.innerWidth/2, window.innerWidth/2, -window.innerHeight/2, window.innerHeight/2, -100, 10000);
it causes the particles to no longer render, though the lines show up. Is this a bug in Three.js or in my understanding of orthographic projections?
Image of the particles before the change:
And after the switch to OrthographicCamera
:
(notice the particles missing and lines terminating in empty space)