The following 3ds Max system global variables and methods give you access to the global rendering environment:
Lets you get and set a Color value that defines the global rendering environment (Rendering\Environment) background color.
Lets you get and set a Controller value that defines the global rendering environment (Rendering\Environment) background color controller.
Lets you get and set a TextureMap value that defines the global rendering environment (Rendering\Environment) environment map.
Lets you get and set the global rendering environment (Rendering\Environment) Use Map value. A Boolean value - true if Use Map is on, false if off.
Lets you set a Point3 or Color value that defines the global rendering environment (Rendering > Environment) background color at the specified time. Each component of the Point3 value is in the range of 0 to 255. If the time value is not specified, the current MAXScript time is used.
Get method that parallels setBackGround method. If the time value is not specified, the current MAXScript time is used.
Assigns the specified controller as the global rendering environment background color controller.
Returns the global rendering environment background color controller.
Lets you get the global rendering environment map.
Lets you set the Use global rendering environment map option.
If <boolean> is true the Use Map option will be turned on.
If <boolean> is false the Use Map option will be turned off.
Lets you get and set a Color value that defines the global rendering environment (Rendering\Environment) Global Lighting Tint color.
Lets you get and set a Controller value that defines the global rendering environment (Rendering\Environment) Global Lighting Tint color controller.
Lets you get and set a Float value that defines the global rendering environment (Rendering\Environment) Global Lighting Tint Level.
Lets you get and set a Controller value that defines the global rendering environment (Rendering\Environment) Global Lighting Tint Level controller.
Lets you get and set a Color value that defines the global rendering environment (Rendering\Environment) ambient lighting color.
Lets you get and set a Controller value that defines the global rendering environment (Rendering\Environment) ambient lighting color controller.
This 3ds Max System Global Variable contains the number of Atmospheric Effects added to the Effects list in the Environment Dialog. This variable is read-only.
You can use the following functions for maintaining the list of atmospherics in the global rendering environment:
Appends the atmospheric to the Atmospheric Effects list
Retrieves the atmospheric at the indexed position in the Atmospheric Effects list. Index is 1-based.
Sets the atmospheric at the indexed position in the Atmospheric Effects list to the specified atmospheric. If the Atmospheric Effects dialog is displayed when this method is called, the displayed Atmospheric Effects list is not updated.
Deletes the atmospheric at the indexed position in the Atmospheric Effects list. Index is 1-based.
Opens the Environment dialog, and opens the rollout for the specified atmospheric if it has been added to the Atmospheric Effects list. If the specified node is a gizmo for the atmospheric, that gizmo is selected in the atmospheric’s gizmo list.
Opens the Environment dialog, and opens the rollout for the specified atmospheric if it has been added to the Atmospheric Effects list. If the optional gizmo: argument is specified, and the specified node is a gizmo for the atmospheric, that gizmo is selected in the atmospheric’s gizmo list.
In 3ds Max 6 and higher, Calling editAtmosphere() or editAtmospheric() without an argument will open the Environment dialog.