What meshopt_SimplifyErrorAbsolute does ? #708
Answered
by
zeux
GiuseppeCassisi96
asked this question in
Q&A
-
Hi, I wonder what meshopt_SimplifyErrorAbsolute does. Does it allow meshopt_simplify to return the error as an absolute value instead of relative to the mesh extent? |
Beta Was this translation helpful? Give feedback.
Answered by
zeux
Jun 22, 2024
Replies: 1 comment 10 replies
-
Yes, as described in https://github.com/zeux/meshoptimizer/blob/master/src/meshoptimizer.h#L335. If the mesh is 50 units across (eg positions XYZ are from -10 to 40), an error 0.01 without using this flag is equivalent to error 0.5 when using this flag. |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
zeux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, as described in https://github.com/zeux/meshoptimizer/blob/master/src/meshoptimizer.h#L335. If the mesh is 50 units across (eg positions XYZ are from -10 to 40), an error 0.01 without using this flag is equivalent to error 0.5 when using this flag.