Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions regression/extreme-rotations/Arimo-Regular.ttf
27 changes: 27 additions & 0 deletions regression/extreme-rotations/desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Near-edge-on rotations about the X and Y axes with off-center rotation
origins. The samples include both rotation signs and geometry crossing
the perspective plane.

At 1920x1080, the first four samples exhibit outline-edge shifts of about
4.43 pixels from the unquantized projection due to transform quantization
and dequantization, causing the triangles visible in the output bitmaps
to appear longer, with wider bases. These large deviations can likely
also cause our output to appear visibly different from VSFilter's.

extreme-rotations.ass samples:
1000: Positive Y rotation
3000: Negative Y rotation
5000: Negative X rotation
7000: Positive X rotation

The perspective-clamp.ass pair translates both position and rotation origin
0.125 pixels right between samples. The quantized linear and perspective
coefficients stay unchanged. The unclamped tip moves 0.125 pixels right,
while the two clamped corners move 100 pixels left. This exercises the
amplification and reversal of fractional placement by the depth clamp,
producing a 100.125-pixel translation error at 1920x1080. This is *massively*
different from VSFilter's behavior.

perspective-clamp.ass samples:
1000: Initial position
3000: Position and rotation origin translated 0.125 pixels right
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions regression/extreme-rotations/extreme-rotations.ass
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[Script Info]
ScriptType: v4.00+
PlayResX: 1920
PlayResY: 1080
ScaledBorderAndShadow: yes
WrapStyle: 2

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arimo,60,&H00005CFF,&H00005CFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,0,0,5,0,0,0,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:02.00,Default,positive-y,0,0,0,,{\1c&H005CFF&\an5\pos(2753.4375,541)\org(1012.1875,540)\fry89.524444641264\p1}m -1023 -1 l 1023 -1 1023 1 -1023 1
Dialogue: 0,0:00:02.00,0:00:04.00,Default,negative-y,0,0,0,,{\1c&HFFB800&\an5\pos(1212.5625,541)\org(907.8125,540)\fry-89.524444641264\p1}m -1023 -1 l 1023 -1 1023 1 -1023 1
Dialogue: 0,0:00:04.00,0:00:06.00,Default,negative-x,0,0,0,,{\1c&HB82EFF&\an5\pos(961,2333.4375)\org(960,592.1875)\frx-89.524444641264\p1}m -1 -1023 l 1 -1023 1 1023 -1 1023
Dialogue: 0,0:00:06.00,0:00:08.00,Default,positive-x,0,0,0,,{\1c&H00D637&\an5\pos(961,792.5625)\org(960,487.8125)\frx89.524444641264\p1}m -1 -1023 l 1 -1023 1 1023 -1 1023
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions regression/extreme-rotations/perspective-clamp.ass
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Script Info]
ScriptType: v4.00+
PlayResX: 1920
PlayResY: 1080
ScaledBorderAndShadow: yes
WrapStyle: 2

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arimo,60,&H00005CFF,&H00005CFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,0,0,5,0,0,0,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:02.00,Default,clamp-translation-start,0,0,0,,{\1c&HA0D400&\an5\pos(1903.0625,540.25)\org(1022.0625,540)\fry89.98698747997814\p1}m -1023 -0.25 l 1023 -0.25 1023 0.25 -1023 0.25
Dialogue: 0,0:00:02.00,0:00:04.00,Default,clamp-translation-eighth-pixel,0,0,0,,{\1c&H303BFF&\an5\pos(1903.1875,540.25)\org(1022.1875,540)\fry89.98698747997814\p1}m -1023 -0.25 l 1023 -0.25 1023 0.25 -1023 0.25
Loading