toy-renderer
is a simple renderer to render a 3D object in various viewpoints. It's written in C++ and uses old OpenGL (Pre-OpenGL 3.0).
OpenCV
, OpenGL
, OpenMesh
, Boost C++
, GLUT
, GLEW
Using CMake
cd toy-renderer
mkdir build
cd build
cmake ..
make
Usage: toy-renderer <filelist.txt> <output_dir>
filelist.txt
contains a list of 3D object files (type of files must be supported by OpenMesh
e.g. OFF and OBJ are supported.)
Each 3D object will be rendered in multiple viewpoints and the rendered images will be written to output_dir/obj_filename/
.