## light

Related Scripting Object(s): Light | Related C++ Class(es): Light

Light

Type:
  XSI Object

Spdl File:
  %XSI_HOME%\Application\spdl\C3DLightPoint.spdl

Parameter Name | Scriptname | Description | Valid Values | Data Type | Range | UI Range
--- | --- | --- | --- | --- | --- | ---
Name | Name |  |  | String |  |
Light Type | Type |  |
0 | Point
1 | Infinite
2 | Spot
| Integer |  |
Light Energy Falloff Exponent | LightExponent |  |  | Float | 0.0 - 10.0 | 1.0 - 2.0
Light Cone Angle | LightCone |  |  | Float | 0.0 - 179.9 | 0.0 - 179.9
Diffuse | LightDiffuse |  |  | Bool |  |
Specular | SpecularContribution |  |  | Bool |  |
Diffuse | DiffuseContribution |  |  | Bool |  |
Selective List | SelectiveList |  |  | 0 |  |
Selective List Name | SelectiveListQFE |  |  | 0 |  |
Selective Light | SelectiveInclusive |  |
1 | Inclusive
0 | Exclusive
| Bool |  |
Selective Group | SelectiveGroup |  |  | 0 |  |
Light Distance to Interest | InterestDist |  |  | Double | 0.0 - Max |
Light Shader | LightShader |  |  | 0 |  |
Light Photon Emitter Shader | PhotonShader |  |  | 0 |  |
Area Light | LightArea |  |  | Bool |  |
Geometry | LightAreaGeom |  |
1 | Rectangle
2 | Disc
3 | Sphere
4 | Cylinder
| Integer |  |
Area Light Visible | LightAreaVisible |  |  | Bool |  |
Xform Root | LightAreaXform |  |  | Empty |  |
Scale X | LightAreaXformSX |  |  | Float | 0.0 - Max | 0.0 - 100.0
Scale Y | LightAreaXformSY |  |  | Float | 0.0 - Max | 0.0 - 100.0
Scale Z | LightAreaXformSZ |  |  | Float | 0.0 - Max | 0.0 - 100.0
Rotation X | LightAreaXformRX |  |  | Float | -90.0 - 90.0 | -90.0 - 90.0
Rotation Y | LightAreaXformRY |  |  | Float | -90.0 - 90.0 | -90.0 - 90.0
Rotation Z | LightAreaXformRZ |  |  | Float | -90.0 - 90.0 | -90.0 - 90.0
Translation X | LightAreaXformTX |  |  | Float |  |
Translation Y | LightAreaXformTY |  |  | Float |  |
Translation Z | LightAreaXformTZ |  |  | Float |  |
Samples in U | LightAreaSampU |  |  | Integer | 1 - Max | 1 - 10
Samples in V | LightAreaSampV |  |  | Integer | 1 - Max | 1 - 10
Use Shadow Map | ShadowMap |  |  | Bool |  |
Map File | ShadowMapFile |  |  | String |  |
Resolution | ShadowMapRes |  |  | Integer | 1 - Max | 100 - 4096
Softness | ShadowMapSoft |  |  | Float | 0.0 - 1.0 | 0.0 - 0.0
Samples | ShadowMapSamp |  |  | Integer | 1 - Max | 1 - 64
Bias | ShadowMapBias |  |  | Float |  | -1.0 - 1.0
Use Volumic Shadowmaps | ShadowMapDetail |  |  | Bool |  |
Sub-Samples | ShadowMapDetailSamples |  |  | Integer | 1 - Max | 1 - 8
Step Size | ShadowMapDetailAccuracy |  |  | Float |  |
Shadow Type | ShadowMapDetailType |  |
0 | Intensity Only
1 | Full Color
| Integer |  |
Caustics | Caustics |  |  | Bool |  |
Global Illumination | GlobalIllum |  |  | Bool |  |
Global Illumination | GlobalPhotonsNum |  |  | Integer | 1 - Max | 100 - 100000
Caustic | CausticPhotonNum |  |  | Integer | 1 - Max | 100 - 100000
Intensity | LightEnergyIntens |  |  | Float | 1.0 - Max | 1.0 - 100000.0
Energy | LightEnergy |  |  | Empty |  |
Energy R | LightEnergyR |  |  | Float | Min - Max | 0.0 - 1.0
Energy G | LightEnergyG |  |  | Float | Min - Max | 0.0 - 1.0
Energy B | LightEnergyB |  |  | Float | Min - Max | 0.0 - 1.0
Disc/Sphere Radius | LightAreaRadius |  |  | Float | 0.0 - Max | 0.0 - 100.0
Disc Normal X | LightAreaDiscNormX |  |  | Float |  |
Disc Normal Y | LightAreaDiscNormY |  |  | Float |  |
Disc Normal Z | LightAreaDiscNormZ |  |  | Float |  |
Disc Radius | LightAreaDiscRadius |  |  | Float | 0.0 - Max | 0.0 - 100.0
Sphere Radius | LightAreaSphereRadius |  |  | Float | 0.0 - Max | 0.0 - 100.0
Rect Size X | LightAreaRectSizeX |  |  | Double | 0.0 - Max | 0.0 - 100.0
Rect Size Y | LightAreaRectSizeY |  |  | Double | 0.0 - Max | 0.0 - 100.0
Rect Rotation X | LightAreaRectRotX |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0
Rect Rotation Y | LightAreaRectRotY |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0
Rect Rotation Z | LightAreaRectRotZ |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0
Disc Rotation X | LightAreaDiscRotX |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0
Disc Rotation Y | LightAreaDiscRotY |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0
Disc Rotation Z | LightAreaDiscRotZ |  |  | Double | -90.0 - 90.0 | -90.0 - 90.0

Autodesk Softimage v7.5