Commit Graph

28 Commits

Author SHA1 Message Date
Chris Liebert
35889026d6 added additional bounds checking 2016-10-07 21:21:33 -07:00
Chris Liebert
e81ac971b0 Issue #74: Added basic diffuse texture support to examples/viewer using stb_image. The previously used color based on the normal is combined with the diffuse color from the material definition. 2016-10-07 20:58:04 -07:00
Syoyo Fujita
07852e206d Apply clang-format. 2016-08-12 23:12:46 +09:00
Syoyo Fujita
1983e889dc Update callback API example.
Update API document.
2016-07-28 16:21:48 +09:00
Syoyo Fujita
75e64cd47a Support parsing w element of vertex coordinate, and also third element of texture coordinates. Fixes #88. 2016-07-27 16:16:51 +09:00
Syoyo Fujita
d496d8eab6 Remove some invalid comments. Fix calling index_cb per f line. Fixes #87. 2016-07-27 00:02:53 +09:00
Syoyo Fujita
629f1825c5 Support retina resolution. 2016-05-29 16:30:54 +09:00
Syoyo Fujita
2d16510c15 Measure .obj parsing time. 2016-05-13 16:33:40 +09:00
Syoyo Fujita
1a4e018053 Merge branch 'develop' of github.com:syoyo/tinyobjloader into develop 2016-05-12 19:40:26 +09:00
Syoyo Fujita
d3fbf6bb7b Merge branch 'develop' of github.com:syoyo/tinyobjloader into develop 2016-05-12 19:38:48 +09:00
Syoyo Fujita
0a3d47fdad Update README. 2016-05-12 19:38:29 +09:00
Syoyo Fujita
73af05bc23 Add assertion check. 2016-05-12 19:33:22 +09:00
Syoyo Fujita
bbb6aeff6a Adjust near/far clipping value. 2016-05-12 02:57:41 +09:00
Syoyo Fujita
e9a7c76c23 Add build script for Windows.
Fix build on Windows.
2016-05-11 23:38:36 +09:00
unknown
7dc1418e2b viewer: Cleaned up Makefile and added a semblance of a Mingw64-target for Windows. 2016-04-26 19:42:42 +02:00
Syoyo Fujita
58fa260605 Show normal vector in viewer example. 2016-04-20 16:00:45 +09:00
Syoyo Fujita
7399aedfdd Initial support of linux for viewer example. 2016-04-19 20:34:51 +09:00
Syoyo Fujita
ec5df8a48f Merge branch 'develop' of github.com:syoyo/tinyobjloader into develop 2016-04-18 20:07:48 +09:00
Syoyo Fujita
1703ab087d Add simple OpenGL viewer example. 2016-04-18 20:07:04 +09:00
Syoyo Fujita
1e663342bf Add callback API example.
Fix a sentinel value for the vertex index.
2016-04-18 17:52:04 +09:00
Syoyo Fujita
e7e7eed616 Change API and handle no-mtl-file case correctly. Fixes #58. 2015-11-07 23:08:39 +09:00
Syoyo Fujita
276c7e151e Update drone.yml
Add Zup conversion in obj_writer.
2015-01-17 22:37:31 +09:00
Syoyo Fujita
e4d4c65a17 Fix material ID assignment.
Fix build of example/obj_sticher.
2014-09-14 19:51:24 +09:00
anton
2ce2af9d02 add missing includes
Signed-off-by: anton <haglundanton+github@gmail.com>
2014-04-18 17:52:06 +02: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
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
1544f0c865 Parse ior and transmittance of material parameter.
Add .obj sticher example.
2013-09-11 13:03:24 +09:00