Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: frodo on January 19, 2024, 03:17:30 pm

Title: Slow material assigment
Post by: frodo 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?
Title: Re: Slow material assigment
Post by: Michal Karmazín 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,
Title: Re: Slow material assigment
Post by: frodo on January 19, 2024, 04:56:06 pm
That is what I meant, reassigning material directly on custom objects.
Title: Re: Slow material assigment
Post by: frodo 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
Title: Re: Slow material assigment
Post by: frodo on May 09, 2024, 01:39:57 pm
Maybe its because forest multisub automat material its rebuilding somehow wrong?
Title: Re: Slow material assigment
Post by: Michal Karmazín 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 (https://forum.itoosoft.com/faq/how-to-send-a-file-to-itoo-software/), 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,
Title: Re: Slow material assigment
Post by: frodo 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.
Title: Re: Slow material assigment
Post by: Michal Karmazín 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,
Title: Re: Slow material assigment
Post by: frodo 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.
Title: Re: Slow material assigment
Post by: Michal Karmazín 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,
Title: Re: Slow material assigment
Post by: frodo on June 25, 2024, 02:48:37 pm
Thanks. I thought its linked to forest automat material ;)
Title: Re: Slow material assigment
Post by: frodo on August 30, 2024, 05:21:35 pm
Hello some news in this topic?
Title: Re: Slow material assigment
Post by: iToo on August 31, 2024, 08:33:23 am
No, i'm sorry. We have been very busy with the FP9 release and could not check this.
I will try to take a look to it in the next days.
Title: Re: Slow material assigment
Post by: iToo on September 02, 2024, 11:27:57 am
Fixed for next FP9 update.
Title: Re: Slow material assigment
Post by: frodo on September 10, 2024, 10:13:02 am
Great, thank you.