Three.js: webgl_loader_ctm broken

Created on 11 Aug 2019  路  7Comments  路  Source: mrdoob/three.js

Description of the problem

Can't find examples/jsm/loaders/ctm/CTMLoader.js (current dev)
Used to work in r107

Hinted at in #17061, maybe related to c4f53e0b4afe365d94da9230d2c9273a57c0561f? The commit message for that is

# Conflicts:
#   examples/webgl_loader_ctm.html
Three.js version
  • [x] Dev
  • [ ] r107

Most helpful comment

thx锛宼hat's works.But I still don't understand why you remove the CTM loader .

Because GLTF+Draco is a better fit for what CTM tried to solve.

All 7 comments

CTMLoader was removed in #16949.

The change is also noted in the migration guide:

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r107--r108

Oh I see, I was testing by looping over examples/*.html. Didn't realize webgl_loader_ctm is no longer listed in files.js - sorry.

What if I want to load a ctm file now?

It's best to checkout R107 and copy the CTM files to your application code.

It's best to checkout R107 and copy the CTM files to your application code.

thx锛宼hat's works.But I still don't understand why you remove the CTM loader .

thx锛宼hat's works.But I still don't understand why you remove the CTM loader .

Because GLTF+Draco is a better fit for what CTM tried to solve.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clawconduce picture clawconduce  路  3Comments

scrubs picture scrubs  路  3Comments

filharvey picture filharvey  路  3Comments

zsitro picture zsitro  路  3Comments

konijn picture konijn  路  3Comments