Test with spaces.
This commit is contained in:
parent
cab5ad5720
commit
b7b2a1417a
@ -27,6 +27,8 @@
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/texturedcube.obj" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/texturedcube.obj|testfiles/texturedcube.mtl" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/texturedcube.obj|testfiles/texturedcube.mtl|testfiles/texture.png" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/textured cube.obj|testfiles/textured cube.mtl|testfiles/texture with space.png" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/textured%20cube.obj|testfiles/textured%20cube.mtl|testfiles/texture%20with%20space.png" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/objects_ascii.stl" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/objects_binary.stl" width="200" height="200"></canvas>
|
||||
<canvas class="3dviewer" sourcefiles="testfiles/wrong.3ds" width="200" height="200"></canvas>
|
||||
|
||||
BIN
embeddable/testfiles/texture with space.png
Normal file
BIN
embeddable/testfiles/texture with space.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
10
embeddable/testfiles/textured cube.mtl
Normal file
10
embeddable/testfiles/textured cube.mtl
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
## Alias OBJ Material File
|
||||
# Exported from SketchUp, (c) 2000-2012 Trimble Navigation Limited
|
||||
|
||||
newmtl _1
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.439216 0.533333 0.392157
|
||||
Ks 0.330000 0.330000 0.330000
|
||||
map_Kd texture with space.png
|
||||
|
||||
48
embeddable/testfiles/textured cube.obj
Normal file
48
embeddable/testfiles/textured cube.obj
Normal file
@ -0,0 +1,48 @@
|
||||
# Alias OBJ Model File
|
||||
# Exported from SketchUp, (c) 2000-2012 Trimble Navigation Limited
|
||||
# File units = meters
|
||||
|
||||
mtllib textured cube.mtl
|
||||
|
||||
g Mesh1 Model
|
||||
|
||||
usemtl _1
|
||||
v 0 0 -0
|
||||
vt 0 0
|
||||
vn 0 -1 -0
|
||||
v 0 0 -1.67
|
||||
vt 0 1.67
|
||||
v 1.57 0 -1.67
|
||||
vt -1.57 1.67
|
||||
v 1.57 0 -0
|
||||
vt -1.57 0
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
|
||||
vt -1.67 0
|
||||
vn -1 0 -0
|
||||
v 0 1.61 -0
|
||||
vt 0 1.61
|
||||
v 0 1.61 -1.67
|
||||
vt -1.67 1.61
|
||||
f 2/5/2 1/1/2 5/6/2 6/7/2
|
||||
|
||||
vn 0 0 1
|
||||
vt 1.57 0
|
||||
v 1.57 1.61 -0
|
||||
vt 1.57 1.61
|
||||
f 1/1/3 4/8/3 7/9/3 5/6/3
|
||||
|
||||
vn 1 0 -0
|
||||
vt 1.67 0
|
||||
v 1.57 1.61 -1.67
|
||||
vt 1.67 1.61
|
||||
f 4/1/4 3/10/4 8/11/4 7/6/4
|
||||
|
||||
vn 0 0 -1
|
||||
vt -1.57 1.61
|
||||
f 3/4/5 2/1/5 6/6/5 8/12/5
|
||||
|
||||
vn 0 1 -0
|
||||
vt 1.57 1.67
|
||||
f 6/2/6 5/1/6 7/8/6 8/13/6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user