Camera API

Based on a tutorial originally created by Nate Robins.

Rendered Scene

What's Really Happening

Here is the function that sets up this camera:


In the above code, eye, up, and at are global variables that are each set to a THREE.Vector3 object and then modified by the setCameraView() function, which is defined as follows: