Jan Möbius
11c55759f7
Updated and unified license headers
2023-03-01 13:03:33 +01:00
Jan Möbius
af7e7183be
Some cppcheck fixes
2023-02-28 12:20:22 +01:00
Max Lyon
4d76037397
Merge branch 'master' into lyonm/custom-property-writing
2023-02-06 16:50:37 +01:00
Max Lyon
e097a50a6e
only write custom properties if the Custom option is set
2023-02-06 10:10:59 +01:00
Martin Heistermann
d554a90d43
OBJWriter performance: Add map from color to material index, avoids quadratic performance
2022-08-29 18:28:04 +02:00
Martin Heistermann
b2bb6a32a7
Fix some "unused parameter" warnings.
2022-04-06 17:16:59 +02:00
Jan Möbius
7e670896a6
- added param 'texture_file' to the Options class, it specifies the path to the texture file
...
- added param 'material_file_extension' to the Options class, it specifies the material file suffix, default is ".mat" as it was before, we needed it becuase Blender expects ".mtl"
- removed default and copy constructor and destructor as well as assignment operator, because these are not necessary here, see https://en.cppreference.com/w/cpp/language/rule_of_three
(Thanks to Philipp Auersperg-Castell for the patch )
2022-03-07 10:30:52 +01:00
Jan Möbius
7c5363916d
Updated license header
2022-01-18 09:50:04 +01:00
Jan Möbius
4fc8d8bdc0
Merge branch 'cppcheck_fix' into 'master'
...
Cppcheck fix
See merge request OpenMesh/OpenMesh!306
2021-06-02 07:53:00 +00:00
Jan Möbius
d9679b512f
Fixed cppcheck warning, overwrite
2021-06-01 14:10:25 +02:00
Jan Möbius
48c2e464cb
PLY writer: Added option to choose if we want to write texture coordinates as uv or ply (Thanks to Ossi Saukko for the patch)
2021-06-01 12:47:22 +02:00
Alexandra Heuschling
d1cad96bfc
clean up code
2021-02-26 19:15:40 +01:00
Alexandra Heuschling
cc75d6a040
clean up code
2021-01-18 16:02:31 +01:00
Alexandra Heuschling
74132eff65
support now face coords for OM reader/writer
2021-01-13 14:15:08 +01:00
Alexandra Heuschling
1aa8e25bb8
fix indentation and add comments
2020-12-04 17:26:37 +01:00
Max Lyon
fcb7680610
use omlog instead of clog
2020-11-30 20:52:06 +01:00
Alexandra Heuschling
0b18560655
remove debugg output
2020-11-29 17:37:46 +01:00
Alexandra Heuschling
e81a771656
update version of OM file
2020-11-26 17:50:02 +01:00
Alexandra Heuschling
3f9bdce467
add check for types
2020-11-17 21:26:43 +01:00
Alexandra Heuschling
ede7dca790
Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties
...
# Conflicts:
# src/OpenMesh/Core/IO/writer/OMWriter.cc
2020-11-10 16:48:50 +01:00
Alexandra Heuschling
53e68c18a1
add function to OMReader, to be consistent with OMWriter
2020-11-10 16:43:34 +01:00
Max Lyon
4436f3299d
cast to pointers instead of references
2020-11-09 15:28:01 +01:00
Alexandra Heuschling
2d1ebf5a8c
implement two ways of finding out the type of property
2020-11-05 21:27:02 +01:00
Alexandra Heuschling
b50dafaf34
add enum PropertyType, so that properties can be restored from .om files
2020-11-05 20:03:51 +01:00
Martin Marinov
8ac6e07c43
Fix a bug where the OM format write code tries to access the second character in property names that have 0 or 1 characters. Also improve the code quality.
2020-06-08 16:37:19 +01:00
Martin Marinov
061bd7ee6a
Fix a size_t to int cast warning
2020-05-13 02:14:14 +01:00
Max Lyon
d1da33cd1d
write face normals as double
2020-02-10 09:19:09 +01:00
Max Lyon
63dd997489
let OMReader and OMWriter read and write double positions and normals
2020-02-05 22:13:36 +01:00
Max Lyon
ee752ce996
fix unsed variables in writers
2019-12-09 11:15:09 +01:00
Jan Möbius
669b1b789e
cppcheck
2019-05-29 08:32:28 +02:00
Jan Möbius
f468efacd0
cppcheck
2019-05-28 14:04:58 +02:00
Jan Möbius
87d2161c5d
cppcheck
2019-05-28 13:39:03 +02:00
Jan Möbius
bd0901caa8
overrides
2019-05-28 11:50:49 +02:00
Jan Möbius
3fbc166201
- PLY Reader/Writer: Support for face colors (Thanks to Steve and Barb Demlow for the patch)
2019-02-21 12:49:56 +01:00
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