-
-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few visual problems in the flash clip #2241
Comments
1/ This is a SWFv5 text-decoding issue, just like #2043. 2/ This one is more mysterious. On the desktop backend (Windows), a bunch of errors are logged before the file actually plays: |
In at least https://z0r.de/2264 there is a shape with so many complex paths that
I also tried increasing the curve approximation tolerances for both fills and strokes, but the paths themselves are made up of so many elements (which are not curves) that it didn't make much of a difference. [*]: Maybe it was auto-vectorized from a noisy bitmap or something like that? I haven't checked if this is how it is actually stored in the .SWF or it's something that ends up happening at runtime. By the looks of it, https://z0r.de/1656 also has something like this. |
Bad triangulation fixed by #2264. These types of graphics are usually made with the "Trace Bitmap" function in the Flash software. Bumped the index format to u32, this should be fine. This was on my todo list for a while, kept forgetting about it! @Diatonator Could you file a separate issue for the text problem? Thank you! |
I'll also test here as I get the build with the changes: |
Couldn't see a single graphical glitch now with this .swf either, at least on desktop, with the Vulkan backend. |
Chrome 87.0.4280.88
Tested on nightly builds 2020_12_15 and 2021_01_03
https://z0r.de/1656
This flash has a few problems
I bet the "string data" error is related to this, and probably it's the '(c)' character.
Adobe:
Ruffle:
I believe those distorted are the "spartans" which were used in a different way in this flash. The first distorted one got the "talking mouth", and you can actually see that mouth undistorted, and another distorted one got another head attached to him.
I actually seen the similar distortion in this flash:
https://z0r.de/2264 (EPILEPSY WARNING)
The text was updated successfully, but these errors were encountered: