rayzor

view doc/sample.rzr @ 13:964f8ea5f095

missed quite a lot of things in my last commit apparently
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 12 Apr 2014 23:37:55 +0300
parents
children
line source
1 # vim:set ts=4 sw=4 sts=4 ai:
2 scene {
3 name = "test"
5 material {
6 name = "red"
7 diffuse = [1, 0, 0]
8 specular = [0.8, 0.8, 0.8]
9 shininess = 32.0
10 }
12 material {
13 name = "mirror"
14 diffuse = [0.15 0.15 0.15]
15 specular = [0.9 0.9 0.9]
16 shininess = 60
17 reflect = 0.9
18 }
20 object {
21 name = "sph01"
22 type = "sphere"
23 material = "red"
25 xform { position = [0, 1, 0] }
26 }
28 object {
29 name = "box01"
30 type = "box"
31 material = "mirror"
33 xform { scale = [3, 0.2, 3] }
34 }
36 light {
37 name = "lt-prim"
38 type = "point"
39 color = [1, 0.95, 0.85]
41 xform { position = [-10, 10, 10] }
42 }
44 light {
45 name = "lt-sec"
46 type = "point"
47 color = [0.3, 0.4, 0.75]
49 xform { position = [20, 10, 6] }
50 }
52 camera {
53 name = "cam01"
54 type = "lookat"
55 fov = 50
57 xform { position = [0, 5, 6] }
59 target = [0, 0, 0]
60 }
61 }