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