|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::SDFMeshProcessor::set_axis_palette | ( | const glm::vec3 & | x, |
| const glm::vec3 & | y, | ||
| const glm::vec3 & | z | ||
| ) |
Color each triangle by the dominant axis of its surface normal.
| x | Color for surfaces facing along X. |
| y | Color for surfaces facing along Y. |
| z | Color for surfaces facing along Z. |
Selection is a hard choice rather than a blend, so the surface resolves into flat regions that switch as the geometry turns. Three identical colors give a flat surface, which is what the default reproduces. Takes effect next cycle.
Definition at line 112 of file SDFMeshProcessor.cpp.