add unittest for textured meshes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1094 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
8
src/Unittests/TestFiles/square_material_texture.mtl
Normal file
8
src/Unittests/TestFiles/square_material_texture.mtl
Normal file
@@ -0,0 +1,8 @@
|
||||
newmtl Texture
|
||||
Ka 0.500 0.500 0.500
|
||||
Kd 0.500 0.500 0.500
|
||||
Ks 0.500 0.500 0.500
|
||||
Tr 1.000000
|
||||
illum 1
|
||||
Ns 0.000000
|
||||
map_Kd square_material_texture.jpg
|
||||
13
src/Unittests/TestFiles/square_material_texture.obj
Normal file
13
src/Unittests/TestFiles/square_material_texture.obj
Normal file
@@ -0,0 +1,13 @@
|
||||
mtllib square_material_texture.mtl
|
||||
|
||||
v 0.000000 2.000000 0.000000
|
||||
v 0.000000 0.000000 0.000000
|
||||
v 2.000000 0.000000 0.000000
|
||||
v 2.000000 2.000000 0.000000
|
||||
vt 0.000000 1.000000 0.000000
|
||||
vt 0.000000 0.000000 0.000000
|
||||
vt 1.000000 0.000000 0.000000
|
||||
vt 1.000000 1.000000 0.000000
|
||||
|
||||
usemtl Texture
|
||||
f 1/1 2/2 3/3 4/4
|
||||
Reference in New Issue
Block a user