Skip to content

gabrielalmeida/3d_multilayer_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print

A simple C++ QT-based 3D viewer for height maps.

NOTE: This is an unmaintained college project version. A stable version will be released someday under 4Dmv name.


Example usage:

  1. Compile and run it using qmake 5+
  2. File > Open > /examples/example_1/example_1.v3d
  3. Change layer colors/camera positions
  4. Record a video from view trough ffmpeg

The program will read the data on the files and display it on the screen. You should see something similar to this:

print

Observe the files at /examples to understand how to include your own layers.


Controls

Key Effect
Ctrl+O Open new file(.v3d)
Ctrl+S Save current file
Arrow Up/Arrow Down Increase/decrease camera inclination
Arrow Left/Arrow Right Rotate camera
Shift+Pad/Wheel Move around
W Move forward
A Move left
S Move back
D Move right
Z Toggle axis
X Toggle guides
U/I Back/Advance LayerSet
Keys 1 to 9 Hide/Show Layer N
HorizontalPad Change Slider position
J/K/Wheel/VerticalPad Zoom in/out

Generate Video Custom Script

Create a text file with own ffmpeg commands, accordingly to this syntax:

Pattern Equivalent
%1 Images path(location where images used to generate video are stored)
%2 Save to path(path selected at user interface)
%3 Script path(to be able to use relative paths - e.g.: %3/audio.mp3 would load the file at same path of script)
%4 Intro file(path to app logo image)

There is an ffmpeg script example file at /examples folder.


Dependecies

  • OpenGL
  • ffmpeg

ffmpeg library needs to be installed at user path enviroment to proper 'Generate Video' functionality *On nix systems pasting ffmpeg bin at /usr/local/bin/ should be enough


About

Version authored by Gabriel Almeida and Victor Maia as a UFRJ project.

About

A simple C++ QT-based 3D viewer for height maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages