SphericalHarmonicsGenerator
A node to create spherical harmonics.
Inheritance
Code
XML encoding
<SphericalHarmonicsGenerator mapMode='auto' bands='3' samples='1000' envColor='1 1 1 1' envMode='auto' envSource='auto' autoScale='TRUE' envFunction='auto' minFilter='auto' compression='auto' repeatT='TRUE' repeatS='TRUE' magFilter='auto' repeatR='TRUE' pixelScale='1' pixelFormat='keep' pixelType='keep' internalFormat='auto' anisotropy='1' logFeature='' />
Classic encoding
SphericalHarmonicsGenerator {
mapMode "auto"
bands 3
samples 1000
envColor 1 1 1 1
envMode "auto"
envSource "auto"
autoScale TRUE
envFunction "auto"
minFilter "auto"
compression "auto"
repeatT TRUE
repeatS TRUE
magFilter "auto"
repeatR TRUE
pixelScale 1
pixelFormat "keep"
pixelType "keep"
internalFormat "auto"
anisotropy 1
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| irradianceMap | SFNode | inputOutput | SingleTexture | The irradiance map source image. | ||
| mapMode | SFString | inputOutput | auto | [auto; latLong; sphere; cube] | Defines the mapping mode for the current irradiance map. | |
| bands | SFInt32 | inputOutput | 3 | The number of sh bands. | ||
| samples | SFInt32 | inputOutput | 1000 | The number of mote carlo samples. | ||
| coefficients_changed | MFVec3f | outputOnly | The internally calculated sh coefficients (size is num bands x num bands). | |||
| ambient_changed | SFFloat | outputOnly | [0, 1] | The normalized ambient irradiance map factor. | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
| textureProperties | SFNode | initializeOnly | TextureProperties | Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored. | ||
| image_changed | SFImage | outputOnly | sends a singe image on change | |||
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything |
