You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -234,7 +230,6 @@ var MeshoptSimplifier = (function () {
234
230
varoptions=0;
235
231
for(vari=0;i<(flags ? flags.length : 0);++i){
236
232
assert(flags[i]insimplifyOptions);
237
-
assert(this.useExperimentalFeatures||flags[i]!='Prune');// set useExperimentalFeatures to use experimental flags like Prune
238
233
options|=simplifyOptions[flags[i]];
239
234
}
240
235
@@ -267,7 +262,6 @@ var MeshoptSimplifier = (function () {
267
262
target_error,
268
263
flags
269
264
){
270
-
assert(this.useExperimentalFeatures);// set useExperimentalFeatures to use this; note that this function is experimental and may change interface in a way that will require revising calling code
assert(this.useExperimentalFeatures);// set useExperimentalFeatures to use this; note that this function is experimental and may change interface in a way that will require revising calling code
@@ -233,7 +229,6 @@ var MeshoptSimplifier = (function () {
233
229
varoptions=0;
234
230
for(vari=0;i<(flags ? flags.length : 0);++i){
235
231
assert(flags[i]insimplifyOptions);
236
-
assert(this.useExperimentalFeatures||flags[i]!='Prune');// set useExperimentalFeatures to use experimental flags like Prune
237
232
options|=simplifyOptions[flags[i]];
238
233
}
239
234
@@ -266,7 +261,6 @@ var MeshoptSimplifier = (function () {
266
261
target_error,
267
262
flags
268
263
){
269
-
assert(this.useExperimentalFeatures);// set useExperimentalFeatures to use this; note that this function is experimental and may change interface in a way that will require revising calling code
assert(this.useExperimentalFeatures);// set useExperimentalFeatures to use this; note that this function is experimental and may change interface in a way that will require revising calling code
/* When encoding exponents, use shared value for each component of all vectors (best compression) */
360
360
meshopt_EncodeExpSharedComponent,
361
-
/*Experimental: When encoding exponents, use separate values for each component, but clamp to 0 (good quality if very small values are not important) */
361
+
/* When encoding exponents, use separate values for each component, but clamp to 0 (good quality if very small values are not important) */
* Experimental: Mesh simplifier with attribute metric
402
+
* Mesh simplifier with attribute metric
403
403
* The algorithm enhances meshopt_simplify by incorporating attribute values into the error metric used to prioritize simplification order; see meshopt_simplify documentation for details.
404
404
* Note that the number of attributes affects memory requirements and running time; this algorithm requires ~1.5x more memory and time compared to meshopt_simplify when using 4 scalar attributes.
* Returns the error scaling factor used by the simplifier to convert between absolute and relative extents
@@ -565,17 +565,17 @@ MESHOPTIMIZER_API size_t meshopt_buildMeshletsBound(size_t index_count, size_t m
565
565
* cone_weight should be set to 0 when cone culling is not used, and a value between 0 and 1 otherwise to balance between cluster size and cone culling efficiency; additionally, cone_weight can be set to a negative value to prioritize axis aligned clusters (for raytracing) instead
566
566
* split_factor should be set to a non-negative value; when greater than 0, clusters that have large bounds may be split unless they are under the min_triangles threshold
0 commit comments