rayzor

annotate doc/sample.rzr @ 20:6b11a3f8706e

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