Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Comment out second part of skin weighting algorithm until I can figure out better gradient weight assignment

Scott Petrovic4bb454b67f9b
diff --git a/src/lib/solvers/SolverDistanceChildTargeting.ts b/src/lib/solvers/SolverDistanceChildTargeting.ts
index 597a5e6..d999d09 100644
--- a/src/lib/solvers/SolverDistanceChildTargeting.ts
+++ b/src/lib/solvers/SolverDistanceChildTargeting.ts
@@ -46,7 +46,7 @@ export default class SolverDistanceChildTargeting extends AbstractAutoSkinSolver
console.timeEnd('calculate_closest_bone_weights')
console.time('calculate_weight_distribution')
- this.calculate_bone_segment_weights(skin_indices, skin_weights)
+ //this.calculate_bone_segment_weights(skin_indices, skin_weights)
console.timeEnd('calculate_weight_distribution')
if (this.show_debug) {