项目作者: justint

项目描述 :
Simple one-file OBJ file viewer.
高级语言: C++
项目地址: git://github.com/justint/obj-viewer.git
创建时间: 2017-11-16T02:02:03Z
项目社区:https://github.com/justint/obj-viewer

开源协议:MIT License

下载


obj-viewer

Build Status

obj-viewer

A simple one-file OBJ file viewer, written in C++ using OpenGL and GLUT.

Usage

$ obj-viewer bunny.obj

Use the arrow keys to move the camera around/zoom in. Press w to enable
wireframe render mode, and s to switch back to the single light diffuse +
specular light render mode.

I threw in the classic Stanford bunny file for demonstrational purposes, but most other simple OBJ files should work. If you find an OBJ file that breaks my code, let me know so I can improve it!