aboutsummaryrefslogtreecommitdiff
path: root/examples/viewer/README.md
diff options
context:
space:
mode:
authorJeff McGlynn <jwmcglynn@google.com>2017-11-16 17:40:22 -0800
committerJeff McGlynn <jwmcglynn@google.com>2017-11-16 17:40:22 -0800
commitd16a940067fbc191364fc1d3e2a2d907209c9320 (patch)
treef41c4b7a0660ee902ec007954d705c5659117219 /examples/viewer/README.md
parent2de00aa4ef5314cb202427175e85f1a9f9f8bd89 (diff)
parentb434c2497fcb52aa1497b84aa8aeb12bb590492d (diff)
downloadtinyobjloader-d16a940067fbc191364fc1d3e2a2d907209c9320.tar.gz
Diffstat (limited to 'examples/viewer/README.md')
-rw-r--r--examples/viewer/README.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/viewer/README.md b/examples/viewer/README.md
new file mode 100644
index 0000000..9cb032c
--- /dev/null
+++ b/examples/viewer/README.md
@@ -0,0 +1,42 @@
+# Simple .obj viewer with glew + glfw3 + OpenGL
+
+## Requirements
+
+* premake5
+* glfw3
+* glew
+
+## Build on MaCOSX
+
+Install glfw3 and glew using brew.
+Then,
+
+ $ premake5 gmake
+ $ make
+
+## Build on Linux
+
+Set `PKG_CONFIG_PATH` or Edit path to glfw3 and glew in `premake4.lua`
+
+Then,
+
+ $ premake5 gmake
+ $ make
+
+## Build on Windows.
+
+* Visual Studio 2013
+* Windows 64bit
+ * 32bit may work.
+
+Put glfw3 and glew library somewhere and replace include and lib path in `premake4.lua`
+
+Then,
+
+ > premake5.exe vs2013
+
+## TODO
+
+* [ ] Support per-face material.
+* [ ] Use shader-based GL rendering.
+* [ ] PBR shader support.