/
staircase.cry
32 lines (31 loc) · 965 Bytes
/
staircase.cry
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
{
num_samples: 64,
camera: Perspective {
origin: Point(0, 2, -4.92),
target: Point(0, 2.5, 0),
up: Vector(0, 1, 0),
lens_radius: 0.001,
focal_distance: 3,
fov: 35,
film: {
width: 720,
height: 1280,
}
},
lights: [
Point { origin: Point(0, 2.25, -4.5), intensity: Color(0.3, 0.3, 0.3) }
],
materials: {
default: Matte { reflectance: Color(1, 1, 1), sigma: 0 }
},
shapes: {
light1: Disk { origin: Point(1, 5.5, 2.5), rotate_x: 60, rotate_y: 0, radius: 2 },
},
primitives: [
Shape { shape: 'light1', emittance: Color(5, 5, 5) },
// Model from https://blendswap.com/blend/14449. Exported from Blender
// and tweaked the material file to make the "Emission" material actually
// emissive
Mesh { file_name: 'objs/staircase/staircase.obj', fallback_material: 'default' },
]
}