Adobe ATMOSPHERE User Manual page 331

Table of Contents

Advertisement

diffuseColor
A Vector representing the color to modulate the light coming from Distant Light sources. Default is Vector(1, 1,
1).
sphere = SceneGroup ("./sphere.aer");
solidObject = spheres[i].getSolidObject(0);
solidObject.diffuseColor = Vector (1, 1, .98);
lightMapBrightness
The scale value that modulates the brightness of the object's light map. Default is 0.25.
sphere = SceneGroup ("./sphere.aer");
solidObject = spheres[i].getSolidObject(0);
solidObject.lightMapBrightness = .35;
lightMapColor
A Vector representing the color to modulate the object's light map with. Default is Vector(1, 1, 1).
sphere = SceneGroup ("./sphere.aer");
solidObject = spheres[i].getSolidObject(0);
solidObject.lightMapColor = Vector (1, 1, 1);
castShadowsOntoOthers
A boolean value that specifi es whether this object will cast a shadow onto other objects in the scene. This
property requires that dynamic lighting is enabled for the scene, and that this object and the shadow receiving
object specify the property 'useDynamicLighting' at true. The receiving object must also specify 'receiveShadows'
as true.
Since dynamic lighting is very costly in regards to processing requirements, numerous lighting properties
have been made available so that the world designer can tailor dynamic lighting behavior for their particular
purposes.
solidObject.castShadowsOntoOthers = true;
castShadowsOntoSelf
A boolean value that specifi es whether this object will cast a shadow onto itself. This property requires that
dynamic lighting is enabled for the scene, and that the property 'useDynamicLighting' is also set to 'true' .
Since dynamic lighting is very costly in regards to processing requirements, numerous lighting properties
have been made available so that the world designer can tailor dynamic lighting behavior for their particular
purposes.
solidObject.castShadowsOntoSelf = true;
receiveShadows
A boolean value that specifi es whether this object will receive shadows. This property requires that dynamic
lighting is enabled for the scene, and that the property 'useDynamicLighting' is set to 'true' .
Since dynamic lighting is very costly in regards to processing requirements, numerous lighting properties
have been made available so that the world designer can tailor dynamic lighting behavior for their particular
purposes.
319
ADOBE ATMOSPHERE
User Guide

Advertisement

Table of Contents
loading

Table of Contents