Skip to content

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 2, 2018

VTKLoader already used BufferGeometry for most part of the implementation. But for creating a geometry with face colors, the loader used Geometry so far. This is now done via BufferGeometry by converting the geometry to a non-indexed one and expanding the new color buffer data.

/ping @andreyyudin

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 2, 2018

The bunny partly uses the new code path. Unfortunately, I've found no (ASCII) VTK assets with colors.

@andreyyudin
Copy link
Contributor

This looks good to me.

Unfortunately, I cannot help with VTK test asset with colors. We are using VTP files without any color specifications in them and Paraview seems to be outputting VTK files without color scalars.

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 4, 2018

@andreyyudin Thanks for your feedback.

@mrdoob mrdoob added this to the r94 milestone Jun 4, 2018
@mrdoob mrdoob merged commit 31222d8 into mrdoob:dev Jun 4, 2018
@mrdoob
Copy link
Owner

mrdoob commented Jun 4, 2018

Thanks!

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