WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-22-2008, 10:44 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Yes, all new lights default to these values. Setting the color of a light to viz.RED will set the diffuse to [1,0,0] and leave the ambient/specular alone. If you want to change those values then you can use the <node>.ambient and <node>.specular commands.

Here are the defaults for the other values:
spotexponent: 0.0
spread: 180
constant attenuation: 1
linear attenuation: 0
quadratic attenuation: 0
intensity: 1

Translating a light has the same effect as setting the position.
Reply With Quote
Reply


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 10:27 PM.


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