htrace/scenes/cube/cube.sce

20 lines
463 B
Scilab
Raw Normal View History

2014-10-21 19:40:48 +00:00
# camera: eye, center, up, fovy, width, height
camera 5 2 5 0 0 0 0 1 0 45 500 500
2014-10-21 19:40:48 +00:00
# recursion depth
depth 1
# background color
background 1 1 1
# global ambient light
ambience 0.2 0.2 0.2
# light: position and color
light -1 10 -1 1.0 0.2 0.2
light 10 0 5 0.2 0.2 1.0
# mesh: filename, FLAT/SMOOTH, material
mesh cube.off FLAT 0.5 0.5 0.5 0.5 0.5 0.5 0.0 0.0 0.0 0.0 0.0
2014-12-01 11:27:34 +00:00
#mesh cube.off PHONG 0.5 0.5 0.5 0.5 0.5 0.5 0.0 0.0 0.0 0.0 0.0