OrthoPatch

class sonic.OrthoPatch

Bases: sonic.OrthoRender

Constructor Summary
OrthoPatch(terrain, albedo, l_inc_x, l_inc_y, l_inc_z, htscale, lgscale)
Property Summary
albedo

albedos for each terrain point between 0 and 1

facets

Actual properties of OrthoPatch to be used in rendering x is the number of columns, y is the number of rows in terrain

htscale

scale of unit height

l_i
lgscale

scale of unit length (in plane)

terrain

grayscale image with height encoded as int b/t 0 and 255, inclusive

Method Summary
calcEmissionVectors()
calcFacets()
calcIncidenceVectors()
calcRefl(reflObj)
showPatch()
static showRefl(r, varargin)