matrix transform tag to ass styles now works

This commit is contained in:
DataHoarder 2023-11-23 09:54:30 +01:00
parent 93b6daf3f8
commit 3da94268a8
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk
2 changed files with 7 additions and 4 deletions

View file

@ -61,8 +61,9 @@ func MatrixTransformTagFromTransformStable(transform math2.MatrixTransform) *Mat
//Numerically stable implementation by MrSmile
a := transform.GetA()
b := transform.GetB()
c := transform.GetC()
//TODO: why swap
b := transform.GetC()
c := transform.GetB()
d := transform.GetD()
ac2 := (a * a) + (c * c)

View file

@ -52,10 +52,12 @@ var GlobalSettings = Settings{
VideoScaleMultiplier: 1,
VideoRateMultiplier: 1,
BakeMatrixTransforms: true,
BakeClips: false,
BakeMatrixTransforms: false,
SmoothTransitions: false,
GradientSlices: shapes.GradientAutoSlices,
GradientOverlap: 2,
GradientBlur: 0.1,