You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, you need to install the Pillow and Numpy packages, with the following command:
$> pip install numpy Pillow
Now, to create properly formatted maps that can be read by FdF , simply have access to an image and run the script map_generator.py with the following command: (in theory the script accepts both PNG and JPG, but sometimes JPG works better than PNG, I'm not sure why)
$> python3 map_generator.py
Enter the image path: <image-name>
Apply logarithmic scaling to height values?
(recommended if you cant modify Z scale in the fdf) (y/n):
Once the map has been generated, to render it you just need to run your fdf binary with it, this way you can generate some really cool maps, like these:
About
Script to Create Properly Formatted '.fdf' Maps From a Given Image