ColorDisplayFilter
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
<ColorDisplayFilter matrix='identity' gamma='2.4' size='' table='' enabled='TRUE' logFeature='' />
Classic encoding
ColorDisplayFilter { matrix identity gamma 2.4 size [] table [] enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
table | MFColor | inputOutput | The shading table for color correction | |||
size | MFInt32 | inputOutput | Size of the shading table [width,height,depth] | |||
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 | ||
enabled | SFBool | inputOutput | TRUE | If FALSE, filter is disabled | ||
gamma | SFFloat | inputOutput | 2.4 | Defines the gamma correction | ||
matrix | SFMatrix4f | inputOutput | identity | The color space is transformed with this matrix | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |