question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DRACOLoader: exposing _initDecoder as public method

See original GitHub issue

Previously one could call THREE.DRACOLoader.getDecoderModule() to preload the DRACO libraries, but there is no respective public instance method on the current DRACOLoader module. However, the private method _initDecoder seems to accomplish preloading. Would it be possible to make this method public or make a public wrapper for it?

https://github.com/mrdoob/three.js/blob/219e3c1bc24163e2c31ab6f5cf4bb66f81b689bc/examples/jsm/loaders/DRACOLoader.js#L230

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
donmccurdycommented, Nov 20, 2019

Please do! 😃

0reactions
donmccurdycommented, Nov 25, 2019

Thanks @TyLindberg!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DRACOLoader – three.js docs
A loader for geometry compressed with the Draco library. Draco is an open source library for compressing and decompressing 3D meshes and point...
Read more >
How to use DRACOLoader with GLTFLoader in ReactJs?
Here is how I got the Draco decoder path working. In your app's public folder, create a new folder called draco . Download...
Read more >
DRACO Loader - Three.js Tutorials - sbcode.net
The DRACO loader is used to load geometry compressed with the Draco library. Draco is an open source library for compressing and decompressing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found