Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 18, 2020

Related issue: -

Description

I have a use case where I want to sample a mesh in order to produce a point cloud. Using MeshSurfaceSampler is perfect for this however it does not honor vertex colors. This PR adds the respective support.

It also makes targetNormal to an optional parameter since similar to color this value is not always required.

@Mugen87 Mugen87 requested a review from donmccurdy November 18, 2020 12:42
Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

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

Nice, the addition sounds good to me!

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Nov 18, 2020

BTW: I love this utility class 😊 .

@mrdoob mrdoob added this to the r123 milestone Nov 18, 2020
@mrdoob mrdoob merged commit daa6c50 into mrdoob:dev Nov 18, 2020
@mrdoob
Copy link
Owner

mrdoob commented Nov 18, 2020

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