diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-04-09 22:44:36 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-05-22 08:58:50 -0700 |
commit | fc8ea1d828a6b00c3c0ac0ed31c45fdad61a0c9c (patch) | |
tree | 87d92ae27cf53e92b9dfa09ae17fa2d293d8bf97 /modules | |
parent | 4828667759bca621570862d05e95316235bb05e4 (diff) |
Update with experimental mesh optimizer.
Normals being optimized has better quality now.
Test simplify once and then use a slightly less tolerant
error for the target error.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/meshoptimizer/register_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/meshoptimizer/register_types.cpp b/modules/meshoptimizer/register_types.cpp index a03310f518..77cc82a4e2 100644 --- a/modules/meshoptimizer/register_types.cpp +++ b/modules/meshoptimizer/register_types.cpp @@ -35,6 +35,7 @@ void register_meshoptimizer_types() { SurfaceTool::optimize_vertex_cache_func = meshopt_optimizeVertexCache; SurfaceTool::simplify_func = meshopt_simplify; + SurfaceTool::simplify_with_attrib_func = meshopt_simplifyWithAttributes; SurfaceTool::simplify_scale_func = meshopt_simplifyScale; SurfaceTool::simplify_sloppy_func = meshopt_simplifySloppy; } |