View Single Post
  #3  
Old 08-21-2008, 11:02 AM
michaelrepucci michaelrepucci is offline
Member
 
Join Date: Jul 2008
Posts: 53
Oh, I didn't realize that lights could have diffuse, ambient, and specular components. Some follow-up questions. Do all new lights also have those same defaults? And if you set the color to say, viz.RED, then do you get diffuse=[0.8,0,0], ambient=[0.5,0,0], and specular=[1,0,0]? What about the default headlight values for the three types of attenuation, spread, and intensity? And is setting a light's position, say light.position(0,1,0), the same as translating it with light.translate(0,1,0)?
Reply With Quote