AmbientRun / Ambient

The multiplayer game engine
https://ambient.run
Apache License 2.0
3.79k stars 122 forks source link

Test Ambient against these "tricky" FBX files #175

Open fire opened 1 year ago

fire commented 1 year ago

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.

FredrikNoren commented 1 year ago

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

fire commented 1 year ago

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