godotengine / godot-blender-exporter

Addon for Blender to directly export to a Godot Scene
GNU General Public License v2.0
1.16k stars 132 forks source link

Group instanced models support #130

Open samvila opened 5 years ago

samvila commented 5 years ago

At this moment the exporter doesn't consider any object instanced, to reproduce this just create a cube and add it into a group, then add some group instances of the cube on the scene and exporte the scene into godot with the exporter. You will notice that in Godot shows the group instances as Spatial 3D nodes but they are all empty.

This feature will be highly beneficial to have it specially for scenes with repeated objects and to save memory by having instanced models instead of real geometry during runtime.

Jason0214 commented 5 years ago

yep, there is no support for group instance for now and it would be beneficial to have it supported. Thank you for the suggestion!

Actually the exporter is well making use of instance, for example if you 'copy' a mesh with Alt+d, the two meshes would share the same mesh resource. But group instance is kind of different thing.