aboutsummaryrefslogtreecommitdiff
path: root/colormap.cpp
AgeCommit message (Collapse)Author
2016-02-28Added colormap orientation & improved UI.Samuel Fadel
* Colormap: orientation now enables vertical & horizontal colormap display * Two colormap components, one for each type of point (regular, control) * Improved controls grouping and cohesion
2016-01-19Colormap: texture update fixed.Samuel Fadel
2016-01-17Colormap & VoronoiSplat: minor change to colormap texture creation.Samuel Fadel
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.