[vtkusers] update Light Position

youpie meriadegp at yahoo.fr
Thu Jun 9 11:23:31 EDT 2011


Hi,

I have linked an vtkSphereSource to a vtkLight.
In fact in my observer call back command, when I move the sphere, I do in
the same time a SetPosition on my vtkLight.
But the effect come only when my move is finished instead of doing it in
real time with moving.

I have already tested some method like Modified() on the light, the sphere,
the Interactor but nothing happening.

The sphere move in real time but not the Light !!

If someone have an idea !

Thanks in advance

--
View this message in context: http://vtk.1045678.n5.nabble.com/update-Light-Position-tp4473141p4473141.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list