Scene Settings Dialog - Environment
The Environment page of the Scene Settings dialog:
Export Environment Settings
Indicates whether the settings on this page should be exported.
Update Viewports
Most of the settings on the Environment page will be reflected in real-time in the OgreMax viewports, but the shadow texture size and count are not. If those values are modified and there is at least one OgreMax scene viewport open, this button will be enabled so that the values can be updated without having to close the Scene Settings dialog.
Background Color
The background color may be separate from Softimage/XSI, synchronized to Softimage/XSI, or copied from Softimage/XSI. In order to synchronize the values to or from Softimage/XSI, a 2D Background Color must be added to the Softimage/XSI output pass.
To add the 2D Background Color, first go to the Render -> Render -> Pass Options... menu.
The render pass will be displayed. Click Add for the Output:
Choose 2D_background_color from the dialog that appears:
Back in the render pass, click Inspect to edit the 2D Background Color's settings:
Ambient Light Color
The ambient light color may be separate from Softimage/XSI, synchronized to Softimage/XSI, or copied from Softimage/XSI. The Softimage/XSI ambient lighting can be found in the following location:
Environment Range
The environment range is used in calculating environmental effects such as fog.
- Near Distance - The near distance relative to the camera. This setting is not used directly by OgreMax, but it is exported in case an application needs it.
- Far Distance - The far distance relative to the camera.
- Far Box Object - If specified, references an object (typically a box) that bounds the environment far range.
Fog
- Mode - The fog mode.
- Start/End - The fog range, as a fraction of the environment far distance.
- Color - The fog color.
The fog settings may be separate from Softimage/XSI, synchronized to Softimage/XSI, or copied from Softimage/XSI. In order to synchronize the values to or from Softimage/XSI, a 2D Depth Cue must be added to the Softimage/XSI output pass.
To add the 2D Depth Cue, first go to the Render -> Render -> Pass Options... menu.
The render pass will be displayed. Click Add for the Output:
Choose 2D_depth_cue from the dialog that appears:
Back in the render pass, click Inspect to edit the 2D Depth Cue's settings:
- Far Color - The fog color.
- Near/Far Distance - The fog range. These values are clamped to be between 0 and the OgreMax Scene Environment far distance.
Shadows
- Technique - The shadow technique.
- Self Shadow - Indicates whether self shadowing is allowed.
- Depth Texture - Indicates whether the texture(s) created for shadowing should be depth textures.
- Color - The shadow color.
- Far Distance - The distance beyond which no shadows are displayed.
Shadow Texture
- Camera Type - The shadow texture camera type.
- Plane Object - The plane used by the 'Plane Optimal' camera type.
- Texture Size - The dimensions of the shadow textures.
- Texture Count - The number of shadow textures. This number corresponds to the number of shadow-casting lights.
- Texture Offset - An offset used with directional lights to improve the shadow quality.
- Fade Start/End - The range over which shadows are gradually faded out.
- Caster Material - The default material used to draw objects into the shadow texture.
- Receiver Material - The default material used to apply shadows on objects.