[vtkusers] Set shining off in vtkActor

nsarrasin nsarrasin at phenix-systems.com
Fri Oct 21 05:06:20 EDT 2011


Maybe you can use this :
actor->GetProperty()->SetAmbient(1);
actor->GetProperty()->SetDiffuse(0);
actor->GetProperty()->SetSpecular(0);

(cf http://vtk.1045678.n5.nabble.com/flat-shading-in-vtk-td1243405.html)

--
View this message in context: http://vtk.1045678.n5.nabble.com/Set-shining-off-in-vtkActor-tp4921344p4924146.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list