Apologies if this is a complete invalid question, but I was wondering, can you get the model details via threejs like texture size, triangles etc. and then display those to the front end? Or would this be something a viewer would handle?
Yep - you can get all of that information by traversing the loaded model.
Each child mesh has a geometry prop - which includes things like vertices and triangles (ie. faces) - as well as material - which contains all the attached textures.
For each texture, you should be able to read the resolution from .image property (it’s just a standard HTML Image element that has a width and height in pixels.)
2 Likes
https://gltf.report/ is legit, give it a try.