Author Topic: Automate material change and rendering  (Read 1994 times)

2019-02-05, 15:48:51

intenta

  • Users
  • *
  • Posts: 3
    • View Profile
I need to render a scene 30 times by changing only the floor material ... is there a way to automate the whole process?
Thanks!!!!!!!

2019-02-05, 15:54:39
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6144
    • View Profile
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.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-02-05, 16:08:09
Reply #2

intenta

  • Users
  • *
  • Posts: 3
    • View Profile
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...

2019-02-05, 17:45:50
Reply #3

Ealexander

  • Active Users
  • **
  • Posts: 176
    • View Profile
    • evan alexander
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.

2019-02-05, 17:52:31
Reply #4

intenta

  • Users
  • *
  • Posts: 3
    • View Profile

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