-
Blender has a built in GLTF exporter with support for a huge amount of things (animations, shading, lights etc.), so I'm just wondering why this project wrote it's own GLTF exporter? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Good question! Blender does have a fully featured glTF exporter, but because it's implemented in Python it has a performance disadvantage compared to Arsenal's which is written in Rust. In a scene with 376,000 vertices made up of 47 subdivided monkey heads, our glTF exporter finishes exporting the entire scene in 12 seconds. In contrast, the official glTF Blender plugin takes 264 seconds to export the same scene on the same computer. That makes our exporter 22 times faster! And that's without even integrating a build cache so that only the models that you change are re-exported. Other than speed, in the future Arsenal will be probably exporting meshes as GlTF, but will be using a custom scene format to put all the meshes/lights/etc. into the scene for loading by the game engine core. Because of this, we probably won't use the GlTF format for the entire scene and things like lights and other non-mesh objects will be put into the custom scene format that can include all the extra data we need such as scripting information, custom components, etc. It will take a bit more work on our part to make the exporter, but we really wanted Arsenal to be able to export even large scenes very efficiently without haivng to make you wait any longer than absolutely necessary. |
Beta Was this translation helpful? Give feedback.
Good question! Blender does have a fully featured glTF exporter, but because it's implemented in Python it has a performance disadvantage compared to Arsenal's which is written in Rust.
In a scene with 376,000 vertices made up of 47 subdivided monkey heads, our glTF exporter finishes exporting the entire scene in 12 seconds. In contrast, the official glTF Blender plugin takes 264 seconds to export the same scene on the same computer. That makes our exporter 22 times faster! And that's without even integrating a build cache so that only the models that you change are re-exported.
Other than speed, in the future Arsenal will be probably exporting meshes as GlTF, but will be using a custom s…