Hi!
I want to apply textures to my .drc file but I am unable to do so. I cant se the traverse function.
So
dracoLoader.load( 'assets/model/model.drc', function ( mesh) {
mesh.traverse( function ( child ) { <------ This will get me a error this error
console.log(child.name);
});
Uncaught (in promise) TypeError: geometry.traverse is not a function
at script4.js:34
at THREE.DRACOLoader.decodeDracoFileInternal (DRACOLoader.js:139)
at DRACOLoader.js:108
I have tried to convert other models, but it is everytime the same error.
Should I keep in mind something while exporting the model from 3ds Max or am I doing something wrong here?
Thank you