Camera direction

We haven’t moved the camera at all in this tutorial, but you can put the camera wherever you want. For example, if you want to be on the surface of your planet looking up at the moon, replace the current camera section with:

//camera is on the surface looking out

camera {

location <-2, 0, 0>

look_at <-5, -3, 2>


image 37

Moving the camera can often be useful to track down problems with your scenes, or simply to gain a new perspective.