Better smoothing scaling

This commit is contained in:
Erimel committed 2026-11-04 16:20:18 -05:00
1 parent 2b5f3a12e1
commit 33771abed1
2 files changed
+3 -3

No files matched your search

@@ -116,7 +116,7 @@ data class SkeletonTogglesConfig(
// Used in SkeletonConfig
@Serializable
data class SkeletonRatiosConfig(
val smoothingStrength: Float = 0.10f,
val smoothingStrength: Float = 0.15f,
val predictionStrength: Float = 0.30f,
val spineCurvature: Float = 0.75f,
val imputeSpineFromUpperToLower: Float = DEFAULT_SPINE_UPPER_LOWER,
@@ -27,11 +27,11 @@ private const val UPSAMPLING_EXTRAPOLATION_LOG_BASE_MAX = 3f
// Upsampling (technically Smoothing but always active)
private const val UPSAMPLING_TIME_CARRYOVER_MIN = 0.6f
private const val UPSAMPLING_TIME_CARRYOVER_MAX = 0.9f
private const val UPSAMPLING_TIME_CARRYOVER_MAX = 0.92f
private val UPSAMPLING_TIME_CARRYOVER_LIMIT = 900.milliseconds
// Smoothing
private const val SMOOTHING_MS_MAX = 75.0
private const val SMOOTHING_MS_MAX = 50.0
// Prediction
private const val PREDICTION_MS_MAX = 32.0