Skip to content

Antialiasing and pixelation #8

Closed

Description

@mspnr

I tried several riv-files and noticed strange behavior on rendering:

  • on Android antialiasing is off - one can clearly see the sharp edges, which are not always required
  • on lower SDKs "pixelation" effect appears - strangely enough, due to the fact, that the source is vector. To intensify the effect, I used a "narrow" artboard with width ~400. With wider artboards the effect is lower.

On the web the same riv-file is rendered just OK (version rive-canvas@0.6.5) - with antialiasing and without pixelation.

Here are my questions:

  1. How antialiasing can be turned on on Android?
  2. It would be great if you take a look into "pixelation" rendering for lower SDKs

Below are results of my experiments:

Source SDK21 SDK29 Web
Overview image. Click to see the full version portfolio_view portfolio_view portfolio_view
Closeup circle d1_2 d2_2 d3_1
Closeup text d1_3 d2_3 d3_2

Activity

  1. mspnr commented on Nov 20, 2020

    @mspnr
    Author

    I tried your update from branch antialiasing
    #9

    It works and looks much better! Thank you!

  2. umberto-sonnino commented on Nov 25, 2020

    @umberto-sonnino
    Contributor

    It works and looks much better! Thank you!

    PR's been merged, and you said your files are looking good. I think we can close the issue..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions