[vtkusers] switchOff lights in a vtkRenderer
Hua Qian
hqian at irus.rri.on.ca
Fri Jun 23 12:43:59 EDT 2000
>Francis Bouchet wrote:
> I try to have my vtkRenderer looking as empty while I modify its content :
> 1. I tried to Remove my actors but when I add new ones, the zoom is so high
> that the Renderer concentrates on
> the origin of the scene.
Reset the Camera will reset the zoom, e.g.
renderer.ResetCamera()
> 2. I tried to switch off the light, but I do not succeed in getting the
> Renderer lights pointer.
If you just want actor invisible, set the opacity to 0 will do it, e.g.
actor.GetProperty().SetOpacity(0)
Hua
--
* * ** *** ***** ******** ************* *********************
Hua Qian, Ph.D. Programmer-Analyst
Imaging Research Laboratories voice: (519) 663-5777x34066
The John P. Robarts Research Institute email: hqian at irus.rri.on.ca
More information about the vtkusers
mailing list