View Single Post
  #2  
Old 10-09-2007, 10:08 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following code will disable the default head light and create a light that is attached to the view. The difference here is that the view offsets won't be applied to the light.
Code:
light = viz.addLight()
viz.link(viz.MainView,light)
viz.MainView.getHeadLight().disable()
Reply With Quote