LIBRENDER: Library for Rendering 3D Object Meshes to Depth Maps
This C++ code with MATLAB wrappers allows to render a 3D object mesh, specified by its vertices and triangular faces, to the image plane, yielding a depth map and a binary object mask. To use this software, the OpenGL libraries glu, glut and glew must be installed on the system and a GPU must be available. The code is known to work with the freeglut3 libraries, other glut implementations might not be supported. This code is based on Tianli's offscreen rendering software and has been used for generating stereo displets in Displets: Resolving Stereo Ambiguities using Object Knowledge (CVPR 2015).
Changelog
27.10.2014: Added the option to render wireframe models.
19.08.2014: Fixed another bug causing librender to yield wrong depth maps for flat fronto-parallel objects. Thanks to Moritz Menze for reporting!
11.08.2014: The library now also supports reading the RGB image buffer. Thanks to Jun Xie for integrating this feature!
09.05.2014: Fixed a bug causing librender to yield wrong depth maps for flat fronto-parallel objects. Thanks to Moritz Menze for reporting!
20.03.2014: Fixed a bug causing librender to crash on MacOS. Thanks to Varun Jampani for reporting!
@inproceedings{Guney2015CVPR,
author = {Fatma Güney and Andreas Geiger},
title = {Displets: Resolving Stereo Ambiguities using Object Knowledge}, booktitle = {Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2015}
}
@inproceedings{Geiger2015GCPR,
author = {Andreas Geiger and Chaohui Wang},
title = {Joint 3D Object and Layout Inference from a single RGB-D Image}, booktitle = {German Conference on Pattern Recognition (GCPR)},
year = {2015}
}