Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: intenta on 2019-02-05, 15:48:51

Title: Automate material change and rendering
Post by: intenta on 2019-02-05, 15:48:51
I need to render a scene 30 times by changing only the floor material ... is there a way to automate the whole process?
Thanks!!!!!!!
Title: Re: Automate material change and rendering
Post by: TomG on 2019-02-05, 15:54:39
Not sure what you are changing, but material parameters can be animated so you could render it as a 30 frame animation. If you are changing just hue, or reflection strength, etc. that should do the trick. If you are changing bitmaps, that might be more complex - you could (have never tried so just thinking aloud) use a layered shader and animated the blends on each frame to use a different bitmap. Alternatively, you could create 30 copies of the floor, each with a different material, and animate which floor is visible in each frame.
Title: Re: Automate material change and rendering
Post by: intenta on 2019-02-05, 16:08:09
Not sure what you are changing, but material parameters can be animated so you could render it as a 30 frame animation. If you are changing just hue, or reflection strength, etc. that should do the trick. If you are changing bitmaps, that might be more complex - you could (have never tried so just thinking aloud) use a layered shader and animated the blends on each frame to use a different bitmap. Alternatively, you could create 30 copies of the floor, each with a different material, and animate which floor is visible in each frame.


Many thanks...
Title: Re: Automate material change and rendering
Post by: Ealexander on 2019-02-05, 17:45:50
You could use the native Cinema Takes system for this  - set up each take with a different floor material and then you can "Render all Takes to PV" from the Takes menu.
Title: Re: Automate material change and rendering
Post by: intenta on 2019-02-05, 17:52:31

fantastic!
It was what I was looking for! Thank you