I want to load a 3d modeling image from Babylon.js, what should I do?

I want to load a 3D modeling image from Babylon.js.
Loading the FBX file locally does not work.
So I upload it on “aws s3” and used it. As follows

SceneLoader.ImportMeshAsync("", "https://{mys3url}/Myimage.FBX", "Myimage")

Isn’t this how you use it?
I received a free 3D file, but I downloaded a zip file containing various images and FBX files. Should I load the zip file?

The error below occurs.

Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.importMesh (babylon.js:16)
    at babylon.js:16
    at f (babylon.js:16)
    at e (babylon.js:16)
    at XMLHttpRequest.g (babylon.js:16)

I would like to create web games such as multi-play Minecraft with Babylon JS, so please recommend a simple example.

Babylon doesn’t have an FBX loader, so you can’t load FBX even if the file is accessible.
We do support glTF, obj, stl, and our own .babylon format.

You can easily convert your FBX to these formats using Blender (File > Import, then File > export :upside_down_face: [open the Shading workspace to tweak materials if needed]).

1 Like

Thank you for your answer.

Thank you for the tip.