Skip to content

scissorRect is clipping points even through their pointSize would overlap the scissorRect #1

@adamwulf

Description

@adamwulf

The scissor rect clips points according to their center, not according to their center + pointSize. This can lead to some strange artifacts during undo/redo or when changing the rotation of the highlighter which causes a re-render of all strokes around the start point.

simulator screen shot sep 8 2016 2 42 42 am

Possible solutions:

  1. don't use scissor test at all, which is what I've done for now to keep rendering correct at the expense of speed, or
  2. use quads instead of points, which will raise point memory by 4x, which might be ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions