Note: this functionality is now a test in Slicer ShaderProperty test
Example scripts for customizing VTK shading language.
Developed at NA-MIC Project Week in Las Palmas
See the project page for more details
Here's a video: https://youtu.be/yiEI_yBMu8k
Here's what it looks like:
- For the SlicerShader, just paste it into a binary download of Slicer (tested on Nightly release of June 2019)
- For DepthShader stand-alone
- build vtk with python enabled
- run a command like:
../vtk-build/bin/vtkpython DepthShader.py