
This example illustrates the use of indexed textures.
You can interactively change the color map, the data min/max, and the color map min/max of the SoColorMap and SoIndexedTexture2.
FILES:
-
Inventor/examples/Features/IndexedTexture/IndexedTexture.cxx
-
Inventor/examples/Features/IndexedTexture/auditor.cxx
-
Inventor/examples/Features/IndexedTexture/auditor.h
-
Inventor/examples/Features/IndexedTexture/frag.glsl
-
Inventor/examples/Features/IndexedTexture/vert.glsl
SEE ALSO
SoIndexedTexture2, SoColorMap
SCREENSHOT: