Earth Height Map

Mapping grey scale height map to sphere

Art

Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags

Description

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.

Materials and methods

PLA

Documents

Issues

Issues are used to track todos, bugs or requests. To get started, you could create an issue.

Comments

01b2b0f047c5feea6fc973f8d7c7d8e1?default=blank&size=40Stefan1994 published this design ago