Skip to content

prise-3d/vpbrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbrt viewer

Description

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.

How to use ?

Install dependencies

Example for Ubuntu:

mesa-utils libglm-dev freeglut3-dev

Build the project

mkdir build
cd build
cmake ..
make -j

Use generated binary

./vpbrt -f ./path/to/scene.pbrt 

Overview

Commands

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.

Contributors

License

The MIT license

Releases

No releases published

Packages

No packages published

Languages