X Light Attributes¶
This options is only allowed for the light objects.
See LIGHT_PARAM in the obj specification.
You can locate the master list of named lights in the file
Resources/bitmaps/world/lites/lights.txt. Do not edit this text file!
Param light supports text variables, the following variables may be used:
$rgbReads RGB color from the light.
$directionReads target direction from the light. If the light is omni direction it will be
0.0 0.0 0.0. As the direction value also depends on the param light type the plug-in detects the type reading end of the light name
_spmeans light is spill.
falloffvalue of the 3Ds Max’s spot light. This will be
1.0if the light is omni.
$widthvalues are transformed to the correct ones for the obj file depending on the param and 3Ds max lights types.
$rgb 0 1.0 $direction $width.
$direction:a+10.0 0 1.0.
$directionAlso has addition parameters for the billboard light. As the 3Ds Max’s spot light may have maximum cone angle 180 degrees but billboard light may have up to 360 you can use the following syntax to make cone angle greater:
$direction:a+10where 10 is any value and this value will be added to the light cone angle. Assume your spot light has 90 degrees cone angle then cone for the billboard light will be
90 + 10 = 100.
$direction:a-10the same as above but subtract the value
90 - 10 = 80.
$direction:a120exactly set the cone angle