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

Examples: Removed BufferSubdivisionModifier #14397

Merged
merged 1 commit into from Jul 2, 2018
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 29, 2018

This PR removes BufferSubdivisionModifier. webgl_modifier_subdivision now use SubdivisionModifier.

I'd like to remove this class since it uses BufferGeometry in order to implement a modifier. I don't think this is a good approach since BufferGeometry is not intended for complex topological operations. It is focused on representing geometry data for rendering.

Geometry with its face abstraction performs better in context of modifiers. Depending on the use case, modifiers should use a half-edge data structure or something similar for a more sensible implementation (see QuickHull).

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 29, 2018

@mrdoob
Copy link
Owner

mrdoob commented Jul 2, 2018

Sounds good to me!

@mrdoob mrdoob added this to the r95 milestone Jul 2, 2018
@mrdoob mrdoob merged commit 7d58454 into mrdoob:dev Jul 2, 2018
@mrdoob
Copy link
Owner

mrdoob commented Jul 2, 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.

None yet

2 participants