MantisBT - VTK
View Issue Details
0007521VTK(No Category)public2008-08-21 10:442013-04-05 19:57
Julian Ibarz 
François Bertel 
normalfeatureN/A
closedfixed 
 
 
0007521: Disable lighting for one actor
Sometimes, for performance reason, it is useful to not draw one actor with the lights enabled. VTK does not permit that.

I have made a patch that add a property to the class actor that permit to enable or disable the lighting on the actor.
No tags attached.
? light (2,336) 2008-08-21 10:44
https://www.vtk.org/Bug/file/6671/light
? light-5.2 (2,291) 2008-08-21 10:46
https://www.vtk.org/Bug/file/6672/light-5.2
Issue History
2008-08-21 10:44Julian IbarzNew Issue
2008-08-21 10:44Julian IbarzFile Added: light
2008-08-21 10:45Julian IbarzNote Added: 0013127
2008-08-21 10:46Julian IbarzFile Added: light-5.2
2009-02-04 11:51François BertelStatusbacklog => tabled
2009-02-04 11:51François BertelAssigned To => François Bertel
2009-02-04 11:56François BertelNote Added: 0014781
2009-02-04 11:56François BertelStatustabled => @80@
2009-02-04 11:56François BertelResolutionopen => fixed
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 19:57Berk GeveciStatuscustomer review => closed

Notes
(0013127)
Julian Ibarz   
2008-08-21 10:45   
The second file is for the 5.2 BRANCH.
(0014781)
François Bertel   
2009-02-04 11:56   
Instead of adding this property on vtkActor, it has been added to vtkProperty.

The fix matches the following cvs commits:

VTKData/Baseline/Rendering/TestActorLightingFlag.png initial revision: 1.1

VTK/Rendering/vtkProperty.h revision: 1.81
VTK/Rendering/vtkProperty.cxx revision: 1.77
VTK/Rendering/vtkOpenGLProperty.cxx revision: 1.55
VTK/Rendering/vtkOpenGLLightingPainter.cxx revision: 1.6
VTK/Rendering/Testing/Cxx/CMakeLists.txt 1.66
VTK/Rendering/Testing/Cxx/TestActorLightingFlag.cxx initial revision: 1.1