GLOffView is a simple command line tool for viewing 3D images in .off files.
It was written in 2003 for a University assignment.
- Linux, Mac OS X (requires X Code and CLI tools).
- OpenGL, GLUT
- GCC or CLANG
$ git clone git://github.com/calebbrown/gloffview.git
$ make
$ ./gloffview -t examples/harley.off
-r {x|y|z} - rotation axis. the axis to rotate about
-f [n] - total frames to render, where 'n' is the number of frames
-w [n] - window width & height, where 'n' is the number of pixels
-a [n] - angle (degrees) to rotate the model per frame
-b - turn ON back face culling
-o {n|d|v} - optimisation mode. n = normal, no optimisation
d = use display lists
v = use vertex arrays
-t - track ball mode. Interactive rotation of the model.
'-r','-f','-w','-a' parameters have no effect when '-t'
is specified as a parameter.
-c [n] - clocked mode. Run for 'n' seconds and quit, displaying
fps information.
-d [n] - fps dump mode. Dump the fps every 'n' seconds.