https://github.com/charlotte-visionlab/opengldepthrenderer
Packages for OpenGL depth and RGB rendering of 3D scenes.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.7%) to scientific vocabulary
Repository
Packages for OpenGL depth and RGB rendering of 3D scenes.
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
OpenGLDepthRenderer
To run the code you will need an OpenGL 4.5 compatible graphics card as I use a couple of recent OpenGL tricks. Specifically, to obtain reasonable depth accuracy across the floating point numeric gamut I am using glClipControl() which requires OpenGL 4.5. To address floating point depth quantization issues as discussed in this article describing important depth image precision considerations.
Dependencies
The code also requires the following:
glfw library which can be installed as libglfw-dev on ubuntu machines.
libpng library which can be installed as libpng-dev on ubuntu machines.
libxinerama-dev
libxcursor-dev
libxxf86m-dev
libglm-dev
libfreetype-dev
Programs in this repository
A successful compile run will generate (4) targets:
OpenGLModelRenderer - this program renders a scene and will show textures on surfaces for a more realistic world
OpenGLDepthRenderer - this program renders only the scene depth as a grayscale, it will look strange and unrealistic
ogl_depthrenderer - this program implements inverse Z depth rendering which makes important accuracy improvements in the OpenGL depth values.
oglMLdata_augmenter - this program is part of a research effort that generates 3D models and simulates their sensed depth images, RGB images and the correct class labels for the purposes of training ML algorithms to recognize these objects.
The output of the ogl_depthrenderer is the OBJ format surface mesh.
Compilation
Linux
From the root of the source folder try the following command sequence in a console:
git submodule update --init
mkdir build
cd build
cmake ..
make
If the compile process succeeds without error your binaries will be in the build/bin subfolder.
Interface
Note that the interface is barbarically simple. The window will steal the mouse focus.
IMPORTANT
To exit the program, Press the ESC key.
Owner
- Name: UNC Charlotte VisionLab
- Login: charlotte-visionlab
- Kind: organization
- Website: http://visionlab.charlotte.edu
- Repositories: 7
- Profile: https://github.com/charlotte-visionlab