This pbrt viewer allows the extraction of camera information relative to the current point of view of the scene. The rendering of the scene remains light (facets) to allow interactive navigation when using the viewer.
Example for Ubuntu:
mesa-utils libglm-dev freeglut3-dev
mkdir build
cd build
cmake ..
make -j
./vpbrt -f ./path/to/scene.pbrt
w/x: left/right translation
up: moving forward
down: move back
left: turn left
right: turn to the right
u/d: raise/lower head
=/+: go down/up
a/z: open/reduce the fov
t/T: reduce/increase the translation pitch
r/R: reduce/increase the rotation step
r/R: reduce/increase the rotation step
l/p: display in line/polygon mode
s/S: next/previous path
c: activate/deactivate visu pbrt cylinders
F2: saving the current position
q: leave
Note: current position is saved into camera_X.txt
file when using F2
.
- Main contributor: Christophe Renaud