FdF is a simple 3D height-map renderer project. It enables the rendering of models, where the color of each point is determined by its relative height within the map. The project includes features like model rotation, camera control for zoom and translation, as well as support for color gradients.
- Simple file format definition using an array of space-separated integers.
keys: ↑/↓/←/→
transitionskeys: +/-
zoomkeys: 4/6
3D rotationskeys: 8/2
move the z axiskey: z
top view
3D View | Top View |
---|---|
Z_UP | Z_DOWN |
---|---|
- MacOs
- Linux
- Win11
- Compile the executable by running
make
. The resulting executable will be generated. - Run the program using
./fdf [map]
, where[map]
should be replaced with the path to the map file you wish to visualize. - A set of sample maps can be found in the
maps
directory. Notably,maps/42.fdf
is a popular choice for testing.
FdF is a straightforward 3D height-map renderer that allows users to visualize and interact with models. It offers rotation, camera control, color gradients, and various planned features to enhance the experience further. By compiling and running the program, you can explore the provided sample maps and create your own height-map visualizations.
That's the spirit! | |
---|---|