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
Syoyo Fujita
dcad3e6c50
Add per-face smoothing groupd ids to mesh_t.
...
Add unit test for smoothing groups.
2018-01-31 22:13:52 +09:00
Syoyo Fujita
2dfc37a475
Introduce face_t structure which stores per-face smoothing group and vertex indices.
2018-01-31 20:07:34 +09:00
Syoyo Fujita
9a6390cdee
Add padding.
2018-01-31 14:24:37 +09:00
gopalss
78c7c9011a
Fix for #29 Normal Generation by Smoothing Group Id - Commit 4
2018-01-30 10:55:10 -05:00
gopalss
1754669b07
Fix for #29 Normal Generation by Smoothing Group Id - Commit 3
2018-01-30 10:31:02 -05:00
gopalss
1f7b4a49c0
Fix for #29 Normal Generation by Smoothing Group Id - Commit 2
2018-01-30 09:51:16 -05:00
gopalss
15f47e2e35
Fix for #29 Normal Generation by Smoothing Group Id
2018-01-29 18:37:39 -05:00
Syoyo Fujita
12bf4165be
Fix assertion when there is no normal/texcoord assigned to the face. Fixes #161 .
...
Suppress clang warnings.
2018-01-29 13:41:33 +09:00
Syoyo Fujita
f206a56362
Merge pull request #160 from arosh/master
...
PR for open bounty test 2.
2018-01-17 01:56:07 +09:00
Sho Iizuka
13951d6459
Remove empty lines at EOF
2018-01-16 18:11:05 +09:00
Syoyo Fujita
5383e3400a
Merge pull request #156 from raspofabs/master
...
ear clipping using pnpoly algorithm
2018-01-15 17:26:11 +09:00
Richard Fabian
ac3c36ffda
increase the size of the epsilon to give better axis choice for triangulation
2018-01-14 18:53:20 +00:00
Richard Fabian
3b681805aa
fixed the bug where the wrong axis was selected for doing the pnpoly check
2018-01-14 16:45:59 +00:00
Richard Fabian
ca49183639
added ear clipping triangulation
2018-01-14 14:21:46 +00:00
Syoyo Fujita
b29d34f2e1
Merge pull request #154 from ogrex/master
...
Bugfix for multiple texture
2017-12-21 01:23:03 +09: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
b434c2497f
Update master URL.
2017-10-16 17:48:45 +09:00
Syoyo Fujita
94fc413466
Fix parsing of crease tags(t)
...
Support parsing texture filename containing whitespace.
2017-10-13 18:13:36 +09:00
Syoyo Fujita
1c6dbf9bd8
Merge branch 'master' of github.com:syoyo/tinyobjloader
2017-10-13 02:04:11 +09:00
Syoyo Fujita
88ad575f62
Initial support of parsing vertex color(extension format)
2017-10-12 19:04:38 +09:00
Syoyo Fujita
5cd30b70e0
Merge pull request #142 from Ododo/master
...
[Python] Fix mapping for #131 and compilation error #139 #132 (related)
2017-10-08 15:09:07 +09:00
Ododo
eb1f395101
Fix mapping for #131 and compilation error #139 #132 (related)
2017-10-08 04:00:14 +02:00
Syoyo Fujita
27bdd547f0
If you use tinyobjloader, please let us know via github issue!.
2017-09-25 02:36:15 +09:00
Syoyo Fujita
75a4bd1d35
Add zero-value check when parsing `f' line. Fixes #140 .
2017-09-25 02:30:24 +09:00
Syoyo Fujita
7c7335c907
Add test for parsing bump_multipler for normal map.
2017-09-15 16:34:31 +09:00
Syoyo Fujita
3a9483ca6f
Add regression test for issue 138.
2017-09-12 02:21:11 +09:00
Syoyo Fujita
1065d7cfb2
Change to add a shape when shape.mesh.indices.size() > 0 once g tag appears. Fixes #138 .
2017-09-12 02:18:27 +09:00
Syoyo Fujita
303043f9ec
Merge branch 'master' of github.com:syoyo/tinyobjloader
2017-09-11 15:08:39 +09:00
Syoyo Fujita
981f7c5f99
Add VFPR URL.
2017-09-11 14:58:40 +09:00
Syoyo Fujita
dcbc8d51aa
Update URL for Rungholt scene.
2017-09-03 12:45:57 +09:00
Syoyo Fujita
785af4491d
Add support for parsing map_Bump in mtl.
2017-08-20 18:30:54 +09:00
Syoyo Fujita
be46318a52
print some material infos.
2017-08-08 16:02:12 +09:00
Syoyo Fujita
b5961cd7b1
Merge pull request #133 from pmysiak/patch-1
...
Update README.md
2017-08-05 15:48:53 +09:00
Peter Myšiak
76632f80b3
Update README.md
...
Fix typo.
2017-08-04 12:11:36 +02:00
Syoyo Fujita
f59f93d7dc
Rename variables to avoid confusion. Fixes #108 .
2017-07-17 18:48:04 +09:00
Syoyo Fujita
1dfd117ccd
Add project URLs using tinyobjloader 1.0.x.
2017-07-17 18:40:42 +09:00
Syoyo Fujita
a86b78386b
Merge pull request #132 from chrisliebert/master
...
Added Python mapping from material ID to material name (#131 )
2017-07-17 17:21:39 +09:00
chrisliebert
e3508c3ca3
Added mapping from material index to to material name ( #131 ) to Python wrapper.
2017-07-17 01:07:40 -07: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
99518b6d3e
Suppress some clang warnings.
2017-06-05 02:00:32 +09:00
Syoyo Fujita
d8f702c6f7
Merge pull request #128 from sloretz/cppcheck_warnings
...
Fix Cppcheck warnings
2017-06-03 00:19:51 +09:00
Shane Loretz
6eca09f2bf
Removed double import of sstream
2017-06-02 07:31:19 -07:00