We do this for executable code, is there any reason why we shouldn't do this for assets as well?
https://github.com/mrdoob/three.js/wiki/JSON-Geometry-format...
A 3d markup language that can be compiled? At least for prototyping, it might be useful, no?
Does that exist? Or is it a problem that's already been tossed around and buried?
Probably most the most commonly shared is something like the Tiled TMX format for tilemaps.
https://github.com/KhronosGroup/glTF
https://github.com/KhronosGroup/glTF/tree/master/specificati...
glTF is a great idea for providing a sensible interchange format for models though. Even this data usually gets converted into a custom binary format for the runtime engine to consume depending on use. Although as you note glTF has its own binary format and I understand it’s going to be improved with support for compression like Basis so perhaps that will reduce the need for custom formats for all but the most optimised cases.