Commit Graph

1009 Commits

Author SHA1 Message Date
Jan Möbius
8092d73c0e More debug output 2023-02-27 15:08:44 +01:00
Jan Möbius
0db5d68a99 Merged master 2023-02-27 15:00:08 +01:00
Jan Möbius
bae6ee3c8c PLY reader/writer: Support for meshlab texture coordinates and ids in PLY IO (Thanks to Gregoire Grzeczkowicz for the patch) 2023-02-27 13:32:24 +01:00
Max Lyon
14c973f44b Write custom properties to file by default 2023-02-22 13:12:31 +01:00
Max Lyon
250210e262 Merge branch 'lyonm/custom-property-writing' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into lyonm/custom-property-writing 2023-02-22 11:59:18 +01:00
Max Lyon
133edfb517 clarify comment for Custom Option 2023-02-22 11:58:55 +01:00
Max Lyon
4d76037397 Merge branch 'master' into lyonm/custom-property-writing 2023-02-06 16:50:37 +01:00
Max Lyon
1f09627129 only read custom properties if the option includes Option::Custom 2023-02-06 16:50:05 +01:00
Max Lyon
e097a50a6e only write custom properties if the Custom option is set 2023-02-06 10:10:59 +01:00
Max Lyon
121ff40b19 in calc_normal for EdgeHandle average incident face normals instead of incident vertex normals 2022-11-23 11:37:36 +01:00
Martin Heistermann
de1b03bf02 Add missing include. 2022-10-13 15:08:08 +02:00
Martin Heistermann
d554a90d43 OBJWriter performance: Add map from color to material index, avoids quadratic performance 2022-08-29 18:28:04 +02:00
Max Lyon
7a5aa1835b use calc_face_normal if no normal property is available 2022-05-25 13:55:52 +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
6e17383b49 Removed some duplicate code 2022-02-23 13:27:46 +01:00
Jan Möbius
9202308922 Moved inl file to hh 2022-02-23 13:05:55 +01:00
Jan Möbius
3f2b96d73e Removed extra include directive 2022-02-23 10:07:08 +01:00
Jan Möbius
09267c3e3d Fixed win32 static part 2022-02-23 09:29:19 +01:00
Jan Möbius
777f58f75e Set include directories for tools and core per target and not globally 2022-02-23 09:14:33 +01:00
Jan Möbius
1122479e99 Removed globbing for compile files and headers in OpenMesh Core 2022-02-23 08:58:54 +01:00
Jan Möbius
25c6b34d0e Updated Version to 9.1 2022-01-18 14:34:43 +01:00
Jan Möbius
10426ff43d Added missing parameter documentation 2022-01-18 10:20:45 +01:00
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Jan Möbius
6f4d14374b Fixed Warnings in Normalcone Geometry 2022-01-17 15:56:53 +01:00
Jan Möbius
71a5f40ea8 Try to fix implicit operator= 2022-01-17 15:32:09 +01:00
Jan Möbius
3ed5534abd Merge branch 'FixBinaryWarnings' into 'master'
fix warnings in binary

See merge request OpenMesh/OpenMesh!312
2022-01-17 08:16:32 +00:00
Max Lyon
e989347184 fix warnings in binary 2022-01-14 17:20:43 +01:00
Jan Möbius
d74c7aa020 Fixed OBJ reader not reading materials which start with a leading space 2021-09-24 12:56:39 +02:00
Jan Möbius
fad00c8eb9 Revert "Fixed OBJ reader not reading materials which start with a leading space"
This reverts commit f5e5aa83b1.
2021-09-24 12:55:54 +02:00
Jan Möbius
f5e5aa83b1 Fixed OBJ reader not reading materials which start with a leading space 2021-09-24 11:10:47 +02: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
ee99f0bb04 Fixed cppcheck warning, variable shadowing 2021-06-01 14:03:05 +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
Jan Möbius
7bf1b94224 Fixed cppcheck warning 2021-04-27 12:25:24 +02:00
Jan Möbius
c6833ff28a Merge branch 'CustomProperties' into 'master'
Automatic loading of properties stored in files without having to manually create the property before reading.

See merge request OpenMesh/OpenMesh!302
2021-03-17 09:39:52 +00:00
Max Lyon
fa5166f878 fix getPointsProperty not always available in PolyMeshT_impl.hh 2021-03-16 18:55:41 +01:00
Max Lyon
90da974598 update which properties are registered 2021-03-16 12:16:37 +01:00
Max Lyon
d017c03c62 disable binary<std::vector<T>> specialization if T is not default constructible 2021-03-15 17:11:57 +01:00
Max Lyon
2a4fd0b887 rename string_for_value_type to type_identifier 2021-03-15 16:15:24 +01:00
Max Lyon
20baccda4c Remove Property specialization for std::string 2021-03-15 15:26:48 +01:00
Max Lyon
453b5eba67 fix size_of in binary<vector> 2021-03-15 14:15:37 +01:00
Max Lyon
7f6e86ff62 simplify how names for property types are generated 2021-03-15 14:15:18 +01:00
Max Lyon
39ba13266b remove binary specialization for vector of string 2021-03-15 13:55:43 +01:00
Max Lyon
d6e3226714 remove some debug output 2021-03-15 10:26:00 +01:00
Max Lyon
eb0ff0f980 Merge branch 'master' into CustomProperties 2021-03-15 09:53:00 +01:00
Alexandra Heuschling
06d770d1b4 add support for properties of std::vector<bool>... 2021-03-15 01:50:35 +01:00
Max Lyon
9b85f7713e make it so that CCW iter ranges are the reverse of CW iter ranges, i.e. they do not start with the same element anymore 2021-03-09 15:32:44 +01:00
Max Lyon
b2bcded8ec add access to cw and ccw ranges in SmartHandles 2021-03-09 10:57:17 +01:00