We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a GltfModel Tag
<GltfModel src="./export-bibel-3/Bibel30kPBR_2048.glb" @load="onReady" @beforeLoad="initDraco()" @progress="onProgress" @error="onError" :rotation="{ x: 0, z: 0 }"/>
inside the tag I load the draco js.
const initDraco = () => { // loader const dracoLoader = new DRACOLoader(); console.log(dracoLoader) console.log(GltfLoader); dracoLoader.setDecoderPath('/examples/js/libs/draco'); ??????? }
but how can put the dracoLoader to the loader like in three.js loader.setDRACOLoader( dracoLoader );
The text was updated successfully, but these errors were encountered:
PR #185 is addressing this specific issue
I don't think it's possible for now, an alt solution would be to bypass troisjs's component and call the GLTF loader separately
Sorry, something went wrong.
No branches or pull requests
I have a GltfModel Tag
<GltfModel src="./export-bibel-3/Bibel30kPBR_2048.glb" @load="onReady" @beforeLoad="initDraco()" @progress="onProgress" @error="onError" :rotation="{ x: 0, z: 0 }"/>
inside the tag I load the draco js.
but how can put the dracoLoader to the loader like in three.js
loader.setDRACOLoader( dracoLoader );
The text was updated successfully, but these errors were encountered: