Thingiverse
Earth heightmap
by mafmuf
5
Downloads
5
Likes
0
Makes
My attempt at height mapping on a sphere. This uses a tetrahedron or icosahedron as base which is recursively mapped to a sphere. This does take some amount of memory & time for nriter>=5.
If anyone is interested in making their own openscad heightmap array, use the bash script make_map.sh. Convert the height map into an 8 bit grey scale pgm file with GIMP. Edit "file=new_heightmap.pgm" in make_map.sh to point to the correct image file. Usage:
./make_map.sh > map.scad
Remove the last comma on the second last line. Add this to to the main scad file with "include " & comment out the current include statement. Adjust the scale (sc) to taste.
If anyone is interested in making their own openscad heightmap array, use the bash script make_map.sh. Convert the height map into an 8 bit grey scale pgm file with GIMP. Edit "file=new_heightmap.pgm" in make_map.sh to point to the correct image file. Usage:
./make_map.sh > map.scad
Remove the last comma on the second last line. Add this to to the main scad file with "include " & comment out the current include statement. Adjust the scale (sc) to taste.
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!