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
d9679b512f
Fixed cppcheck warning, overwrite
2021-06-01 14:10:25 +02:00
Martin Marinov
061bd7ee6a
Fix a size_t to int cast warning
2020-05-13 02:14:14 +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
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
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
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
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
Martin
e6967dfe8b
reduced includes by means of static code analysis
2015-11-30 09:48:42 +01: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
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
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
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
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
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
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
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
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
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
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
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
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