Commit Graph

95 Commits

Author SHA1 Message Date
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
0ee735dba2 - Use Fixed as stream option in OBJ writer to avoid problems with other programs reading scientific notation
closes #60
2018-12-10 10:32:10 +01:00
Max Lyon
f8b906c2d9 add function to access current writer version 2018-10-23 11:20:41 +02:00
Max Lyon
1e9e4d5922 fix copy paste bugs for status writing 2018-10-12 14:05:52 +02:00
Max Lyon
f9b39f21c7 implement status informationr reading and writing 2018-10-12 11:35:18 +02:00
Max Lyon
c0fa8fcdb0 store status slightly better 2018-08-08 14:01:01 +02:00
Max Lyon
a7264c89fb store status 2018-08-08 12:05:57 +02:00
Max Lyon
9bbc296ad0 fix wrong number of written bits for meshes with between 2^15 and 2^16 halfedges 2018-08-08 11:38:42 +02:00
Max Lyon
4142d5f4de fix warnings 2018-08-08 11:09:24 +02:00
Max Lyon
95fceb4545 write halfedge based mesh information to file 2018-08-08 10:58:13 +02:00
Max Lyon
3e4e954730 update om file format verision to 2.0 2018-08-08 10:54:46 +02:00
Jan Möbius
7765cef65a Fixed remaining cppcheck warnings and set max warnings to 0 2018-04-05 09:44:30 +02:00
Jan Möbius
76e33791e0 Fixed some cppcheck warnings 2018-04-05 09:08:44 +02:00
Jan Möbius
1cb02d946f Merge branch 'obj_exporter_fail_if_vertex_color_requested' into 'master'
obj exporter: fail if vertex color export was requested

See merge request OpenMesh/OpenMesh!150
2018-01-26 14:42:47 +01:00
Jan Möbius
0e3491ed88 obj exporter: fail if vertex color export was requested 2018-01-26 13:29:22 +01:00
Jan Möbius
2fb55bc26d Fix vertex texture coordinates export in OBJ exporter (Thanks to Manuel Massing for the patch) 2018-01-26 13:18:18 +01:00
Martin Schultz
b3417e5a88 applied fix for bad or missing vertex tex coords 2017-10-24 17:06:41 +02:00
Jan Möbius
da1ec03c6e OM Writer: Added Mark to the format header to identify end of stream correctly (Thanks to Jamie Kydd for the patch) 2016-12-27 08:10:10 +01:00
Jan Möbius
dc79c22a24 Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch) 2016-12-19 13:24:23 +01:00
Jan Möbius
3b0ee9316d Use static casts 2016-12-08 09:49:41 +01:00
Max Lyon
5cd9448a4e size_t int warning 2016-12-07 17:33:14 +01:00
Martin Schultz
80192d945b added code to write faceTexCoords to obj writer.
fixes #25
2016-06-29 16:58:59 +02:00
Jan Möbius
2822bb61a3 Add plain stl extension to stlwriter 2016-05-30 16:19:55 +02:00
Jan Möbius
6a045b5c5e Obj writer: Fix OBJ writer bug file extension removal (Thanks to Katharina Breininger for the patch)
(cherry picked from commit 4cfe75788a5374978555322c596ecdea9909516a)
2016-04-05 15:44:34 +02:00
Jan Möbius
44cb2ebc4d Fix OBJ material files and face color (Thanks to Sven-Kristofer Pilz for the patch) 2016-02-11 14:49:44 +01:00
Max Lyon
d0033f9966 fix crash in OMWriter when writing an empty mesh with colors 2015-12-14 11:55:28 +01:00
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01:00
Matthias Möller
2ef38f79d8 remove unnecessary c headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1333 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 10:36:32 +00:00
Matthias Möller
000c8ff18e fix use OM double_t instead of c standard
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1332 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:57:43 +00:00
Matthias Möller
fe86a44c1d add custom property (with pod data type) support for binary ply files
closes #2496

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1331 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:20:26 +00:00
Matthias Möller
e9290b468d remove redundant code
refs #2525

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1330 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:44:24 +00:00
Matthias Möller
0741377b89 remove redundant code
refs #2525

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1328 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:31:54 +00:00
Matthias Möller
e663fb9bac fix crash when saving a mesh and a custom property was removed before
extend unittest for this case

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1323 fdac6126-5c0c-442c-9429-916003d36597
2015-07-28 18:16:16 +00:00
Jan Möbius
43fdc506f2 Add a space after the solid keyword to make some readers happy.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1302 fdac6126-5c0c-442c-9429-916003d36597
2015-07-02 14:52:32 +00:00
Matthias Möller
a9315fdb58 - ply writer: add custom property support for ascii version
refs #2496
closes #2480

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1285 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 08:52:20 +00:00
Matthias Möller
ed3155284c - move iostream from header to source files.
- replace some iostreams to o/istreams only
- some minor include fixes

closes #2489

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1278 fdac6126-5c0c-442c-9429-916003d36597
2015-06-09 08:58:41 +00:00
Matthias Möller
beae0ffce3 extend "can_read" function. returns true, if no explicit filename is given, but just the extension.
closes #2431

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1260 fdac6126-5c0c-442c-9429-916003d36597
2015-05-06 14:08:32 +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
0a4c1dc206 Get rid of the old ACGMakeFiles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1253 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:35:09 +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
f1a9b3a871 Avoid std::endl in the writers to avoid flushing the output stream on every line. (Thanks to Roman Zoller for the hint).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1209 fdac6126-5c0c-442c-9429-916003d36597
2015-01-19 17:37:47 +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
208e753e89 remove excluding condition
Thanks to Javier Granado for the hint

closes #2247

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1114 fdac6126-5c0c-442c-9429-916003d36597
2014-07-25 09:13:33 +00:00
Jan Möbius
ff2053119e More cppcheck fixes in OM
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1075 fdac6126-5c0c-442c-9429-916003d36597
2014-05-30 10:15:12 +00:00
Jan Möbius
dfa030339b Silence cppcheck for now
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1055 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 13:11:11 +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
1d121ee8c7 Removed unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1001 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 08:06:08 +00:00
Jan Möbius
377bf721ac Added simple VTK writer writing only vertices and faces (Thanks to Vladimir Chalupecky for the code). closes #2039
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1000 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:18:21 +00:00
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