Commit Graph

143 Commits

Author SHA1 Message Date
Jan Möbius
70c0123bfe PLY: add short/ushort support to readInteger. 2019-09-03 08:20:12 +02:00
Jan Möbius
d28df7edcb PLY: convert readInteger into a template 2019-09-03 08:18:41 +02:00
Jan Möbius
d91986fc30 PLY: add support for unsigned custom property length 2019-09-03 08:15:16 +02:00
Jan Möbius
b15e09d1d3 PLY-avoid-temporary-variable-and-push_back 2019-09-03 08:14:32 +02:00
Jan Möbius
bb2f923f33 PLY-remove-unused-readToFloatValue-member 2019-09-03 08:13:16 +02:00
Jan Möbius
417a460645 Fixed more clang warnings 2019-05-29 10:20:20 +02:00
Jan Möbius
8cffe1c3b9 cppcheck 2019-05-28 14:22:36 +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
32c952c871 PLY Reader: Fix reading doubles from PLY, missing cast (Thanks to Leo Walsh for the patch) 2019-05-15 09:34:09 +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
4c2c8f34c0 - PLY Reader: Fix file load for ASCII PLY without a newline at the end of the file (Thanks to Mathieu Lamarre for the patch )
closes #64
2019-02-04 08:52:41 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
f1001ce711 Fixed uninitialized warnings 2018-12-14 14:27:50 +01:00
Jan Möbius
56dc45f047 Fix PLY Reader hang when reading directly from istream (Thanks to Paul Loré for the patch)
closes #46
2018-11-27 14:34:35 +01:00
Max Lyon
87a2db3fe1 check version before trying to read file 2018-10-23 11:21:01 +02:00
Max Lyon
8ce8d8a623 reduce scope of variables 2018-10-12 15:16:33 +02:00
Max Lyon
ac5503d137 more implementation of status reading 2018-10-12 14:05:25 +02:00
Max Lyon
f9b39f21c7 implement status informationr reading and writing 2018-10-12 11:35:18 +02:00
Max Lyon
fcb68a2845 fix typo 2018-08-08 14:38:07 +02:00
Max Lyon
76607e4ec6 read meshes based on halfedge information 2018-08-08 10:59:51 +02:00
Jan Möbius
c68c630eab Prevent endless loop in PLY reader when unknown property types are read. 2018-06-18 13:16:33 +02:00
Jan Möbius
2b21fabfdd Allowing the PLY reader to read custom face ( Thanks to morgan Leborgne for the patch) 2018-05-29 15:16:37 +02:00
Jan Möbius
24a1eafc9a Fixed slow OBJ reader (Thanks to Etienne Danvoye for the patch)
Updated changelog
2018-05-29 07:42:01 +02:00
Jan Möbius
f308270716 Work around ptr_fun deprecation (Thanks to Andreas Fabri for the patch) 2018-04-18 08:41:41 +02:00
Jan Möbius
0441ba5fa8 Work around ptr_fun deprecation (Thanks to Andreas Fabri for the patch) 2018-04-18 08:41:17 +02:00
Jan Möbius
76e33791e0 Fixed some cppcheck warnings 2018-04-05 09:08:44 +02:00
Michael Krämer
c23ed24aa0 return error when reaching EOF, skip reading extra elements after 'FACE' 2017-02-03 18:54:01 +01:00
Michael Krämer
1ae04a2284 adding support for additional elements 2017-01-20 17:39:09 +01: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
b7aabbd912 Fixed some warnings 2016-10-24 14:01:06 +02:00
Max Limper
a6da330b41 resolved conflict 2016-10-02 11:55:23 +02:00
Jan Möbius
29ba85a7f0 Merge branch 'OBJ-loader-check-ranges' into 'master'
range check for vertex colors and normals in OBJ loader

This merge request adds explicit range checks and error reporting for the reading of colors and normals. The code is copied from texture coordinates, where a similar check already existed.

See merge request !92
2016-10-02 09:22:13 +02:00
Max Limper
782adb7b0a fixed handling of negative indices in OBJ loader 2016-10-01 20:31:16 +02:00
Max Limper
c577810d47 range check for vertex colors and normals in OBJ loader 2016-10-01 19:43:46 +02:00
Max Limper
d20d6a83e4 Fixed comment in OBJ loader 2016-10-01 18:21:18 +02:00
Max Limper
f53429fdeb Fixed broken indices for some cases of OBJ parsing by using two passes 2016-08-30 17:25:48 +02:00
Martin Schultz
2e6820a16b added binary stl file size check after ascii check 2016-08-16 15:06:19 +02:00
Martin Schultz
cc37345556 added include for cstring which should fix compile errors with c++11 and clang 2016-08-15 17:27:55 +02:00
Martin Schultz
fc04bac1a1 made the stl reader check for ascii file keyword instead of computing binary size 2016-08-15 17:14:25 +02:00
Jan Möbius
b4cea6008d Handle nr newlines 2016-05-30 16:12:38 +02:00
Jan Möbius
bca37d9653 Fixed binary reader errors in ply reader. (Thanks to Michael Kremer for the patch). 2016-05-17 13:15:29 +02:00
Jan Möbius
1c85080a1e - Updated changelog
- Always emit warning
2016-04-15 15:57:07 +02:00
Isaak Lim
6c6ce56c3c don't emit an error message for every face that could not be added (due to complex elements) 2016-04-15 14:01:11 +02:00
Alexander Dielen
04fc8dac85 Fixed CR LF newline handling for binary file headers. 2016-02-11 14:04:52 +01:00
Jan Möbius
13904a1516 Simplify reader 2016-01-06 14:26:06 +01:00
Martin Schultz
781063a3c6 * added texCoord3d functions to objloader
* added unittest for texcoords3d
* added texcoord3d support to baseimporter
2016-01-05 14:21:46 +01:00
Jan Möbius
585298cff2 2 missing includes of cstring 2015-11-30 12:20:59 +01:00
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01:00