Itoo Software Forum

Author Topic: Slow material assigment  (Read 8752 times)

frodo

  • Newbie
  • *
  • Posts: 42
Slow material assigment
« on: January 19, 2024, 03:17:30 PM »
Hi I have problem when forest use a lot of scatter asstest and you want to reassign material on those assets. It takes literaly ages. Any ideas?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2595
Re: Slow material assigment
« Reply #1 on: January 19, 2024, 03:23:40 PM »
Hi,

There's no need to modify materials linked to these items under Custom Object(s) - Material. If there isn't any material assigned under Forest's Geometry > Material, the Forest object obtains the material directly from the Custom Object(s). You might find this way more flexible.

I hope that helps.

Best regards,

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #2 on: January 19, 2024, 04:56:06 PM »
That is what I meant, reassigning material directly on custom objects.

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #3 on: May 09, 2024, 01:38:38 PM »
Hi again, I'm back after a while.
This issue really slowing me down can someone check it?

Example.
1) Forest object with 30 obejects.
2) Each object have its own material, no material overrides inside forest object.
3) Each material is quite complex, blend, multisub, etc. 20+ SME nodes each.
4) I have to change all the materials on object from this forest object. Word change is important because I reaasigning each material and not modifying current one.
5) This reassigment takes ages. 20+ minutes

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #4 on: May 09, 2024, 01:39:57 PM »
Maybe its because forest multisub automat material its rebuilding somehow wrong?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2595
Re: Slow material assigment
« Reply #5 on: May 09, 2024, 01:47:59 PM »
I'm sorry to hear that you're facing these troubles. If you can reproduce these troubles in a minimal scene that you can send to us, it would be greatly appreciated.

Thank you in advance for any additional comments you may have regarding this issue that you can share with us and our user community (in case some users will encounter similar difficulties).

Best regards,

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #6 on: June 25, 2024, 09:42:21 AM »
Hi,
sorry for such a late reply I was quite bussy :/ Here is the test scene its in Max24 and Forest 8.2.6.
It really simple and if you try to reassign material on all those teapots it took 30s which is not that bad (but slow anyway), but if you increate number of teapots to for example 100 or make the material complex you can wait even 20 minutes.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2595
Re: Slow material assigment
« Reply #7 on: June 25, 2024, 11:02:47 AM »
Thank you for providing the scene. Unfortunately, there isn't much more we can do from our side. The reassignment of object materials takes time even without any Forest objects in the scene, and our tests show no additional performance hit when using Forest objects. However, using the Material slot within the Forest object to override the material "internally" performs the reassignment almost instantly and would be the recommended approach.

I hope that helps.

Best regards,

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #8 on: June 25, 2024, 12:48:19 PM »
Are you sure? I jus copied the teapot to have 300 object and reassigning material on all of the took 20s, buf if those objects are inside FP its impossible to reassing material.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2595
Re: Slow material assigment
« Reply #9 on: June 25, 2024, 02:13:49 PM »
Thank you for your swift reply. After increasing the number of objects, I noticed the performance difference. To mitigate this, you can temporarily disable the Consolidate Materials (automaterial) feature and re-enable it after making all material changes. Our main developers will investigate this further to determine what can be done in future versions. We greatly appreciate your feedback, as it is very important to us.

Best regards,

frodo

  • Newbie
  • *
  • Posts: 42
Re: Slow material assigment
« Reply #10 on: June 25, 2024, 02:48:37 PM »
Thanks. I thought its linked to forest automat material ;)