honeybee_plus.radiance.mixture.mixfunc module

Radiance Mixfunc Mixture.

http://radsite.lbl.gov/radiance/refer/ray.html#Mixfunc

class honeybee_plus.radiance.mixture.mixfunc.Mixfunc(name, modifier=None, values=None, is_opaque=None)[source]

Bases: honeybee_plus.radiance.mixture.mixturebase.RadianceMixture

Radiance Mixfunc Material.

A mixfunc mixes two modifiers procedurally. It is specified as follows:

mod mixfunc id 4+ foreground background vname funcfile transform 0 n A1 A2 .. An

Foreground and background are modifier names that must be defined earlier in the scene description. If one of these is a material, then the modifier of the mixfunc must be “void”. (Either the foreground or background modifier may be “void”, which serves as a form of opacity control when used with a material.) Vname is the coefficient defined in funcfile that determines the influence of foreground. The background coefficient is always (1-vname).