Geometric MappingΒΆ
The Geometric and Color Image Mapping example surface.

import s3dlib.surface as s3d
#.. Geometric Mapping Export
# 2. Setup and map surfaces .........................................
rez = 6
earth = s3d.SphericalSurface(rez)
earth.map_geom_from_image('data/elevation.png',0.06)
s3d.save_surfgeom_to_obj('obj_files/earth_surface.obj',earth)