So you mean after the game has loaded them? Well what i can suggest is im not sure if you can do exactlly that but i can suggest disabling the json and the enable it at runtime
But from my point of view, it’s a bit too complex (convert FBX to GLTF, GLTF to JSON). I’m sure there is an easiest way to do that, since the editor can handle that very fast.
The editor does the FBX to JSON on the backend server (you upload the FBX, the server gets a request to convert which uses a commandline tool most likely and adds the JSON to the project). It doesn’t do the conversion in the browser which seems to be what you are asking?
It is possible to do yourself and probably in the browser (despite being slow) but you would have to write the convertor yourself. It isn’t an off the shelf solution.
Maybe? I would expect it to need an auto token? I would also doubt it do a JSON asset response. It is more likely to upload it to the server where the editor can access it.
You be better off going from FBX to GLTF to be honest. More convertors available freely online and it handles all the texturing too.
I figured out how to POST a request to the server to get the conversion but I received an Unauthorized access. So the tool is there but not publicly available.
yaustar:
You be better off going from FBX to GLTF to be honest. More convertors available freely online and it handles all the texturing too.
Do this mean that we can show/use directly GLTF model without any conversion to a JSON format? If yes, maybe I can ask my 3D artist to export directly in that format, removing completely my need to create/use a converter tool.