OmniGibson/depth
fxia22 de55cd3b19 size + speed up request 2017-09-15 11:19:41 -07:00
..
common size + speed up request 2017-09-15 11:19:41 -07:00
depth_render size + speed up request 2017-09-15 11:19:41 -07:00
external fall back 2017-09-14 14:25:03 -07:00
.gitignore Read pose from file (loc + quaternion) 2017-09-14 19:14:33 -07:00
.hgignore Real time depth rendering using graphics engine. Build instructions will be added soon 2017-09-06 13:21:21 -07:00
BUILDING.txt Real time depth rendering using graphics engine. Build instructions will be added soon 2017-09-06 13:21:21 -07:00
CMakeLists.txt fall back 2017-09-14 14:25:03 -07:00
README.md merged with clean up 2017-09-14 10:42:21 -07:00
compare_img.py Use RTT shader to generate depth & mist pinhole images 2017-09-13 14:27:31 -07:00
parse_pose_rotation.py Use RTT shader to generate depth & mist pinhole images 2017-09-13 14:27:31 -07:00
posefile Use RTT shader to generate depth & mist pinhole images 2017-09-13 14:27:31 -07:00

README.md

Setting up the OpenGL depth renderer

All external libraries have been included. You only need CMake on your computer in order to build

Install

sudo apt-get install libzmq3-dev
sudo apt-get install libglew-dev
sudo apt-get install libglm-dev

Steps

Download models

cd {PROJECT_ROOT_PATH}/depth/depth_render
wget https://www.dropbox.com/s/qc6sqqua2r2ht4w/16b32add7aa946f283740b9c1c1646c0.obj
wget https://www.dropbox.com/s/w7qdbzmo6pp0466/Q97jUzc1wSS_HIGH.obj
wget https://www.dropbox.com/s/gs7vhmanjgao9vy/suzanne.obj

Compile C code (this might take a minute or two)

cd {PROJECT_ROOT_PATH}/depth
mkdir build && cd build
cmake ..
make

Run the code

./launch-depth_render.sh