size={80,60} res = {1,1} local heightsampler = ImageSampler.new({ Filename='moonbumpmap2_720_360.png', Size = size, Resolution = res, MaxHeight=16, }) local vertsampler = shape_ellipsoid.new({ XRadius=30, ZRadius = 30, MaxTheta = math.rad(360), MaxPhi = math.rad(180), }) local dispSampler = DisplacementSampler.new({ VertexSampler = vertsampler, HeightSampler = heightsampler, MaxHeight = 1.75, }) local lshape = BiParametric.new({ USteps = 720, WSteps = 360, VertexFunction=dispSampler, Thickness = -2, }) color("Silver") addshape(lshape)