Three.js: Missing CSM Implementation

Created on 29 Aug 2020  ·  5Comments  ·  Source: mrdoob/three.js

It appears that the CSM example code is only available for module based js code? I do not see it in the examples/js directory only examples/jsm.

I would like to add this to my project but refactoring the whole thing to use modules seems like a rather daunting task.

Is there a plan to add this to the standard js folder?

Most helpful comment

All good. I now have a working test build of my app using modules. Wasn't all that bad actually once I learned it (damn three.js always making me learn stuff).

All 5 comments

There's not -- and according to the warning in the /js scripts the non module example files will be removed from future releases starting in December.

If you need some of the examples/jsm scripts in something like a UMD or global script format I'd use rollup.js to convert just the files you need.

Oof... Ok, thanks man.

You can't please everyone 🤷‍♂️

All good. I now have a working test build of my app using modules. Wasn't all that bad actually once I learned it (damn three.js always making me learn stuff).

damn three.js always making me learn stuff

that's what I tell myself every day 😁

Was this page helpful?
0 / 5 - 0 ratings

Related issues

filharvey picture filharvey  ·  3Comments

Horray picture Horray  ·  3Comments

ghost picture ghost  ·  3Comments

jlaquinte picture jlaquinte  ·  3Comments

jack-jun picture jack-jun  ·  3Comments