How would you automate this workflow?

Forums: How would you automate this workflow?
Forum for OctaneRender Lua scripting examples, discussion and support.

How would you automate this workflow?

Postby jumeh » Thu Dec 15, 2022 7:37 am

jumeh Thu Dec 15, 2022 7:37 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
jumeh
 
Posts: 1
Joined: Thu Dec 15, 2022 7:21 am

Re: How would you automate this workflow?

Postby bepeg4d » Mon Dec 19, 2022 7:57 am

bepeg4d Mon Dec 19, 2022 7:57 am
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&hilit=batch+lua#p403251

ciao,
Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9954
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 17 guests

Sat Apr 20, 2024 1:43 am [ UTC ]