How would you automate this workflow?

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
jumeh
Posts: 1
Joined: Thu Dec 15, 2022 7:21 am

Hi guys, what would be a way to automate (through code / scripting / command line) this workflow:

1/ I have a C4D project of an animated sphere floating for 5s.

2/ I also have a folder receiving files every day (around 500 videos / day) at any time randomly (those files are animated texture, videos, to use on the sphere)

3/ Anytime a file is received on that folder it should trigger C4D to render the sphere project (with Octane) with the received file as a background texture

4/ It should send the final EXR sequence to a target folder

Should it be done via command line only? Scripting?

I couldn't find any explanation on the subject yet...

I would love to hear what you guys have in mind for that, I hope it will help others!

Thanks for your suggestions - Jumeh
User avatar
bepeg4d
Octane Guru
Posts: 10300
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi Jumeh,
a solution is to use Standalone + Lua scripts.
In particular, you should need a Lua script that updates an .ocs Standalone scene (exported from c4doctane) with the desired image sequence texture, and to trigger another Lua script for rendering and saving to the desired path like this one:
viewtopic.php?f=73&t=70855&p=358206&hil ... ua#p403251

ciao,
Beppe
Post Reply

Return to “Lua Scripting”