-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
simplify: attribute weighted simplification #1335
Comments
Not yet exposed – see #1153. It's marked as an 'experimental' feature, so we would need to do something like that here, as I assume the meshoptimizer API could change at any time. In the meantime, vertex colors only factor in to the extent that they limit welding vertices before simplification. |
Ok - thanks for the link! |
Here's also another very very simple model where this would help (it would probably not remove any vertices in this simple case) |
Also have a look at #992 |
It looks like there are breaking changes planned for the simplifyWithAttributes API, which is still experimental: I think the rest of this task – supporting simplifyWithAttributes — will need to wait for a 4.1+ release. |
In case it is useful to the discussion, a recent meshoptimizer PR exposed
|
@jo-chemla |
Hello, currently simplify doesn't take vertex colors into account. Looks like meshoptimizer added this feature recently. Is this already exposed/available in gltf-transform?
zeux/meshoptimizer#652 (comment)
The text was updated successfully, but these errors were encountered: