Chaos Corona for Cinema 4D > [C4D] I need help!

Accessing and adding to Multi-Pass via Python

(1/2) > >>

JPeters:
Hi guys,

Tried searching around a bit but could not find anything on it.

I am trying to access Multi-Pass via Python, add some Masks with Object ID/ Material ID and unique names.

The script log gives me some pointers on how to address the individual properties but not how to initially enable multipass (it's normally disabled by default in a new scene) and add a new mask.

Any pointers?

Cheers!

John_Do:
I wrote something to do exactly that, do you want to do something like this ?



JPeters:
Hi John_Do,

Yes, indeed I want to make something very similar :)

Do you mind sharing a bit of the code or giving me a pointer to where I can find documentation?

John_Do:
Hi,

There is no documentation for this stuff, but you can find some hints in the description files stored in the Corona plugin folders ;)

I get back later today with the code and some explanations.

m4drid:
I hope it was helpful

Navigation

[0] Message Index

[#] Next page

Go to full version