instantreality 1.0

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

ImprovedColorDisplayFilter

With this filter the color spectrum of a projection can be manipulated. To do this, it is neccessary to transform the gamma values into a linear space. After that, the color matrix is used to do the color transformation.

Inheritance

Code

XML encoding
<ImprovedColorDisplayFilter matrix='identity'
gamma='2.4'
size=''
table=''
debugMode='0'
debugColor='1 1 1 1'
enabled='TRUE'
logFeature=''
 />
Classic encoding
ImprovedColorDisplayFilter {
	matrix identity
	gamma 2.4
	size []
	table []
	debugMode 0
	debugColor 1 1 1 1
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFVec4f debugColor SFVec4f initializeOnly 1 1 1 1 color to use in debug modes
SFInt32 debugMode SFInt32 inputOutput 0 Switches through debug modes
SFBool enabled SFBool inputOutput TRUE If FALSE, filter is disabled
SFFloat gamma SFFloat inputOutput 2.4 Defines the gamma correction
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
SFMatrix4f matrix SFMatrix4f inputOutput identity The color space is transformed with this matrix
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
MFInt32 size MFInt32 inputOutput Size of the shading table [width,height,depth]
MFVec3f table MFVec3f inputOutput The shading table for color correction