Syoyo Fujita
e060b4f4aa
Remove unused variable.
2018-02-21 20:53:30 +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
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
ogrex
cb085d1fb6
fix multiple texture wrong id problem
2017-12-20 22:17:19 +09:00
ogrex
b38e97b7ec
trimming '\r' in material_file name
2017-12-20 22:13:58 +09:00
Syoyo Fujita
8e7da82852
Fix index calculation.
2017-07-10 01:41:39 +09:00
Syoyo Fujita
6cde18eb55
Fix ifdef guard.
2017-07-05 16:50:12 +09:00
Syoyo Fujita
95fba2ab32
Changed to use lfpAlloc from ltalloc for experimental multi-threaded .obj parser since ltalloc is not a porable(e.g. it does not support ARM archtecture).
2017-07-05 16:32:40 +09:00
Syoyo Fujita
d7f83f29f0
Fix for Windows platform.
2016-12-20 15:42:15 +09:00
Syoyo Fujita
646f1312f1
Parse 'Tf' field in MTL.
2016-08-18 16:13:27 +09:00
Syoyo Fujita
dea325cdcb
Fix face num calculation.
2016-08-13 19:27:13 +09:00
Syoyo Fujita
2b50b31657
Return parsed material information in parseObj API..
...
Parse PBR extension in MTL
2016-08-13 18:38:45 +09:00
Syoyo Fujita
110b49a0c8
Rename vertex_index struct.
2016-08-13 15:27:35 +09:00
Syoyo Fujita
2cb73fa85d
Fix the ordefing of a constructor call of vertex_index.
2016-08-13 02:52:36 +09:00
Syoyo Fujita
673501749f
Apply clang-format.
2016-08-12 20:39:42 +09:00
Syoyo Fujita
5ef400882a
Fix pow computation.
2016-07-15 13:25:44 +09:00
Syoyo Fujita
333bb55d84
Revert memcpy'ing input string into local buffer.
2016-07-15 02:01:50 +09:00
Syoyo Fujita
7d6318c3ad
Remove redundant & buggy memcpy.
...
Add verbose option.
2016-07-15 01:38:39 +09:00
Syoyo Fujita
164dcb8121
Refactor.
2016-06-11 19:34:12 +09:00
Syoyo Fujita
5fc9842e97
Refactor source code of optimized .obj parser.
2016-06-07 18:58:08 +09:00