I changed the “fbx” file to “gltf” through Blender.
But when I import it on the blender, I can’t see the texture.
This is a 3D modeling object received from the address below.
https://www.turbosquid.com/3d-models/3d-xfrogplants-new-zealand-flax-phormium-tenax-1737608#
Does the fbx file refer to the image in the maps folder and coat it with textures?
I was stuck in this part while studying by the Babylon document.
And there’s an error below.
error) babylon.js:16 Uncaught (in promise) RequestFileError: Error status: 0 - Unable to load
//this code is not working
const baseUrl2 = "https://raw.github.com/{myGithubName}/{myRepositoryName}/{myBranch}/phormium_tenx_1/"
SceneLoader.ImportMeshAsync("", baseUrl2, "flower.gltf", scene).then(function (result) {
console.log(result,"result")
result.meshes[0].position.x = 0.01;
})
//this code is work well
SceneLoader.LoadAssetContainerAsync("https://playground.babylonjs.com/scenes/", "skull.babylon", scene).then(function (container) {
container.addAllToScene();
});