Commit Graph

34 Commits

Author SHA1 Message Date
Matthias Möller
d8d26b7c18 ply ascii reader:
- add read support for custom list properties (vertices and faces)


closes #2370

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1268 fdac6126-5c0c-442c-9429-916003d36597
2015-05-18 11:52:18 +00:00
Jan Möbius
fd4bcb39ea Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d Fixed bad typo in comment
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
83486e0b5f Relicense to BSD
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Matthias Möller
9680df9f63 add custom property support for PLY reader ASCII version
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1181 fdac6126-5c0c-442c-9429-916003d36597
2014-10-24 08:52:07 +00:00
Jan Möbius
24bd7be273 Fixed several unused variables
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1150 fdac6126-5c0c-442c-9429-916003d36597
2014-08-29 08:28:47 +00:00
Jan Möbius
5104bf5c42 Silence most readers/writers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1053 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:44:18 +00:00
Jan Möbius
48f18d6410 PLY Reader Fix: locking up when loading some binary files ( Thanks to Peter Newman for the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1042 fdac6126-5c0c-442c-9429-916003d36597
2014-05-07 11:43:53 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Matthias Möller
bdf48be7fe type conversion
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@880 fdac6126-5c0c-442c-9429-916003d36597
2013-07-26 15:49:14 +00:00
Isaak Lim
57b3908771 - the OM PLY writer and reader can now also handle color floats
- added corresponding unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@817 fdac6126-5c0c-442c-9429-916003d36597
2013-03-01 15:32:46 +00:00
Isaak Lim
b409f83040 - the PLY reader now checks the options set by the user and will skip components that are not requested
- modified the loading unittest to test this behavior

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@741 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 11:44:29 +00:00
Jan Möbius
f3312397a5 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Jan Möbius
704fffc423 Fixed more size_t warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@559 fdac6126-5c0c-442c-9429-916003d36597
2012-03-20 09:32:02 +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
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
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
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
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
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
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
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