Jan Möbius
383b75b20b
Fixed material writer using wrong stream (Thanks to Vladimir Chalupecky for the fix). closes #2037
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@999 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:15:27 +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
Matthias Möller
38599251b3
- fix om writer with colors
...
- more om unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@948 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 15:00:59 +00:00
Jan Möbius
f37ee2d46b
Fixed 2 more warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@944 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 12:03:51 +00:00
Jan Möbius
5822351444
Removed unused code
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@943 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 11:34:24 +00:00
Jan Möbius
5cd4bc0444
cppcheck warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@941 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 10:00:59 +00:00
Jan Möbius
721a2cbb84
Fixed regression and Problem in OM writer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 08:01:44 +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
49125a05d7
close stl files with endsolid
...
refs #1713
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@900 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:15:53 +00:00
Hans-Christian Ebke
ab74a62b3e
Fixed OBJWriter precision bug.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@881 fdac6126-5c0c-442c-9429-916003d36597
2013-07-30 08:43:40 +00:00
Jan Möbius
ea0b3cc511
size_t fixes in OM writer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@859 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:52:14 +00:00
Jan Möbius
13420acfd0
STL Writer conversion fixes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@856 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:37:27 +00:00
Jan Möbius
b18b79a183
OBJ Wrtier conversion fixes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@855 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:36:26 +00:00
Jan Möbius
3102340852
Silence more warnings in OFF PLY and STL writer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@845 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:03:45 +00:00
Jan Möbius
68c881c0d1
Fix casts in OBJ Writer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@844 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 13:46:43 +00:00
Isaak Lim
c15f0f60f5
- fixed writing face indices in different configurations regarding vertex texture coordinates and vertex normals
...
- adjusted the intial patch provided by Robert Luo
refs #1560
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@824 fdac6126-5c0c-442c-9429-916003d36597
2013-05-16 11:11:41 +00:00
Isaak Lim
837c866abb
- added color float support for the OM OFF reader/writer
...
- added corresponding unittests
- small fix for the PLY writer
Note that for reading binary OFF files with color floats, the user has to set the flag, that floats are expected
closes #1410
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@818 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 16:36:20 +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
951aa17bd9
- added color_cast from Vec4f to Vec4i and Vec4ui
...
- added colori and colorAi functions to BaseExporter which return Vec3i and Vec4i respectively
- adjusted the PLYWriter to use colori and colorAi for writing ascii files
refs #1405
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@815 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 13:25:42 +00:00
Isaak Lim
708af7068f
patch from a generous contributor for the OpenMesh PLY writer works as expected
...
refs #1405
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@811 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 12:52:19 +00:00
Jan Möbius
6ba9774194
Fixed various warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@803 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 17:17:01 +00:00
Isaak Lim
176dab0a80
only set precision for writers that write ascii
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@749 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 14:46:52 +00:00
Isaak Lim
d370b6e06c
- added some documentation to the BaseWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@747 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:42:13 +00:00
Isaak Lim
fc7acde663
- added precision option to openmesh writers
...
refs #1075
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@746 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:28:14 +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
Isaak Lim
10b271fb56
- added functionaliy for the STLWriter to also write to ostreams
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@705 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:18:43 +00:00
Mike Kremer
5834e277f7
- add dll export macros
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@699 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 10:10:22 +00:00
Jan Möbius
a1340983b1
Export reader and writer symbols to dll
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@695 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:49:46 +00:00
Jan Möbius
46ab02296e
Fix: OM Reader used different types on 32/64-bit systems. (Thanks to Martin Bayer for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@620 fdac6126-5c0c-442c-9429-916003d36597
2012-07-17 10:13:27 +00:00
Mike Kremer
94804e95f7
Write color property as correct data type to file. Closes #262 .
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@529 fdac6126-5c0c-442c-9429-916003d36597
2012-01-24 12:22:27 +00:00
Jan Möbius
66d89e707f
Output written bytes to log in OMWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@495 fdac6126-5c0c-442c-9429-916003d36597
2012-01-13 15:01:55 +00:00
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
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
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
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
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
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
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
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