Remesh children individually

Hi,
I’m looking for a way to remesh children and their sub-children individually.
Lets say I have an object with 5 children which in turn have X children each. I now want to apply a remesh operation on the first-level-children so they get merged together and remeshed with all of their sub-children. In the end I expect to have one root object with 5 children that are remeshed.
I coudn’t figure out a way to do this and would be gratefull for any help. Or do I need to write custom functions via the c++ SDK?
I’m using InstaLOD studio for prototyping as well as InstaLOD pipeline.

Hello @jakob and welcome to our community!

I’d be glad to help you in creating an InstaLOD profile that can remesh the top level of children and their sub-children individually. This profile can be used in both InstaLOD Studio and InstaLOD Pipeline.

To remesh the top level of children, we can first combine them with their sub-children using a scene rule. Scene rules are executed on the entire scene when it is imported into InstaLOD first and are executed before the mesh operations in a profile such as “Remesh”.

The Predicate can be set to CombineMeshes , and the Attribute is Node.ChildCount . The Match Value can be set to >= 1 so that all children with one or more sub-children will be combined.

After the scene rule is executed, the scene hierarchy will only contain the 5 top level children objects.

Next, in the Profile Settings panel, we can disable Global Scope . This tells InstaLOD to run mesh operations on each individual submesh in the scene separately.

CleanShot 2025-02-05 at 09.27.22

Then we can add a Remesh mesh operation and configure its settings accordingly.

Clicking Start to perform the mesh operations will run the Remesh operation on each of the 5 submeshes in the scene individually.

You can reuse this profile in InstaLOD Studio by dragging it into the UI to load it, then dragging a scene into the viewport. After dragging in the scene, a popup will appear asking if you’d like to run the scene rules initially to combine the sub-children, or you can manually run them in the Scene Rules tab on the right.

Or, you can load the profile into InstaLOD Pipeline where the scene rules will apply automatically.

I hope this helps and if you have any questions, please don’t hesitate to ask.

Thanks!

That worked, thanks a lot. The Global Scope setting was the piece of the puzzle I was missing

1 Like

You’re very welcome! :smiling_face: