Simple object file (.obj) renderer in OpenGL using glm and glfw.
 
 
 
Go to file
Sean Hickey 637bb4532d fix controls part of the readme 2014-07-20 12:38:40 -04:00
objects initial commit 2014-07-14 18:53:24 -04:00
other_licenses/GenericMakefile initial commit 2014-07-14 18:53:24 -04:00
shaders initial commit 2014-07-14 18:53:24 -04:00
src Added vertical translation back in 2014-07-19 23:58:14 -04:00
LICENSE Add readme 2014-07-20 00:22:32 -04:00
Makefile Add git tagging info to Makefile so I don't have to look at the github page for it. 2014-07-14 18:56:05 -04:00
README.md fix controls part of the readme 2014-07-20 12:38:40 -04:00

README.md

ObjectLoader

ObjectLoader (obj-loader) is a simple program designed to render object files (.obj) using OpenGL 3.2, mainly so that I could learn the new OpenGL standard (it is very different from versions 1 and 2).

To compile, simply type 'make'.

usage:

$ obj-loader <file.obj>  

If no file is given, the screen will just be black. You can actually give it multiple .obj files, but I never implemented a way to move them around which means they'll all overlap each other. Loading one file was really all I wanted to do anyway....

This program depends on the following:
OpenGL 3.2+ (GL and GLEW)
glm (OpenGL Math library)
glfw (similar to GLUT, but newer. Creates the window and such)

Controls:

  • mouse to look around
  • wasd to move around
  • q and e to rotate
  • x and z to raise and lower

Created by Sean Hickey (Wisellama), 2014
Released to the Public Domain under the terms of the Unlicense

Note: I used the Generic Makefile for this project. It's a great way to quickly set up a C/C++ project quickly and know that the Makefile is correct. I also barely touched its real functionality. It's released under the MIT license which can be found in the "other_licenses" directory.