[vtkusers] Shadows with VTK 8.0

Yeshwanth, Chandan chandan.yeshwanth at siemens.com
Thu Nov 16 04:30:46 EST 2017


Hi,

Can anyone help me implement shadow mapping with VTK 8.0?
The existing example here - https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/Shadows/ gives this error -
AttributeError: 'vtkRenderingOpenGL2Python.vtkShadowMapBakerPass' object has no attribute 'SetOpaquePass'

Has the API changed from 5.10 to 8? A minimum working example of shadows in VTK 8 or a summary of the API changes will be great!

Thanks,
Chandan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171116/92594566/attachment.html>


More information about the vtkusers mailing list