TKE_Color_By_FIndex

Opcode
ASCII (none)
Hexadecimal 0A
Decimal 10

 

Operands

Variable geometry, Float index

geometry bitmask of affected geometry. 1 byte, if high bit set a second byte follows. bit definitions are here
index index into the active color map

 

Notes

This is the color which will apply to geometry in the currently opened segment/geometry.  Since the index can be a floating point value you can apply fractional color interpolation to a surface to get the visual effects often required for Finite Element Analysis and Computational Fluid Dynamics models.  For detailed information on what this means in the HOOPS/3dGS refer to the Set_Color_By_FIndex specification in the 3dGS Reference Manual.