<span id="mailbox-conversation">Jas<div><br></div>
<div>Can you use shaders? If yes then you can do it this using your own custom shader. </div>
<div><br></div>
<div>Thanks </div>
<div><br></div>
<div><br></div></span><div class="mailbox_signature">—<br>Sent from <a href="https://www.dropbox.com/mailbox">Mailbox</a> for iPad</div>
<br><br><div class="gmail_quote"><p>On Wed, Apr 9, 2014 at 4:17 PM, jas <span dir="ltr"><<a href="mailto:jaspreet.punjab@gmail.com" target="_blank">jaspreet.punjab@gmail.com</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>Hey Guys
<br>Hows it going?
<br><br>As per my initial investigation it seems like there is no straight forward
<br>method to add light to a particular actor. If I am wrong it will be very
<br>kind of you guys to point to me.
<br><br>For the solution to this problem I was trying to subclass vtkRenderer class.
<br>Here I want to override updateGeometry method so I can turn off/on light
<br>while iterating through the prop as per requirement.
<br><br><br>Is the above method alright or there is some better way of doing this, I am
<br>also facing issue during subclassing vtkRenderer, can somebody point me to
<br>right direction.
<br><br>Thanks
<br>Jas
<br><br><br><br><br>--
<br>View this message in context: http://vtk.1045678.n5.nabble.com/Adding-light-for-specific-actor-tp5726725.html
<br>Sent from the VTK - Users mailing list archive at Nabble.com.
<br>_______________________________________________
<br>Powered by www.kitware.com
<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
<br><br>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
<br><br>Follow this link to subscribe/unsubscribe:
<br>http://www.vtk.org/mailman/listinfo/vtkusers
<br></p></blockquote></div><br>