Page 1 of 1

Octane Shortcuts v2.5 (updated)

Posted: Tue Nov 18, 2014 9:51 pm
by oguzbir
Hi there,
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.
Capture.jpg
Octane Shortcutsv2.5.rar
Please download the script from here...
(4.4 KiB) Downloaded 280 times

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"
Please let me know if you find this useful.

Re: Octane Shortcuts v2.5 (updated)

Posted: Wed Nov 19, 2014 8:11 am
by acc24ex
can you please include the hdris in a separate download?

Re: Octane Shortcuts v2.5 (updated)

Posted: Wed Nov 19, 2014 11:32 am
by oguzbir
acc24ex wrote:can you please include the hdris in a separate download?
terribly sorry mate but I'd better not..
4 of 'em are hdri's that I purchased. I think it wouldn't be ethical and legal.

Even I shared them here. You'll again end up opening the material library and set all the hdri's locations anyways.
I mean it wont help you right away.

If I was an experienced scripter. I would make a file open dialog and let user to select and load his own hdris.
then create a material library from them and list those hdri's. But I'm not that good, sorry.

Re: Octane Shortcuts v2.5 (updated)

Posted: Mon Nov 24, 2014 11:49 am
by tonycho
Hi Oguz
Need little help
can you change the default hdri into max2013 version :D