Matt Pharr
6372ccbef2
Add support for parsing 'illum' and 'd'/'Tr' statements.
2014-04-09 09:46:03 -07:00
Sean Jones
7afab4ad56
Cppcheck suggested performance improvement
...
variables should be passed by reference.
They are passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
This gives a 9% performance boost in my project.
26.28s to load instead of 28.94s
2013-11-25 20:54:46 +00:00
caryanne
b17d15f5a0
added clearing of unknown parameters map
...
not doing so caused undefined behavior in objects with multiple
materials using custom parameters.
2013-11-14 16:51:06 -05:00
Syoyo Fujita
1544f0c865
Parse ior and transmittance of material parameter.
...
Add .obj sticher example.
2013-09-11 13:03:24 +09:00
Syoyo Fujita
5284dcb19f
Parse multiple group name. Not yet finished fully though.
2013-06-29 13:00:22 +09:00
Syoyo Fujita
6556411006
Add support of group tag('g')
2013-04-25 17:01:52 +09:00
Syoyo Fujita
3ae1bea017
Fix parsing triple.
2012-11-10 14:46:44 +09:00
Syoyo Fujita
c552dbc582
Fix texcoord array indexing.
2012-09-06 00:19:38 +09:00
Syoyo Fujita
04e2eccaa9
Fix build on linux.
2012-08-22 01:38:02 +09:00
YarmUI
fb35a684e5
bugfix
2012-08-21 18:46:10 +09:00
YarmUI
d62fdaf89d
update .mtl loader (Ke, Ns, map_Ka, map_Kd, map_Ks, map_Ns)
2012-08-21 18:35:37 +09:00
Syoyo Fujita
66528fbd6c
Add initial support for loading .mtl. Thanks githole for the patch!
2012-08-20 13:20:06 +09:00
Syoyo Fujita
cf78dd845b
Initial commit.
2012-08-19 14:36:48 +09:00