Skip to content
/ FdF Public

FdF is a straightforward 3D height-map renderer project designed to visualize models based on relative height within the map, attributing color to each point accordingly.

Notifications You must be signed in to change notification settings

hheghine/FdF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FdF

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.

Screenshot from 2023-09-16 05-32-03

Features

Current Features

  • Simple file format definition using an array of space-separated integers.
  • keys: ↑/↓/←/→ transitions
  • keys: +/- zoom
  • keys: A/D 3D rotations
  • keys: W/S move the z axis
  • key: C utilization of pretty color gradients, color change
  • key: T top view
3D View Top View
3d Top
Z_UP Z_DOWN
z_up z_down

Compatibility

  • MacOs
  • Linux

Compiling and Running

  1. Compile the executable by running make. The resulting executable will be generated.
  2. Run the program using ./fdf [map], where [map] should be replaced with the path to the map file you wish to visualize.
  3. A set of sample maps can be found in the maps directory. Notably, maps/42.fdf is a popular choice for testing.

Conclusion

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!
bmth misfits

Screenshot from 2023-09-16 05-45-08

Screenshot from 2023-09-18 04-21-22

Screenshot from 2023-09-16 05-36-36

About

FdF is a straightforward 3D height-map renderer project designed to visualize models based on relative height within the map, attributing color to each point accordingly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published