phantamanta44 / tinkers-evolution

the fresh new tinkers' construct addon
https://www.curseforge.com/minecraft/mc-mods/tinkers-evolution
Other
24 stars 15 forks source link

`tconevo.integration.avaritia.client.AvaritiaToolModel.bake()` takes too long, about 5 seconds #140

Closed Krutoy242 closed 7 months ago

Krutoy242 commented 7 months ago

Considering my Spark game load profile, AvaritiaToolModel.bake() function alone took about 5 seconds. If its true, Its too much for one material.

image

https://spark.lucko.me/wycUXOGdml

debug-4.log.gz

I don't know backend of MC or TConEvo, so i understand that it could be false alarm.

But if its actually TConEvo problem, I would like if one material doesn't add 5 seconds to my game load (its about 1%).

If nothing could be improved in building code, I would like to be able to disable fancy custom textures OR disable whole Avaritia module.

phantamanta44 commented 7 months ago

tconevo replaces ALL tool models with its custom wrappers; that's not just the baking time for the infinity material, but for all tool materials. it shouldn't significantly impact performance, but you can disable this behaviour by setting useFancyModelRenders to false in the config