
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/IndexedTexture/IndexedTexture.cxx
-
Inventor/IndexedTexture/auditor.cxx
-
Inventor/IndexedTexture/auditor.h
-
Inventor/IndexedTexture/frag.glsl
-
Inventor/IndexedTexture/vert.glsl
SEE ALSO
SoIndexedTexture2, SoColorMap
SCREENSHOT: