[vtkusers] Adding light for specific actor

jas jaspreet.punjab at gmail.com
Wed Apr 9 16:16:50 EDT 2014


Hey Guys
Hows it going?

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/Adding-light-for-specific-actor-tp5726725.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list