Syoyo Fujita
4924857fd3
Add note on # of max threads.
2018-08-13 17:47:13 +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
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
2409832b24
Remove unused file.
2017-07-05 16:32:00 +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
9134c1d395
Add file size check.
2017-02-10 17:19:28 +09:00
Syoyo Fujita
d7f83f29f0
Fix for Windows platform.
2016-12-20 15:42:15 +09:00
Syoyo Fujita
60acd05a03
Add brief README.
2016-09-06 02:18:24 +09:00
Syoyo Fujita
4a18e241d9
Measure zstd decompress time.
2016-09-06 02:11:23 +09:00
Syoyo Fujita
1b88a1e3c7
Support reading .obj from ZStd compressed format.
2016-09-04 19:34:05 +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
319746d3db
Fix parsing benchmark flag.
2016-08-13 15:09:58 +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
156b47760d
Merge branch 'develop' of github.com:syoyo/tinyobjloader into develop
2016-08-12 20:40:16 +09:00
Syoyo Fujita
673501749f
Apply clang-format.
2016-08-12 20:39:42 +09:00
Syoyo Fujita
2ed3222bbe
Compute geometric normal where vertex normal is not available.
2016-08-12 18:58:34 +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
Syoyo Fujita
831a1a4b8d
Initial support of shape data structure and material ids.
2016-06-06 21:22:38 +09:00
Syoyo Fujita
4b9ef527c6
Parallelize merge.
2016-06-01 01:07:14 +09:00
Syoyo Fujita
5f4a557d69
Fix memory bug.
2016-05-25 19:48:25 +09:00
Syoyo Fujita
2c7ba7b2ab
Merge branch 'develop' of github.com:syoyo/tinyobjloader into develop
2016-05-25 19:06:42 +09:00
Syoyo Fujita
de79540879
Parse material name.
2016-05-24 13:37:13 +09:00
Syoyo Fujita
8880438c36
Optimzie face generation.
2016-05-24 12:58:31 +09:00
Syoyo Fujita
8c03771aac
Add ltalloc.
2016-05-19 15:05:57 +09:00
Syoyo Fujita
8205067928
Support loading .obj from gzip compression.
2016-05-16 01:24:52 +09:00
Syoyo Fujita
00251e9a5b
Remove Makefile.
2016-05-15 19:19:41 +09:00
Syoyo Fujita
54c28bd05f
Fix vertex_index creation.
2016-05-15 19:18:21 +09:00
Syoyo Fujita
d392282f02
Fix parser.
2016-05-15 18:49:06 +09:00
Syoyo Fujita
88fe2421d9
Add gl view for testing.
2016-05-15 17:46:59 +09:00
Syoyo Fujita
566d259df2
Specify # of threads.
2016-05-15 16:08:16 +09:00
Syoyo Fujita
654e686079
Optimized a bit.
2016-05-14 17:25:36 +09:00
Syoyo Fujita
bf626b5809
Mostly finished parallelized parsing of .obj. Still work in progress.
2016-05-14 16:53:55 +09:00
Syoyo Fujita
db62284cef
Optimized more.
2016-05-14 12:33:12 +09:00