17-05-2023, 03:33 PM
(This post was last modified: 17-05-2023, 03:33 PM by josemendez.)
(17-05-2023, 10:26 AM)OurObiForumUser Wrote: I profiled the scenes again.
One can clearly see the 32 UpdateClothRenderer calls in both images.
(EDIT: Not getting images to work. Am trying.)
Both links to the images are dead, not sure if you removed the images after posting the links or if they didn't work beforehand either. Pasting any link to an image with the tags should work.
(17-05-2023, 10:26 AM)OurObiForumUser Wrote: In the benchmark scene these 32 calls take approximately 550 μs.
In my custom scene, they take about 1650 μs.
The mesh used in my scene is procedurally generated. I can not imagine that this could make a difference.
One more thing to note: I have two seperate vertex groups with one independent hook applied (particle attachments) on each of the 32 cloth patches. I reduced those to one without effect.
What other factors could you think of, that could cause these results?
Assuming both ObiClothRenderers (yours and the ones in the sample scene) are using the same tangent update method, only difference I can think of is the complexity of the meshes. How many vertices/triangles in your procedural mesh, compared to the one used in the sample scene?
kind regards,