WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 08-21-2008, 12:02 PM
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC