Skip to content
New issue

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

three.js loaders deprecated Dec 2020 #4703

Closed
kfarr opened this issue Oct 12, 2020 · 4 comments
Closed

three.js loaders deprecated Dec 2020 #4703

kfarr opened this issue Oct 12, 2020 · 4 comments

Comments

@kfarr
Copy link
Contributor

kfarr commented Oct 12, 2020

Description:
In console, threejs loader deprecation warning for draco, gltf, etc.

DRACOLoader.js:1 THREE.DRACOLoader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installation.

GLTFLoader.js:1 THREE.GLTFLoader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installation.

OBJLoader.js:1 THREE.OBJLoader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installation.

MTLLoader.js:1 THREE.MTLLoader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installation.

@kfarr
Copy link
Contributor Author

kfarr commented Oct 12, 2020

Related three.js discussion:
mrdoob/three.js#20455

@dmarcos
Copy link
Member

dmarcos commented Oct 12, 2020

It looks examples/js won't be deprecated after all? mrdoob/three.js#20455 (comment)

@kfarr
Copy link
Contributor Author

kfarr commented Oct 12, 2020

Agreed, seems like it's paused, so I would expect the deprecation notice to be removed in subsequent three releases, will mark as closed until it comes up again.

@kfarr kfarr closed this as completed Oct 12, 2020
@arpu
Copy link
Contributor

arpu commented Oct 12, 2020

in the long run would be nice to use the Named imports from three

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants