rayzor
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/doc/sample.rzr Sat Apr 12 23:37:55 2014 +0300 1.3 @@ -0,0 +1,61 @@ 1.4 +# vim:set ts=4 sw=4 sts=4 ai: 1.5 +scene { 1.6 + name = "test" 1.7 + 1.8 + material { 1.9 + name = "red" 1.10 + diffuse = [1, 0, 0] 1.11 + specular = [0.8, 0.8, 0.8] 1.12 + shininess = 32.0 1.13 + } 1.14 + 1.15 + material { 1.16 + name = "mirror" 1.17 + diffuse = [0.15 0.15 0.15] 1.18 + specular = [0.9 0.9 0.9] 1.19 + shininess = 60 1.20 + reflect = 0.9 1.21 + } 1.22 + 1.23 + object { 1.24 + name = "sph01" 1.25 + type = "sphere" 1.26 + material = "red" 1.27 + 1.28 + xform { position = [0, 1, 0] } 1.29 + } 1.30 + 1.31 + object { 1.32 + name = "box01" 1.33 + type = "box" 1.34 + material = "mirror" 1.35 + 1.36 + xform { scale = [3, 0.2, 3] } 1.37 + } 1.38 + 1.39 + light { 1.40 + name = "lt-prim" 1.41 + type = "point" 1.42 + color = [1, 0.95, 0.85] 1.43 + 1.44 + xform { position = [-10, 10, 10] } 1.45 + } 1.46 + 1.47 + light { 1.48 + name = "lt-sec" 1.49 + type = "point" 1.50 + color = [0.3, 0.4, 0.75] 1.51 + 1.52 + xform { position = [20, 10, 6] } 1.53 + } 1.54 + 1.55 + camera { 1.56 + name = "cam01" 1.57 + type = "lookat" 1.58 + fov = 50 1.59 + 1.60 + xform { position = [0, 5, 6] } 1.61 + 1.62 + target = [0, 0, 0] 1.63 + } 1.64 +}