instantreality 1.0

Component:
Texturing
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

SphericalHarmonicsGenerator

A node to create spherical harmonics.

Inheritance

Code

XML encoding
<SphericalHarmonicsGenerator logFeature=''
samples='1000'
bands='3'
mapMode='auto'
 />
Classic encoding
SphericalHarmonicsGenerator {
	logFeature [""]
	samples 1000
	bands 3
	mapMode "auto"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFNode irradianceMap SFNode inputOutput SingleTexture The irradiance map source image.
SFString mapMode SFString inputOutput auto [auto; latLong; sphere; cube] Defines the mapping mode for the current irradiance map.
SFInt32 bands SFInt32 inputOutput 3 The number of sh bands.
SFInt32 samples SFInt32 inputOutput 1000 The number of mote carlo samples.
MFVec3f coefficients_changed MFVec3f outputOnly The internally calculated sh coefficients (size is num bands x num bands).
SFFloat ambient_changed SFFloat outputOnly [0, 1] The normalized ambient irradiance map factor.
SFImage image_changed SFImage outputOnly sends a singe image on change
MFString 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