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 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
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.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFNode textureProperties SFNode initializeOnly TextureProperties Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored.
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