aboutsummaryrefslogtreecommitdiff
path: root/colormap.h
AgeCommit message (Collapse)Author
2016-01-16Added the Colormap component.Samuel Fadel
* The Colormap component is a simple rect with a texture mapped that displays a ColorScale with a fixed number of samples. This number of samples is exported as a member const, which is used on other components (such as VoronoiSplat). * The texture mapping is reflecting the colormap lookup used in VoronoiSplat. * The ColorScale class now has a method for sampling the color scale and outputs the samples to iterator-style objects, providing easy intergration with existing code.