diff --git a/README.md b/README.md index 74bc8f8..3e6663b 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,15 @@ What's new Example ------- -![Rungholt](https://github.com/syoyo/tinyobjloader/blob/master/images/rungholt.jpg?raw=true) +![Rungholt](images/rungholt.jpg) tinyobjloader can successfully load 6M triangles Rungholt scene. http://graphics.cs.williams.edu/data/meshes.xml +![](images/sanmugel.png) + +* [examples/viewer/](examples/viewer) OpenGL .obj viewer + Use case -------- diff --git a/examples/viewer/viewer.cc b/examples/viewer/viewer.cc index 3160643..94153c8 100644 --- a/examples/viewer/viewer.cc +++ b/examples/viewer/viewer.cc @@ -198,7 +198,7 @@ void reshapeFunc(GLFWwindow* window, int w, int h) glViewport(0, 0, w, h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); - gluPerspective(45.0, (float)w / (float)h, 0.1f, 1000.0f); + gluPerspective(45.0, (float)w / (float)h, 0.01f, 100.0f); glMatrixMode(GL_MODELVIEW); glLoadIdentity();