Commit Graph

167 Commits

Author SHA1 Message Date
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
Jan Möbius
2fb72a9955 Added some documentation in obj writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@216 fdac6126-5c0c-442c-9429-916003d36597
2009-10-23 13:15:03 +00:00
Jan Möbius
cd986bc699 Fixes to obj writer
* Missing / when skipping texture coordinates 
* wrong identifier for vertex normals



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@215 fdac6126-5c0c-442c-9429-916003d36597
2009-10-23 12:57:37 +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
Jan Möbius
2a18de7b9b Fixed typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@191 fdac6126-5c0c-442c-9429-916003d36597
2009-08-11 06:32:28 +00:00
Mike Kremer
cccc1e3c09 Fixed empty template parameter issue under msvc.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@182 fdac6126-5c0c-442c-9429-916003d36597
2009-07-06 15:01:08 +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
5f451021f1 Fixed typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@140 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 09:23:04 +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
Mike Kremer
32e2bf226d Fixed 64-bit issue by truncating the 4 higher order bytes of size_t which is converted to unsigned long on 64 bit machines.
This guarantees compatability between 32 and 64 bit architectures but comes along with some restrictions in usage:

- OpenMesh won't be able to store data of type unsigned long (if necessary split data into two uints)
- OpenMesh won't be able to store data types whose size exceeds the unsigned integer value range (which
is theoretically possible on 64 bit machines). Theoretically...

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@127 fdac6126-5c0c-442c-9429-916003d36597
2009-05-18 12:14:02 +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