1// This work is licensed under the Creative Commons Attribution 3.0 Unported License.
2// To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/
3// or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
4// California, 94041, USA.
5
6// Persistence Of Vision Raytracer sample file.
7// Created by Fabien Mosen - April 8 2001
8// This file demonstrates the use of a normal perturbation
9// on a camera.
10//
11// -w320 -h240
12// -w800 -h600 +a0.3
13// update to 3.7 by Friedrich A. Lohm�ller, Feb-2013
14
15#version 3.7;
16global_settings {assumed_gamma 1.0}
17
18#include "colors.inc"
19#include "camera-context.inc" //common file containing object definitions for the camera demos
20
21camera {
22        perspective //keyword is facultative in this case
23        location <50,10,30>
24        right    x*image_width/image_height
25        look_at <0,10,0>
26        angle 35
27        normal {crackle .1}
28        }
29
30box {<-15,0,-15>,<15,-1,15>
31     pigment {checker White,Gray90 scale 5}
32     finish {reflection {.1}}
33     }
34
35object {Cubes1 translate <5,0,-5>}
36object {Cubes2 translate <9,8,-6>}
37object {Cubes3 translate <-15,0,5>}
38object {Cubes4 translate <-10,0,-5>}
39
40sphere {<-2,3,14>,3 pigment {SteelBlue}
41        finish {phong .2 reflection {.3}}
42        }
43
44sky_sphere {pigment {rgb <0.859,0.910,0.831>}}
45
46light_source {<100,120,130> White*2}
47
48