Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 5, 2018

XLoader already created a BufferGeometry but internally used Geometry as an intermediate data structure. The PR removes the usage of Geometry. In this way, the loader allocates much less memory and is also faster.

/cc @adrs2002

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 5, 2018

@adrs2002
Copy link
Contributor

adrs2002 commented Jun 5, 2018

excellent!
I look up and study to your PR

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 5, 2018

Cool! A review would be great 😊

@Mugen87 Mugen87 changed the title XLoader: Remove dependecy to Geometry XLoader: Remove dependency to Geometry Jun 5, 2018
@mrdoob mrdoob added this to the r94 milestone Jun 5, 2018
@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 12, 2018

@adrs2002 Is a merge okay from your point of view?

@adrs2002
Copy link
Contributor

@Mugen87
Yes, by all means!

@mrdoob mrdoob merged commit cf4908d into mrdoob:dev Jun 14, 2018
@mrdoob
Copy link
Owner

mrdoob commented Jun 14, 2018

Thanks!

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 14, 2018

@mrdoob With this PR merged, BinaryLoader is the last loader in examples/js/loaders/ which generates THREE.Geometry 🎉

@mrdoob
Copy link
Owner

mrdoob commented Jun 14, 2018

@Mugen87 Yay! 🎉

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

Successfully merging this pull request may close these issues.

3 participants