[vtkusers] vtkLightKit

Michael Halle halazar at media.mit.edu
Wed Mar 28 11:57:24 EST 2001

Look at contrib/examplesTcl/LightKitViewer.tcl

The basic idea is (iren is interactor, ren1 is renderer)

iren LightFollowCameraOff
ren1 LightFollowCameraOn

vtkLightKit lightKit
lightKit AddLightsToRenderer ren1

After that, adjust the key light, fill light, and headlight positions,
relative intensities, and warmth as described in the help in the above


More information about the vtkusers mailing list