Jan Möbius
f07a202d4c
Fixed cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@489 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:14:21 +00:00
Jan Möbius
4ffc00a6fc
Fixed one cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@488 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:13:08 +00:00
Jan Möbius
7c4273dd78
Fixed cppcheck warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@485 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 09:15:18 +00:00
Jan Möbius
a6328d0808
Fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@484 fdac6126-5c0c-442c-9429-916003d36597
2012-01-10 15:38:00 +00:00
Jan Möbius
43f44c480f
Fixed warnings of cppcheck
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@482 fdac6126-5c0c-442c-9429-916003d36597
2012-01-06 10:53:22 +00:00
Jan Möbius
73f5a1fe89
PLY Writer normal support (Thanks to Bruno Dutailly)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@478 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:55:24 +00:00
Jan Möbius
64f70809ad
Handle objs without faces(Thanks to Bruno Dutailly)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@476 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:23:29 +00:00
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
Jan Möbius
cc7141f28e
Use doxygen command to mark notes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@425 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 12:31:03 +00:00
Jan Möbius
efca170161
Document readers/writers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@420 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 09:59:18 +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
Mike Kremer
0b1206adca
Avoid unnecessary warnings about extra ";"
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@393 fdac6126-5c0c-442c-9429-916003d36597
2011-05-24 10:22:17 +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
Mike Kremer
a14aa7a2de
Avoid failure of file writing if face colors or face normals are requested for PLY files. We just skip these options at this point.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@347 fdac6126-5c0c-442c-9429-916003d36597
2010-11-23 17:36: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
bc0da8e58c
Added status flag for isolated geometry that results from vertex duplication (due to non-manifold configurations).
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@314 fdac6126-5c0c-442c-9429-916003d36597
2010-04-01 13:52:49 +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
Mike Kremer
ac7bb9f164
Corrected copy and paste error.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@268 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:07:21 +00:00
Mike Kremer
d6208a7544
Changed bitfield values of property enumeration.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@267 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:06:05 +00:00
Mike Kremer
3349b811d3
Changed bitfield values of property enumeration.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@266 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:04:20 +00:00
Mike Kremer
27f149ce05
Adapted copied comment.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@261 fdac6126-5c0c-442c-9429-916003d36597
2010-01-21 14:45:31 +00:00
Mike Kremer
77cfce2770
Edge colors are now supported as standard property.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@260 fdac6126-5c0c-442c-9429-916003d36597
2010-01-21 14:40:03 +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
Jan Möbius
5b41dd5030
Fixed windows build error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@229 fdac6126-5c0c-442c-9429-916003d36597
2009-11-18 15:39:22 +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
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