1

I've created a scene of a huge spherical star field using units of lightyears and I want an orthographic camera positioned so it is looking at the origin and is viewing only 15 lightyears accross. I'm currently using the following code to construct the camera but the scene appears quite small and far away, I can see the entire star field:

new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, -500, 1000 );

How can I construct this camera to only show a close up section of the scene? (I'll worry about not rendering stars outside this view later)

Matt
  • 65
  • 2
  • 9
  • Duplicate of http://stackoverflow.com/questions/17558085/three-js-orthographic-camera – WestLangley Jul 12 '13 at 15:19
  • Thanks, I saw that question, but it's my first foray into 3D and I couldn't relate it to my particular problem. I was hoping that if I was more specific someone could suggest some constructor values to get me up and running. – Matt Jul 13 '13 at 11:25

0 Answers0