samwit
(Samuel)
1
Hi vtk helpers,
Now I’m using vtk9.3. Does it support MatCap render? Or is there any alternative I can resort to?
Thx a lot,
Samuel
mwestphal
(Mathieu Westphal (Kitware))
2
VTK does not support matcap but F3D implements a version of it using VTK:
You can either implement it yourself using a similar shader or use F3D directly is that fits what you want to do.
samwit
(Samuel)
4
Hi Mathieu,
I’ve tried out the way how to drive the code and it seems to work well.
Thanks very much for your help!
samwit
(Samuel)
5
Hi Mathieu,
Sorry that I have one more question about the code below:
It seems to be a hotfix to the default shader impl which is very useful.
Is there any user-guide about how to write code like that?
mwestphal
(Mathieu Westphal (Kitware))
6
This is not well documented, you can find this old wiki article: Shaders In VTK - KitwarePublic