How can I render mattes for materials that use poly selectio

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
granthoki
Licensed Customer
Posts: 3
Joined: Wed Jul 29, 2015 12:47 am

I have a model with several materials applied using poly selections. I don't need a matte for the entire model, just two of the materials. Is it possible to kick out mattes this way?
3930k | 32G | Asus Sabertooth x79 | 3 x 980ti
granthoki
Licensed Customer
Posts: 3
Joined: Wed Jul 29, 2015 12:47 am

Thanks for the reply! I'm a little confused with the technique you linked to. The object tag sees the object as a whole, while I need mattes for different textures assigned with poly selections on the same object.
3930k | 32G | Asus Sabertooth x79 | 3 x 980ti
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
sorry, my fault, didn’t read too carefully.
In this case, a solution is to create a take with all diffuse materials, and assign a glossy with Index 8 to the poly selection, then use the Material passes like Material Reflection,mor IOR, to obtain the mask:
DF51EF7A-40C5-43E9-BA0E-EE14AF17E590.jpeg
You can use different IOR settings to obtain more than one gray selection.
ciao Beppe
ceen
Licensed Customer
Posts: 113
Joined: Wed Jun 10, 2015 9:43 pm

Hi,

did something change here n the last releases? Is it possible to make a multipass mask from poly selections?
3080ti
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

ceen wrote:Hi,

did something change here n the last releases? Is it possible to make a multipass mask from poly selections?
what's up with material masks?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
ceen
Licensed Customer
Posts: 113
Joined: Wed Jun 10, 2015 9:43 pm

aoktar wrote:
ceen wrote:Hi,

did something change here n the last releases? Is it possible to make a multipass mask from poly selections?
what's up with material masks?
You mean MatID? BW masks are a bit easier to handle. More clean sometimes.
3080ti
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
for Polygon Selection mask, you can use the CryptoMaterialPinName pass:
2ED10AE0-7A1A-4D50-8218-E5B4C1E2290C.jpeg
ciao Beppe
ceen
Licensed Customer
Posts: 113
Joined: Wed Jun 10, 2015 9:43 pm

bepeg4d wrote:Hi,
for Polygon Selection mask, you can use the CryptoMaterialPinName pass:
2ED10AE0-7A1A-4D50-8218-E5B4C1E2290C.jpeg
ciao Beppe
Awesome. Thx!
3080ti
Post Reply

Return to “Maxon Cinema 4D”