Clipped GeometryΒΆ
The Image Value Clipping example surface.
import s3dlib.surface as s3d
#.. Clipped Geometric Mapping Export
# 2. Setup and map surfaces .........................................
rez = 6
earth = s3d.SphericalSurface(rez)
earth.map_color_from_image('data/elevation.png')
earth.clip_alpha(.1,useval=True)
s3d.save_surfgeom_to_obj('obj_files/earth_land_surface.obj',earth)