Export GeoModel to glTF
Cc: @emoyse
I have started exploring the possibility to export GeoModel-based detector geometries to glTF. This would be extremely useful to render geometries in external tools (like Blender) and to use the detector geometry in web-based/glTF-based event displays like the HSF Phoenix.
From a first investigation, it seems that glTF does not have support for "geometry primitives"; i.e., it does not have the notion of Box, Cone, Sphere as objects. glTF is only supposed to store base 3D entities as vertices, faces, etc...
Also, it seems there is no public "collection", or "library", gathering "standard" representations of primitive shapes. So, every shape GeoModel implements should be defined in glTF from basic 3D entities from scratch.
I got the suggestion to create the basic shapes in Blender and then export them to glTF to have a base to start from. I think that's a good suggestion.