You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here is my import
import { BoxGeometry, MeshBasicMaterial, Mesh, BoxHelper,GLTFLoader} from 'three';
here is the part that i add in render 3d:
let loader = new GLTFLoader();
loader.load(
'models/out.glb', function (gltf) {
let model = gltf.scene;
}, undefined, function (error) {
console.error(error);
});
it broke down when i try 3d view even when i don't load the model in Promise.resolve(mesh);
it only works after i delete the above codes. So is there any alternative way to import 3d model?
The text was updated successfully, but these errors were encountered:
here is my import
import { BoxGeometry, MeshBasicMaterial, Mesh, BoxHelper,GLTFLoader} from 'three';
here is the part that i add in render 3d:
let loader = new GLTFLoader();
it broke down when i try 3d view even when i don't load the model in Promise.resolve(mesh);
it only works after i delete the above codes. So is there any alternative way to import 3d model?
The text was updated successfully, but these errors were encountered: