Lua script for moving objects

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Just an idea for a very cool script:

I have 3 planes as lights in my studio setup, I work in standalone and have to re-export every time I want to change te size or position of the planes. It would be a huge timesaver if a script would allow to rotate/move/transform those planes to get them faster on their desired positions.

Any idea if this could be possible?

Best
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
ssouth
Licensed Customer
Posts: 37
Joined: Fri Oct 05, 2012 1:23 pm

If I understand your three planes correctly, maybe a setup like this might work for you:

Separate the lighting from the subject. then add some transforming handles to the lighting so you can adjust them to your liking.

I don't know if building a script would be any easier then this.

Three point lighting file (Import this into your scene.) if you need more lights just copy the node once it's imported. Then use a [Geometry Group] node to bring them together.
threepointlights.ocs
Module containing three light sources
(21.68 KiB) Downloaded 378 times
and a quick demo file
Demo.ocs
This is a demo set-up
(30.88 KiB) Downloaded 383 times
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Thanks for the feedback!

The demo file doesn`t include the .obj lights.

But I think I got the method, fairly easy. Lights exported as seperate objects with it`s own placement !
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
Post Reply

Return to “Lua Scripting”