Hi all,
one of the most interesting features introduced by Octane Render for SketchUp 3.06.1.4 Test Release is the possibility to use Lua scripts and Lua Scripted Graph nodes inside Sketchup, to greatly expand and automate your workflow.
First of all, you can start by trying the default Standalone scripts like Daylight or the Turntable animation scripts:
Note: you need to select the Default View Render Target node with a Daylight node before performing the Daylight animation script, while you need to firstly center the view with the proper picker, and correct the Up-verctor value to 0, 1, 0 before performing th Turntable script:
The Batch Rendering script will become useful when we could have different Render Targets in the scene, then we will be able to render multiple RT in one time.
To add new scripts, the best way is to open Octane viewport, then go to menu File/Preferences/Application and change the path of the Lua scripts directory, to easily access the folder, or specify a new more comfortable one:
Then you can check the Lua script repository discussion to find out some interesting scripts.
Note that this feature is just been added, so some errors can occor. Please, let us know about any issue discovered.
Texture2glossy
Here is one of my simple scripts modified to work with Sketchup plugin, it creates a Glossy material starting from a Diffuse image texture path. It is possible to specify the Bump and Specular/Roughness suffix to automatically find the textures, if not found, the diffuse texture in grayscale mode will be used:
Happy rendering
ciao beppe