// set viewer's position in the scene camera { // (---camera types---) // perspective (default) | orthographic | fisheye | // ultra_wide_angle | omnimax | panoramic | cylinder 1 | spherical location <0.0, 1.0, -6.0> // position of camera direction 2.0*z // which way are we looking & zoom // sky y // for tilting the camera up y // which way is +up (aspect ratio with x) right x*image_width/image_height // which way is +right (aspect ratio with y) look_at <0.0, 0.0, 0.0> // point center of view at this point // angle 67 // overrides "direction" with specific angle // translate <0.0, 0.0, 0.0> // translates the camera // rotate<0,0,0> // rotates the camera // normal { ripples 0.2 } // perturb the camera lens with a pattern // (---focal blur extras---) // aperture 0.2 // [0...N] larger is narrower depth of field (blurrier) // blur_samples 4 // number of rays per pixel for sampling // focal_point <0,0,0> // point that is in focus // confidence 0.9 // [0...1] when to move on while sampling (smaller is less accurate) // variance 1/128 // [0...1] how precise to calculate (smaller is more accurate) // (---spherical camera---) // angle 360 // horizontal field of view (in degrees and...) // 180 // vertical field of view (...are aspect ratios) } // end of camera ---------------------------------------------------------------