You can change the lighting presets that are used for rendering via the Lighting Editor. This allows you to change the lighting that is used to produce different effects. The lighting presets change according to the type of rendering you are using. For example, if you turn on Photorealistic 3D, the presets will be different.
Note: If you save the PDS file, the lighting information will be saved with the file, so you won't have to redefine after you open the file.
To modify the lighting presets:
In the 3D window,
in the Render toolbar, click
The Lighting Editor dialog appears:
If you are in open GL mode, the dialog appears as follows:
In the Lighting
List area, select the type of lighting you need:
Note: You can see a preview of changes to the lighting in the Preview window, as well as in the 3D window, before you apply the final changes.
The following lighting environmental parameters
are available in the Lighting Editor dialog, if you are using Photorealistic PR3D:
– enables you to change the lighting intensity in the scene.
rotation – enables you to rotate spherical light around an
Plane – creates a renderable ground plane that catches shadows
Height – positions the ground plane from -10 - 90 cm in height.
Reflectivity – turns on reflectivity, shadow intensity, and
Intensity – changes the intensity of the reflection on the
Intensity – changes the intensity of the shadow on the ground
– changes the sharpness of the reflection on the ground plane.
Add Inner Light – creates a light object in PR3D. This helps avoid dark intense shadows inside a cloth when the avatar is hidden. Note that if the avatar is visible and the inner light is turned on, you might experience an unwanted lighting effect.
Inner Light Intensity – sets the intensity of the inner light from 0-100. If you do not select the Add Inner Light checkbox, the inner light intensity is set to 0.
Inner Light Height - sets
the height of the inner light from 0-200cm (from the Ground
Pane up to 200 cm).
Click Ok when you are done.
All lighting settings adjustments will be saved within the PDS+3D.
If you require a lighting environment
that is not available in the list, you can upload your own, using
an HDR file. An HDR file (High Dynamic Range) is basically an image
with multiple exposures.
Click here to see how to upload your own lighting environment
Download an HDR file (you can find free images in websites like: http://www.hdrlabs.com/sibl/archive.html)
Drop the image in the Optitex installation
folder, inside the environment folder here: C:\Program
For example, we downloaded the Tropical Beach HDR file and dropped it here:
Note: You may require special permissions to add content to this folder. If this is the case, please contact your IT administrator.
Open the PDS, turn on PR3D
and open the Lighting Editor.
Notice the Tropical Beach lighting appears in the list:
If you do not see the new lighting, go to View > 3D Windows > Scene Browser and click Reload CGFX:
If this does not work, then restart the PDS.
You can also upload an image as the
background to get the full effect.
Here we set the background with the Tropical Beach image we downloaded with the HDR file as follows:
· If you send to a remote server for rendering and the lighting is not there, you will see a black background. This is because, the lighting environment must be included on the machine where you are rendering.
· If you open the PDS file on another machine and the lighting is not there, you will not see the lighting. This is because, the lighting environment must be included on the machine where you are rendering.