[vtkusers] Applying post-processing shader
WeltMarco
godimarcovr at gmail.com
Thu Mar 5 13:52:00 EST 2015
Hi all,
i'm currently working on a project in which i need to apply a
post-processing shader to a rendered scene (in particular it is a barrel
distortion shader).
The problem is, by applying the shader on the actor's vtkProperty i can only
intervene on the actor's model (for example a shader that paints everything
red, will only make the actor red) but i need it to intervene on the scene
already rendered (so if i apply the same red shader, it will turn everything
red).
I was thinking of extracting an Actor2D by going through the WindowToImage
filter, but there is nothing about shaders on the vtkProperty2D.
Is there a way to do this in VTK?
Thank you in advance for your help
Marco
--
View this message in context: http://vtk.1045678.n5.nabble.com/Applying-post-processing-shader-tp5730683.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list