init
This commit is contained in:
22
scenes/cube/cube.off
Normal file
22
scenes/cube/cube.off
Normal file
@ -0,0 +1,22 @@
|
||||
OFF
|
||||
8 12 0
|
||||
1 1 1
|
||||
-1 1 1
|
||||
-1 -1 1
|
||||
1 -1 1
|
||||
1 1 -1
|
||||
-1 1 -1
|
||||
-1 -1 -1
|
||||
1 -1 -1
|
||||
3 0 1 2
|
||||
3 0 2 3
|
||||
3 4 0 3
|
||||
3 4 3 7
|
||||
3 1 0 4
|
||||
3 1 4 5
|
||||
3 2 1 5
|
||||
3 2 5 6
|
||||
3 7 3 2
|
||||
3 7 2 6
|
||||
3 5 4 7
|
||||
3 5 7 6
|
BIN
scenes/cube/cube.png
Normal file
BIN
scenes/cube/cube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
19
scenes/cube/cube.sce
Normal file
19
scenes/cube/cube.sce
Normal file
@ -0,0 +1,19 @@
|
||||
# camera: eye, center, up, fovy, width, height
|
||||
camera 5 2 5 0 0 0 0 1 0 45 500 500
|
||||
|
||||
# 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
|
||||
#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
|
Reference in New Issue
Block a user