Itoo Software Forum

Author Topic: Does the Material operator work with nested generators? (Arnold)  (Read 422 times)

tonyinseattle

  • Newbie
  • *
  • Posts: 25
Hey there...

Does the Material operator work with nested generators? If so, what am I doing wrong?

I have a wedge-shaped segment that is assigned material 1. I've applied a multi-subobject material to it that only uses slots 2, 3, and 4.

I've set up an A2S array with x and y splines. Then I've nested that in a line generator to stack the arrays vertically.

I've set a Material operator just before the segment to change the material ID randomly from 1 to 2, 3 or 4.

If I kill the line generator, I get a nice array of wedges with random materials 2, 3, and 4.

But with the line generator, no material IDs are changed. The nesting kills it.

I've tried this both with Instancing on and off. Any ideas?

Railclone 5.0.9
Max 2022

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Does the Material operator work with nested generators? (Arnold)
« Reply #1 on: January 21, 2022, 06:22:51 AM »
Hi,
It's a bug. I think it will be fixed soon.
Same issue :
https://forum.itoosoft.com/railclone-pro/nested-generator-material-id-inheritance/
« Last Edit: January 21, 2022, 12:05:28 PM by Dragan »

Adnan Malkoç

  • Newbie
  • *
  • Posts: 44
Re: Does the Material operator work with nested generators? (Arnold)
« Reply #2 on: January 21, 2022, 01:25:26 PM »
Hi!

I believe your problem with material IDs will be solved with new 5.1.1 update.


tonyinseattle

  • Newbie
  • *
  • Posts: 25
Re: Does the Material operator work with nested generators? (Arnold)
« Reply #3 on: January 21, 2022, 03:36:28 PM »
Thanks to both of you! I tried searching for a solution prior to posting, but did not find the other post. Any ideas when 5.1.1 will be released? If it’s going to be a while, I might ask for a patch also, like you provided in the linked post above. Thanks!

Adnan Malkoç

  • Newbie
  • *
  • Posts: 44
Re: Does the Material operator work with nested generators? (Arnold)
« Reply #4 on: January 21, 2022, 03:39:19 PM »
It is already released. Please check for download section.