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

Added VOXLoader #19946

Merged
merged 1 commit into from
Jul 28, 2020
Merged

Added VOXLoader #19946

merged 1 commit into from
Jul 28, 2020

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Jul 28, 2020

Added basic support for loading models from Magica Voxel.

Screen Shot 2020-07-29 at 12 31 54 AM

@mrdoob mrdoob added this to the r119 milestone Jul 28, 2020
@mrdoob mrdoob merged commit 3322f52 into dev Jul 28, 2020
@mrdoob mrdoob deleted the vox branch July 28, 2020 20:47

constructor( manager?: LoadingManager );

load( url: string, onLoad: ( geometry: BufferGeometry ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ): void;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The onLoad parameter is not really BufferGeometry, it looks like?

Copy link
Owner Author

@mrdoob mrdoob Jul 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! Will fix.
Returning an array of objects for now as the data can be used in different ways.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: 804a166

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.

2 participants