I understand that best is relative, so i left it like that.
I read this small article:
And from what is says, it seems that STL is a poor model choice.
It says that it does not support materials and textures, which i don’t know if it is an intrisic property of STL, but you sure as hell can load them with three.js
But STL wins, in term of file size.
So according to your experience, which is the model type that you prefer working with?
Any upsides or downsides? Any advantages in term of code simplicity, code size, or differences in properties?
Im no export here, but thats what I know.
Its one of the newest formats created and will therefore fit to nowadays standards and also be updated frequently.
It is written in JSON which works perfectly with JS.
It is small and fast and supports most of the materials used in major 3D Softwares.
There is also a GLB which is the binary version of GLTF.
Its possible to embed textures, having everything in one file.
Also this depends on what youre doing in your project. CAD is for creating 3D Objs that can be manufactured, so they use STL for 3D printing e.g.
glTF is rather for rendering scenes realistically