360 Commits

Author SHA1 Message Date
root
f750f3faeb adding setup.py file 2014-11-16 19:35:18 +01:00
Syoyo Fujita
c1ed13c36c Merge pull request #23 from Ododo/master
Python interface
2014-11-15 11:54:38 +09:00
root
878a6560cd fix makefile 2014-11-14 15:22:50 +01:00
root
80b243092b base of python module 2014-11-14 14:32:20 +01:00
Julian Simioni
b214cfb4b9 Fix unused variable warnings 2014-10-29 18:54:35 -07:00
Syoyo Fujita
b35f4989ad Add link to mallie. 2014-09-29 19:08:46 +09:00
Syoyo Fujita
957fa36e70 typo. 2014-09-14 19:52:44 +09:00
Syoyo Fujita
e4d4c65a17 Fix material ID assignment.
Fix build of example/obj_sticher.
2014-09-14 19:51:24 +09:00
Syoyo Fujita
cbba0a807e Initial support of multi-materials per group.
Introduce material_id attribute per face.
2014-09-13 23:49:25 +09:00
Mykhailo Parfeniuk
33cd9a4768 Added multiple materials per shape/object 2014-09-07 14:19:22 +03:00
Syoyo Fujita
8f7712c382 Merge pull request #17 from nyue/master
Added installation steps
2014-07-15 22:42:32 -07:00
Nicholas Yue
6dc2c6916e Added installation steps 2014-07-15 12:10:11 -07:00
Syoyo Fujita
79ac76c767 Add wercker status. 2014-07-11 19:07:45 +09:00
Syoyo Fujita
166677929d Add test run. 2014-07-11 19:05:26 +09:00
Syoyo Fujita
c2b53e59c6 Fix filepath in wercker.yml 2014-07-11 19:01:49 +09:00
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