[vtk-developers] Repost: Adding light for specific actor
jas
jaspreet.punjab at gmail.com
Thu Apr 10 04:56:07 EDT 2014
Hey Dev Guys
Hows it going on nerds :)
This is my repost from user section of forum and couldn't find a solution.
As per my initial investigation it seems like there is no straight forward
method to add light to a particular actor. If I am wrong it will be very
kind of you guys to point to me.
For the solution to this problem I was trying to subclass vtkRenderer class.
Here I want to override updateGeometry method so I can turn off/on light
while iterating through the prop as per requirement.
Is the above method alright or there is some better way of doing this, I am
also facing issue during subclassing vtkRenderer, can somebody point me to
right direction.
Thanks
Jas
--
View this message in context: http://vtk.1045678.n5.nabble.com/Repost-Adding-light-for-specific-actor-tp5726729.html
Sent from the VTK - Dev mailing list archive at Nabble.com.
More information about the vtk-developers
mailing list