When the object has a modifier, instancing it via group collection still produces multiple meshes even if "Apply Modifiers" checkbox is checked.
Repro:
- Ctrl+2 - Apply sub div modifier to a default cube
- Ctrl+G -> Create "CubeCollection"
- Shift+A -> Collection instance -> CubeCollection
- Export to gltf with "Apply Modifiers" on.
This is what you get:
"nodes":[
{
"mesh":0,
"name":"Cube"
},
{
"mesh":1,
"name":"Cube"
},
{
"children":[
1
],
"name":"CubeCollection",
"translation":[
-2.7222368717193604,
0,
-4.626335620880127
]
}
],
The created cube doesn't use "0" mesh, it has its own mesh. Making more collection instances makes even more meshes.
Expected behavior
The mesh shouldn't be duplicated in gltf file and should be reused instead.
.blend file/ .gltf
Here
Version
- OS: Debian GNU/Linux 12 (bookworm)
- Blender Version 3.6.0 LTS
When the object has a modifier, instancing it via group collection still produces multiple meshes even if "Apply Modifiers" checkbox is checked.
Repro:
This is what you get:
The created cube doesn't use "0" mesh, it has its own mesh. Making more collection instances makes even more meshes.
Expected behavior
The mesh shouldn't be duplicated in gltf file and should be reused instead.
.blend file/ .gltf
Here
Version