After downloading the file, you have two options to run the script:
1- Copy 'fakeibl.mel' to My Documents > Maya > Script, then run Maya and type ‘fakeibl’ in Mel command line.
2- Open the 'fakeibl.mel' on the notepad and copy/paste the contents to script editor and execute.
More helps:
https://www.creativecrash.com/maya/tutorials/using-tools-scripts/c/loading-scripts-in-maya-101
Interface overview:
Select map:
This option will select an image for using as environment light source. The image that you select will determine the color of the lights on the dome.
Select object to align dome:
If your scene is far from the origin, by this option you can align the center of the dome with a selected object from your scene.
Dome segment slider:
This option will specify the number of spans/segments on the dome.
More spans/segment will create lights and better quality in lighting, but more render time.
Select all lights:
This option will select all lights on the dome.
Outliner Window:
This option will open outliner window for faster access.
Light on/off:
This option will Turn on/off the lights on the dome. This feature is useful when you want to test the other lights in your scene.
Upper lights intensity:
This option will adjust the intensity of the upper part of the dome . We can consider it as the light from the sky or light bouncing from walls in the interior scene.
Lower lights intensity:
This option will adjust the intensity of the lower part of the dome. We can consider it as the light reflected/bounced from ground or floor in the interior scene.
Dome primary visibility:
This option will turn on/off the primary visibility of the environment dome. When it is turned off it will be visible in the reflection but won’t be visible in the final rendering.
Delete dome:
This option will delete the dome and all the related shaders and lights that are on the dome.
Refresh/Create:
This option will create a new dome if no dome exists already in scene. Use to refresh the UI layout.
Import:
Use this option if you want to import rigged dome from your previous scene. For normal import you can use the import option from the file menu.
Render preview:
Render Ambient Occlusion:
This option will render ambient occlusion and open the ambient occlusion setting window.
Render:
This option will render the scene and composite the ambient occlusion layer on it. The ambient occlusion shader setting will be automatically opened . By adjusting the 'Out Matte Opacity' you can adjust the ambient occlusion layer opacity on the main render layer.
Camera exposure on/off:
When the script run, it will create camera exposure shader and connect it to the perspective camera. You can turn on/off this feature by the checkbox.
Camera Exposure setting:
Open the setting windows for the camera exposure shader.
Notes:
-Make sure you use Mental ray renderer.
-Use the interface to adjust the dome and lights.
-After finishing the adjustment of the light rig, you won’t need to worry about the software bugs and issues. You can use the rig independently from the script.
- you probably have deleted the dome or a related node by accident if you get an error while adjusting the interface. You can press Refresh/Create button to fix this issue.
-Do not use the following names in your scene: AO, skyDome, skyLight
-Do not change the dome, shaders and skylights names.
-If you want to import a rigged dome from the other scene, make sure you use the 'Import' option in the 'Fake IBL' script interface.
-I appreciate any comments and bug reports.
*Special thanks to Hafiizh Hamid (www.creativecrash.com/users/hafiizh-hamid) for his great helps and supports.
Please see the related tutorial. (Character lighting using fake image based lighting 'fakeibl' script)
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.