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.
- Compile and run it using qmake 5+
- File > Open >
/examples/example_1/example_1.v3d
- Change layer colors/camera positions
- 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:
Observe the files at /examples
to understand how to include your own layers.
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 |
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.
- 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
Version authored by Gabriel Almeida and Victor Maia as a UFRJ project.