Hi, I have scenes with between 100 and 4000 meshes.
I have a function that allows to toggle between ‘show only’ a mesh and it’s children or ‘show the whole scene’. Some meshes must stay hidden at all times. Everything belongs to the same glb. Currently I go thru a list of meshes I turn on and off for the “see all” then go thru the children of that mesh the user wants to see only and toggle visible and enabled.
The loop that goes thru all the meshes to make them visible and enabled takes too long. Is there a way to have two “views” and just toggle between them? Or toggle between two render groups?