- fixed a bug with OBJReader that prevented the material color to be loaded correctly

- added a corresponding unittest

Thanks for the patch by Karthik Nathan

closes #1473

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@823 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Isaak Lim
2013-04-25 11:03:53 +00:00
parent 3d72b7dbc1
commit 83722b8e5f
4 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
mtllib square_material.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 Colored
f 1/1 2/2 3/3 4/4