donmccurdy/glTF-Transform

Expose `simplify` flags

Open

#1,706 opened on Aug 20, 2025

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (196 forks)auto 404
featurehelp wantedpackage:functions

Repository metrics

Stars
 (1,922 stars)
PR merge metrics
 (PR metrics pending)

Description

Hello @donmccurdy

I would like to start supporting the latest meshoptimizer 0.25 version while still using the gltf-transform API to handle everything around it.

For that I believe the simplifyPrimitive function needs to expose the flags array:

Contributor guide