Syoyo Fujita
826a892d0b
Merge pull request #181 from vincentdm05/missing-data
...
Produce an error and return when indices and data dont match.
2018-08-17 16:12:36 +09:00
Vincent de Marignac
68350e2fc7
give respective warnings but allow partially correct data to be returned
2018-08-16 23:34:47 +03:00
Vincent de Marignac
7d20e9b901
use ternary op instead of max from omitted lib
2018-08-16 00:00:22 +03:00
Vincent de Marignac
fdc70abdc6
fix index comparison wrt array size
2018-08-15 23:41:35 +03:00
Vincent de Marignac
8a885e14b8
Produce an error and return when indices and data dont match.
2018-08-15 23:13:00 +03:00
Syoyo Fujita
cd65de860b
Merge branch 'master' of github.com:syoyo/tinyobjloader
2018-08-13 17:47:38 +09:00
Syoyo Fujita
4924857fd3
Add note on # of max threads.
2018-08-13 17:47:13 +09:00
Syoyo Fujita
1a7bdc6192
Parse multiple group names. Fixes #146
2018-08-11 15:21:17 +09:00
Syoyo Fujita
fd06fa49e4
Add unit test for parsing 'l'.
2018-07-25 21:42:23 +09:00
Syoyo Fujita
0d68262246
Fix buffer overrun when parsing 'l' line.
2018-07-25 16:24:40 +09:00
Syoyo Fujita
0e950513a3
Merge pull request #178 from ZKing1000/master
...
Added support for line paths.
2018-07-25 16:02:49 +09:00
Holden Green
a4b115a584
Hopefully fixed compiling error
2018-07-24 23:47:59 -07:00
Syoyo Fujita
bb3e27d4f3
Merge pull request #179 from mlimper/master
...
Fixed #177
2018-07-09 19:29:07 +09:00
Max Limper
c4e7e65acb
fixed #177 (explicit empty mtl base dir given)
2018-07-09 12:21:46 +02:00
Max Limper
eba327b9c0
make tester fail for issue 177 failing (explicit MTL base dir given by API user)
2018-07-09 12:19:33 +02:00
Holden Green
3cbf45a572
Non const
2018-07-04 22:13:39 -07:00
Holden Green
6650dbf397
Used swap in favor of move
2018-07-04 22:10:45 -07:00
Holden Green
7befd59de4
Removed comment
2018-07-04 21:59:56 -07:00
Holden Green
c5b3139653
Fixed comments
2018-07-04 21:46:42 -07:00
Holden Green
adb2309110
Removed print message.
2018-07-04 21:44:09 -07:00
Holden Green
3edca81a75
Added line paths.
2018-07-04 21:21:56 -07:00
Syoyo Fujita
7a88cddefc
Add unit test for issue 177.
2018-07-03 18:37:41 +02:00
Syoyo Fujita
d541711a79
Merge pull request #176 from silverweed/master
...
Ensure mtl_basedir ends with a directory separator
2018-06-02 00:18:54 +09:00
Syoyo Fujita
d1ce2082f6
Remove afl files since it fails to create file on Windows file system.
2018-06-02 00:15:18 +09:00
silverweed
8fd9f6e57b
ensure mtl_basedir ends with a directory separator
2018-06-01 12:02:38 +02:00
Syoyo Fujita
24bd8b49ff
Merge branch 'master' of github.com:syoyo/tinyobjloader
2018-05-31 16:34:01 +09:00
Syoyo Fujita
4a0e79985d
Bump version.
2018-05-31 16:29:14 +09:00
Syoyo Fujita
06f6139d1f
Limit # of tags when parsing SubD tag('t').
2018-05-31 16:25:39 +09:00
Syoyo Fujita
0c8db8ee23
Hardened implementation(fix some seg faults, out-of-bound access) found by fuzzer.
2018-05-31 15:49:56 +09:00
Syoyo Fujita
64d1e3f883
Merge pull request #170 from Neptilo/master
...
Fix bug that discarded some chunks.
2018-03-27 00:57:19 +09:00
Victor Ripplinger
a39a6b481c
Fix bug that discarded some chunks.
...
The OBJ loader was discarding the first line of a file
or a chunk following one that ends with a newline.
2018-03-26 16:28:13 +02:00
Syoyo Fujita
bce1bb8387
Merge branch 'master' of github.com:syoyo/tinyobjloader
2018-03-26 20:10:55 +09:00
Syoyo Fujita
7fcfafb39a
Fix compilation for double precision mode( Fixes #167 ).
2018-03-26 20:09:56 +09:00
Syoyo Fujita
5eda671225
Merge pull request #169 from LZaw/master
...
Adapt 1.0.x format
2018-03-10 00:03:35 +09:00
LZaw
f95510b04b
Removed multiplication for color_idx_offset
2018-03-09 13:57:18 +01:00
LZaw
94f1dc15b3
Update obj_sticher.cc
2018-03-09 13:48:05 +01:00
LZaw
a4eabf54b1
Adapt 1.0.x datastructure
2018-03-09 13:43:52 +01:00
Syoyo Fujita
72c38f64d5
Merge pull request #168 from LZaw/master
...
Adapt the v1.0.x data format to the WriteObj function
2018-03-09 00:57:27 +09:00
LZaw
d174e625a2
Update obj_writer.h
2018-03-08 15:58:39 +01:00
LZaw
707014f843
Update obj_writer.cc
2018-03-08 15:48:45 +01:00
LZaw
12837cc8b2
Adapt v 1.0.x
...
Added an attributes parameter
2018-03-08 15:47:06 +01:00
Syoyo Fujita
b85714b4cf
Skip parsing incomplete or invalid face definition(e.g. f definition only contains 1 or 2 indices).
2018-02-23 20:25:13 +09:00
Syoyo Fujita
e060b4f4aa
Remove unused variable.
2018-02-21 20:53:30 +09:00
Syoyo Fujita
2dca72724f
Merge pull request #165 from Neptilo/master
...
Fix bug in not assigning material id to faces
2018-02-21 20:01:23 +09:00
Victor Ripplinger
72529f02fe
Material ids were not assigned to faces if the
...
first face with this material was in another thread buffer than where
the usemtl command was
2018-02-21 11:36:36 +01:00
Syoyo Fujita
16f3041c76
Merge pull request #163 from Neptilo/master
...
Fix bug when line starts before a chunk and ends after it
2018-02-09 20:10:16 +09:00
Neptilo
73e9b4dc3a
Fix bug when line starts before a chunk and ends after it
...
When a line started in a chunk, the algorithm only looked for its end in the following chunk, but the end of the line may actually be located even further. Instead, in this commit we look for the next new line until the end of the whole buffer.
2018-02-09 11:46:43 +01:00
Syoyo Fujita
5113cd65cf
print smoothing group id.
2018-02-04 15:19:42 +09:00
Syoyo Fujita
65df7c4794
Add smooting group test .obj with two squares.
2018-02-04 14:16:14 +09:00
Syoyo Fujita
eaf8623e61
Fix build of viewer example.
...
Bump version.
2018-02-04 14:05:36 +09:00