545 Commits

Author SHA1 Message Date
Syoyo Fujita
9528a1ef75 Checkout premake4 from orebuildenv. 2014-07-11 18:58:34 +09:00
Syoyo Fujita
c1202c4ba4 Update wercker.yml 2014-07-11 18:45:24 +09:00
Syoyo Fujita
e88dd3d3a0 Validate wercker.yml 2014-07-11 18:41:01 +09:00
Syoyo Fujita
89b3ec9510 Add wercker file. 2014-07-11 18:34:24 +09:00
Mattias Harrysson
f72fb80ac9 fix compiler warnings 2014-06-02 20:52:44 +02:00
Syoyo Fujita
b96ee06bb6 Update README. 2014-05-18 00:50:59 +09:00
Narendra Umate
b45fbe6345 Fixed trim newline bugs. 2014-05-16 13:54:05 -04:00
E J Burns
9b4a9343a1 Fixed ior init. 2014-04-29 15:22:01 +01:00
Syoyo Fujita
69960487a3 Update README. 2014-04-29 22:51:11 +09:00
E J Burns
b89a46c417 Code Modified to remove use of C++11 features.
Tested compilation with VS2012, clang++ 3.4 and g++.
2014-04-29 13:36:09 +01:00
E J Burns
08ff49d2d0 Added a LoadObj function that reads from a std::istream.
+ Added a LoadObj function that reads from a std::istream.  This should allow
   more generic usage and possibly make testing a little easier.
   o This LoadObj accepts a function that returns a
     std::unique_ptr<std::istream> for a material.
 + Modified LoadMtl to read from a std::istream to allow more generic
   usage.
 + Modified test.cc to check that the changes work as expected and nothing was
   broken.

Tests:
 + Compiled test.cc, checked diff of output against pre change output.
   Same output where expected.
2014-04-28 20:26:03 +01:00
Syoyo Fujita
c33b0cf6cc Update README. 2014-04-21 19:24:22 +09:00
YarmUI
86b9c625db set default material 2014-04-21 19:14:06 +09:00
anton
2ce2af9d02 add missing includes
Signed-off-by: anton <haglundanton+github@gmail.com>
2014-04-18 17:52:06 +02:00
Syoyo Fujita
6b8e3900c6 Update README. 2014-04-10 16:51:35 +09:00
Matt Pharr
6372ccbef2 Add support for parsing 'illum' and 'd'/'Tr' statements. 2014-04-09 09:46:03 -07:00
Matt Pharr
665c129488 Fix small bug in obj_writer.cc (one too many "%f"s in format string). 2014-04-09 09:45:38 -07:00
Syoyo Fujita
7cd0643181 Update README. 2014-01-27 19:49:02 +09:00
Bradley Clemetson
89d5b69bee Added a Cmake build system configuration 2014-01-25 18:25:22 -08:00
Syoyo Fujita
89a5192702 Update readme. 2013-11-26 16:53:12 +09: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
Syoyo Fujita
d52efe044f Merge branch 'master' of https://github.com/caryanne/tinyobjloader 2013-11-15 21:31:11 +09: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
0d943a8a9d Fix texcoord export. 2013-09-13 00:58:48 +09:00
Syoyo Fujita
8cc26a6abb Emit facevarying position/normal/uv. 2013-09-13 00:52:33 +09:00
Syoyo Fujita
b55eafe0ac Update README. 2013-09-12 19:48:25 +09: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
e94b20c042 Update README. 2013-07-21 13:48:58 +09:00
Syoyo Fujita
5284dcb19f Parse multiple group name. Not yet finished fully though. 2013-06-29 13:00:22 +09:00
Syoyo Fujita
911187d9c3 Fix link once again... 2013-04-25 19:50:44 +09:00
Syoyo Fujita
ede38bb59e Add link to github pages. 2013-04-25 19:48:27 +09:00
Syoyo Fujita
f2a1a06834 Fix link. 2013-04-25 19:47:44 +09:00
Syoyo Fujita
f391a4184d Add rendering image sample. 2013-04-25 19:46:08 +09:00
Syoyo Fujita
1f39e09ef4 Add licensing term. 2013-04-25 17:12:48 +09:00
Syoyo Fujita
7c362f7dda Update README. 2013-04-25 17:05:53 +09:00
Syoyo Fujita
f48a06885b Update README. 2013-04-25 17:03:15 +09:00
Syoyo Fujita
6556411006 Add support of group tag('g') 2013-04-25 17:01:52 +09:00
Syoyo Fujita
07a52129a5 Update README. Add usage example. 2013-02-21 01:08:58 +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