Itoo Software Forum

Author Topic: generating puzzle matte or multimatte for raiclone obejcts...  (Read 3038 times)

lukx

  • Full Member
  • ***
  • Posts: 167
    • lukxCGI
generating puzzle matte or multimatte for raiclone obejcts...
« on: September 04, 2019, 06:04:06 am »
I need to create Redshift puzzle mate fro raiclone objects. Is there a way to assign different object ID _from 1-100) to each generated (repeated) raiclone object?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #1 on: September 04, 2019, 07:57:11 am »
If i understood correctly then:


Rokas

lukx

  • Full Member
  • ***
  • Posts: 167
    • lukxCGI
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #2 on: September 04, 2019, 08:17:15 am »
But it's for material ID , is there anyway to do it for Object ID?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #3 on: September 04, 2019, 08:35:10 am »
What do You call object id?
You can use selector node to select from different object segments.
Rokas

lukx

  • Full Member
  • ***
  • Posts: 167
    • lukxCGI
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #4 on: September 04, 2019, 08:43:37 am »
I wan tto avoid creatin multisub object materials I just want one material.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #5 on: September 04, 2019, 12:57:51 pm »
OK, You call Object ID as  Gbuffer object ID, great.

Now reading Your first message again, I dont understand the problem:
You can assign object ID for each RailClone object just just like regular object:


If You want, You can speed up the manual process with maxscript line:
Quote
for i=1 to selection.count do selection.gbufferchannel = i
Rokas

Dragan

  • Hero Member
  • *****
  • Posts: 1475
Re: generating puzzle matte or multimatte for raiclone obejcts...
« Reply #6 on: September 04, 2019, 03:00:28 pm »
I think he has a 100 segment object with Objet ID _1-100...
So.. Selector will be an option.
« Last Edit: September 05, 2019, 10:25:08 am by Dragan »