forked from mmp/pbrt-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkilleroo-simple.pbrt
52 lines (42 loc) · 1.4 KB
/
killeroo-simple.pbrt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
LookAt 400 20 30 0 63 -110 0 0 1
Rotate -5 0 0 1
Camera "perspective" "float fov" [39]
Film "image"
"integer xresolution" [700] "integer yresolution" [700]
"string filename" "killeroo-simple.exr"
# zoom in by feet
# "integer xresolution" [1500] "integer yresolution" [1500]
# "float cropwindow" [ .34 .49 .67 .8 ]
Sampler "halton" "integer pixelsamples" [8]
Integrator "path"
WorldBegin
AttributeBegin
Material "matte" "color Kd" [0 0 0]
Translate 150 0 20
Translate 0 120 0
AreaLightSource "area" "color L" [2000 2000 2000] "integer nsamples" [8]
Shape "sphere" "float radius" [3]
AttributeEnd
AttributeBegin
Material "matte" "color Kd" [.5 .5 .8]
Translate 0 0 -140
Shape "trianglemesh" "point P" [ -1000 -1000 0 1000 -1000 0 1000 1000 0 -1000 1000 0 ]
"float uv" [ 0 0 5 0 5 5 0 5 ]
"integer indices" [ 0 1 2 2 3 0]
Shape "trianglemesh" "point P" [ -400 -1000 -1000 -400 1000 -1000 -400 1000 1000 -400 -1000 1000 ]
"float uv" [ 0 0 5 0 5 5 0 5 ]
"integer indices" [ 0 1 2 2 3 0]
AttributeEnd
AttributeBegin
Scale .5 .5 .5
Rotate -60 0 0 1
Material "plastic" "color Kd" [.4 .2 .2] "color Ks" [.5 .5 .5]
"float roughness" [.025]
Translate 100 200 -140
Include "geometry/killeroo.pbrt"
Material "plastic" "color Ks" [.3 .3 .3] "color Kd" [.4 .5 .4]
"float roughness" [.15]
Translate -200 0 0
Include "geometry/killeroo.pbrt"
AttributeEnd
WorldEnd