Skip to content

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.

2 participants