I updated my little script that helps me a lot on daily basis.
It's more powerfull compared to current octane original toolbars.
You do not need to open and close Octane object properties. Use this as replacement of that feature.
Also you can set the object's visibility on the fly as well. Without opening and closing dialog boxes.
Dialog box constantly updates when you change the obj selection. So you can keep it opened at all times.
The major importance of the script is you can set an Octane light's visibility and Cast Shadow property.
Which cannot be done without scripting. You shouldn't mix this with Octane Light's visible checkbox.
With this way you can set light visible in reflections but not present in the renderer view.
With this version you now have the chance to change your hdri environment with few doubleclicks.
To have the HDRI feature work properly, do as follows:
- Copy downloaded Scene_Hdri.mat to C:\ root folder. (if you want to put the mat file to another place see below)
- Start Max and open that file in material editor. Change the hdri's with your own hdri's that you use everyday.
- Save the library
- Now you can run the script.
If you want to use this script as a toolbar.
- Open this maxscript in max (not run it. Open it)
- Select all the lines in the script.
- Drag and drop the script to a toolbar of your choice.
You can also setup more ready hdri's more than 7. The listbox updates the number of hdri's by looking at the material library.
To do that just add more to the library.
The script will pick the name from the library material so please update the names as well.
HDRI feature also does create a compass object. And wire the Z-rotation to the hdri horizontal transform. Work both ways
If there is already a compass in the scene. Then it will be skipped..
Other buttons and features are pretty straightforward.
Render output witdh and height does not update if you change it from render setup file.
* To put the temporary library to another place. All you have to do is modify the 6th line in the script.
For example:
Code: Select all
global tempLibrary = loadTempMaterialLibrary "D:\YOURFOLDER\YOURFOLDER\Scene_Hdri.mat"