Page 1 of 1

Lua script for moving objects

PostPosted: Wed Apr 08, 2015 8:11 pm
by whersmy
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?


Re: Lua script for moving objects

PostPosted: Thu Apr 09, 2015 9:30 am
by ssouth
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.

Module containing three light sources
(21.68 KiB) Downloaded 201 times

and a quick demo file

This is a demo set-up
(30.88 KiB) Downloaded 215 times

Re: Lua script for moving objects

PostPosted: Thu Apr 09, 2015 12:32 pm
by whersmy
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 !