Hello everyone,
I’m trying to load my PLY compressed files with draco (.drc) with DracoLoader from a buffer not a path, I tried to use the parse method but apparently it doesn’t exist in DracoLoader since I have this error when I tried to use it, Uncaught TypeError: dracoLoader.parse(…) is undefined
here’s the my DracoLoader code :
async function loadVolumetric(){ for (let i = 0;i<1;i++){ dracoLoader.loadAsync( 'models/ply/ply/lootout'+i+'.drc') .then( geometry =>{ geometry.scale(0.0006,0.0006,0.0006) frames[i]= new THREE.Points( geometry, dotMaterial ); loadedframe ++ ; }) ; } }
Could you help me please use a parse or a URL.createObjectURL
method in this case?