Commit Graph

30 Commits

Author SHA1 Message Date
Jan Möbius
d361e5dbdc OBJ Reader support for vertex colors after vertices or Vertex colors as separate lines. (Thanks to Bruno Dutailly)
Added unittests for vertex colors



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@475 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:16:29 +00:00
Jan Möbius
a95789f417 Correct includes to build windows trim function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@470 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 11:46:16 +00:00
Jan Möbius
300b400a45 Disable trimming as it does not build on windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@469 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:57:28 +00:00
Jan Möbius
0e08dce166 More includes required for windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@468 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:50:42 +00:00
Jan Möbius
9942449614 More includes required for windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@467 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:45:40 +00:00
Jan Möbius
1b3c96b976 Added trim functions and use it in ply reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@466 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:38:24 +00:00
Jan Möbius
975b766aaa Support normals in ply format
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@463 fdac6126-5c0c-442c-9429-916003d36597
2011-11-25 15:08:38 +00:00
Mike Kremer
7f654f68fe Add empty mesh when reading empty stl file.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@399 fdac6126-5c0c-442c-9429-916003d36597
2011-07-13 15:10:37 +00:00
Jan Möbius
92d0d9b3b6 Fixed crash in OFF Reader with empty lines (Thanks to R.Schneider for the fix)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@395 fdac6126-5c0c-442c-9429-916003d36597
2011-06-15 06:41:52 +00:00
Mike Kremer
c1017f5a08 Avoid compiler error because of extra comma
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@394 fdac6126-5c0c-442c-9429-916003d36597
2011-06-02 13:33:49 +00:00
Jan Möbius
4fdd4c2adc Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@362 fdac6126-5c0c-442c-9429-916003d36597
2011-01-26 09:21:12 +00:00
Jan Möbius
154d1b31ba Read diffuse colors from vertices in ply
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@345 fdac6126-5c0c-442c-9429-916003d36597
2010-11-18 07:20:06 +00:00
Jan Möbius
34141f8d9a Changed license Header to 2010
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@325 fdac6126-5c0c-442c-9429-916003d36597
2010-06-17 10:45:58 +00:00
Mike Kremer
0922b1bd03 Suggesting a slightly more readable representation of a tab...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@272 fdac6126-5c0c-442c-9429-916003d36597
2010-02-23 12:15:05 +00:00
Mike Kremer
12638100b0 OBJReader: Fixed error with some material files containing tabs.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@271 fdac6126-5c0c-442c-9429-916003d36597
2010-02-23 12:04:15 +00:00
Jan Möbius
658c8ec12f Workaround isspace problem
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@259 fdac6126-5c0c-442c-9429-916003d36597
2010-01-07 16:34:44 +00:00
Jan Möbius
9da1a2c1a7 Fixed crash in offreader with dos line endings. (Thanks to
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@257 fdac6126-5c0c-442c-9429-916003d36597
2010-01-04 12:02:09 +00:00
Mike Kremer
2e70d5eefb Updated PLY-reader such that unsupported properties will now be handled in both binary and ascii mode. Special thanks to Michal Nociar for sending in this patch!
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@250 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 10:31:37 +00:00
Mike Kremer
4ccb771244 Converted all tabs into 4 whitespaces.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@249 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 10:26:25 +00:00
Mike Kremer
efa67fbcfc Commit of the debugged version of Alex' improvement to OpenMesh. File i/o is now done via istream/ostream instances such that direct buffer writing to files (serialization) will also be possible in future releases.
Code is tested.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@221 fdac6126-5c0c-442c-9429-916003d36597
2009-11-17 13:54:16 +00:00
Martin Habbecke
fb589df009 * fixed OBJ reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@193 fdac6126-5c0c-442c-9429-916003d36597
2009-08-31 07:35:20 +00:00
Mike Kremer
bcd590e1b3 PLY format now supports texture coordinates (actually written/read per vertex and not per face (halfedge))
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@158 fdac6126-5c0c-442c-9429-916003d36597
2009-06-12 12:46:12 +00:00
Mike Kremer
d1bd070c35 Fixed issue with PLYReader:
Unsupported properties in ply-file will now be skipped instead of read as x-coordinates.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@157 fdac6126-5c0c-442c-9429-916003d36597
2009-06-09 15:47:49 +00:00
Jan Möbius
5246b77da6 Updated License to LGPL3 with additional template and macro exceptions
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@137 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 08:46:29 +00:00
Jan Möbius
7215846f21 Removed warnings in PLY Reader ( Thanks to Ilya A. Kriveshko)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@128 fdac6126-5c0c-442c-9429-916003d36597
2009-05-19 14:10:04 +00:00
Jan Möbius
e72ed3b274 Fixed obj reader for negative texture index and normals
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@126 fdac6126-5c0c-442c-9429-916003d36597
2009-05-13 06:05:43 +00:00
Jan Möbius
2003f2a95e OBJ Reader:
catch invalid face handle when setting textures
Dont add path to texture names/parameters string


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@125 fdac6126-5c0c-442c-9429-916003d36597
2009-05-12 14:58:21 +00:00
Jan Möbius
2bc737b798 Improved reader for textureMaps. Now ignoring empty testure definitions.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@124 fdac6126-5c0c-442c-9429-916003d36597
2009-05-11 12:00:25 +00:00
Jan Möbius
f4a367fd90 Fixed uchar read of ply reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@119 fdac6126-5c0c-442c-9429-916003d36597
2009-05-04 11:53:22 +00:00
Jan Möbius
ea844d6788 Changed OpenMesh directory structure
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@106 fdac6126-5c0c-442c-9429-916003d36597
2009-04-30 12:41:50 +00:00