Две коробки

This commit is contained in:
parent ff723035a2
commit adb7941831
4 changed files with 73 additions and 0 deletions

21
models/cubes.mtl Normal file
View File

@ -0,0 +1,21 @@
# WaveFront *.mtl file (generated by Cinema 4D)
newmtl WOOD
Ka 1 1 1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd box_wood.png
Ks 0.80000001192093 0.80000001192093 0.80000001192093
Ns 0
Pr 0.3
Pm 1
illum 7
newmtl GREEN
Ka 1 1 1
Kd 1 1 1
map_Kd box_green.png
Ks 0.80000001192093 0.80000001192093 0.80000001192093
Ns 0
Pr 0.3
Pm 1
illum 7

52
models/cubes.obj Normal file
View File

@ -0,0 +1,52 @@
# WaveFront *.obj file (generated by Cinema 4D)
mtllib ./cubes.mtl
v -2.521611 -1.992849 11.068427
v -2.521611 1.992849 11.068427
v -2.685022 -1.992849 15.050775
v -2.685022 1.992849 15.050775
v -6.667370 -1.992849 14.887364
v -6.667370 1.992849 14.887364
v -6.503959 -1.992849 10.905016
v -6.503959 1.992849 10.905016
v 6.6673701 -1.992849 11.445485
v 6.6673701 1.992849 11.445485
v 6.5039596 -1.992849 15.427833
v 6.5039596 1.992849 15.427833
v 2.5216117 -1.992849 15.264422
v 2.5216117 1.992849 15.264422
v 2.6850222 -1.992849 11.282074
v 2.6850222 1.992849 11.282074
# 16 vertices
vn 0.999156 0.000000 -0.040969
vn -0.040969 0.000000 -0.999156
vn -0.999156 0.000000 0.040969
vn 0.040969 0.000000 0.999156
vn 0.000000 1.000000 0.000000
vn 0.000000 -1.000000 0.000000
# 6 normals
vt 0.000000 0.000000 0.000000
vt 0.000000 1.000000 0.000000
vt 1.000000 1.000000 0.000000
vt 1.000000 0.000000 0.000000
# 4 texture coordinates
g Default
usemtl WOOD
f 3/1/1 4/2/1 2/3/1 1/4/1
f 5/1/2 6/2/2 4/3/2 3/4/2
f 7/1/3 8/2/3 6/3/3 5/4/3
f 1/1/4 2/2/4 8/3/4 7/4/4
f 4/1/5 6/2/5 8/3/5 2/4/5
f 5/1/6 3/2/6 1/3/6 7/4/6
usemtl GREEN
f 11/1/1 12/2/1 10/3/1 9/4/1
f 13/1/2 14/2/2 12/3/2 11/4/2
f 15/1/3 16/2/3 14/3/3 13/4/3
f 9/1/4 10/2/4 16/3/4 15/4/4
f 12/1/5 14/2/5 16/3/5 10/4/5
f 13/1/6 11/2/6 9/3/6 15/4/6

BIN
textures/box_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
textures/box_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB