honeybee.radiance.texture package¶
Submodules¶
honeybee.radiance.texture.texdata module¶
Radiance Texdata Texture.
A texture is a perturbation of the surface normal, and is given by either a function or data.
http://radsite.lbl.gov/radiance/refer/ray.html#Texdata
-
class
honeybee.radiance.texture.texdata.
Texdata
(name, modifier=None, values=None, is_opaque=None)[source]¶ Bases:
honeybee.radiance.texture.texturebase.RadianceTexture
Radiance Texdata Material.
A texdata texture uses three data files to get the surface normal perturbations. The variables xfunc, yfunc and zfunc take three arguments each from the interpolated values in xdfname, ydfname and zdfname.
mod texdata id 8+ xfunc yfunc zfunc xdfname ydfname zdfname vfname x0 x1 .. xf 0 n A1 A2 .. An
honeybee.radiance.texture.texfunc module¶
Radiance Texfunc Texture.
A texture is a perturbation of the surface normal, and is given by either a function or data.
http://radsite.lbl.gov/radiance/refer/ray.html#Texfunc
-
class
honeybee.radiance.texture.texfunc.
Texfunc
(name, modifier=None, values=None, is_opaque=None)[source]¶ Bases:
honeybee.radiance.texture.texturebase.RadianceTexture
Radiance Texfunc Material.
A texfunc uses an auxiliary function file to specify a procedural texture:
mod texfunc id 4+ xpert ypert zpert funcfile transform 0 n A1 A2 .. An
honeybee.radiance.texture.texturebase module¶
Base Radiance Texture class (Texfunc, Texdata).
http://radsite.lbl.gov/radiance/refer/ray.html#Textures
-
class
honeybee.radiance.texture.texturebase.
RadianceTexture
(name, modifier=None, values=None, is_opaque=None)[source]¶ Bases:
honeybee.radiance.primitive.Primitive
Base class for Radiance texture (Texfunc, Texdata).
A texture is a perturbation of the surface normal, and is given by either a function or data.
-
name
¶ Primitive name as a string. Do not use white space and special character.
-
modifier
¶ Modifier. It can be primitive, mixture, texture or pattern. (Default: “void”).
-
values
¶ A dictionary of primitive data. key is line number and item is the list of values {0: [], 1: [], 2: [‘0.500’, ‘0.500’, ‘0.500’, ‘0.000’, ‘0.050’]}
-
isRadianceTexture
¶ Indicate that this object is a Radiance Material.
-
Module contents¶
Radiance Textures.
A texture is a perturbation of the surface normal, and is given by either a function or data.