Ambient icon indicating copy to clipboard operation
Ambient copied to clipboard

FBX native support

Open fire opened this issue 3 years ago • 2 comments

We had a lot of trouble getting assimp to work with FBX.

https://sketchfab.com/3d-models/sensei-4-cc86a15388ab403baff5c7a4b4d3eefc this was one of the tricky test models. I can spend some time throwing my 3d asset library at ambient. If you can link me to windows 11 binaries and a script that I can point to a folder recursively.

We decided to go with an external executable approach which won't work for an engine that transfers WASM from the server to the client on client join.

https://godotengine.org/fbx-import/

Let me know if you want more FBX test models etc.

fire avatar Feb 25 '23 22:02 fire

Hi, that would be great! We do have a native FBX implementation too (https://github.com/AmbientRun/Ambient/tree/main/crates/model_import/src/fbx) so would be great to battle test it a bit.

You can download the latest windows binary here: https://github.com/AmbientRun/Ambient/releases You can see an example of asset loading here: https://github.com/AmbientRun/Ambient/tree/main/guest/rust/examples/asset_loading The main thing is the assets/pipeline.json which describes how to import an asset. You can find the docs for that here: https://ambientrun.github.io/Ambient/reference/asset_pipeline.html

FredrikNoren avatar Feb 26 '23 07:02 FredrikNoren

I'm not able to help as much as I wanted due to recent circumstance.

Here are a list of fbx test samples. https://github.com/assimp/assimp-mdb/tree/master/model-db/fbx

fire avatar Feb 26 '23 16:02 fire