mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-09-23 20:23:13 +08:00
33 lines
594 B
Markdown
33 lines
594 B
Markdown
Simple OpenGL viewer for glTF geometry.
|
|
|
|
## Requirements
|
|
|
|
* premake4 : Requires recent `premake4` for macosx and linux, `premake5` for windows.
|
|
* GLEW
|
|
* glfw3
|
|
|
|
### MacOSX and Linux
|
|
|
|
|
|
# optional. set pkg-config path to find glfw3
|
|
$ export PKG_CONFIG_PATH=/path/to/pkgconfig
|
|
|
|
> premake4 gmake
|
|
$ make
|
|
|
|
### Windows(not tested well)
|
|
|
|
Edit glew and glfw path in `premake4.lua`, then
|
|
|
|
> premake5.exe vs2013
|
|
|
|
Open .sln in Visual Studio 2013
|
|
|
|
When running .exe, glew and glfw dll must exist in the working directory.
|
|
|
|
## TODO
|
|
|
|
* [ ] PBR Material
|
|
* [ ] PBR Texture.
|
|
* [ ] Animation
|