Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Filters need to be re-applied to invalidated snapshots?
Started by jacques1 Jan 21 2014 09:43 PM

No replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jacques1

[GLOBAL: userInfoPane.html]
jacques1
  • Contributor

  • 327 posts
  • Corona SDK

I have a snapshot that contains filled polygon shapes.  I apply filter.blurGaussian to the snapshot.

 

Since I need to visually enlarge my snapshot (around 4X) the polygons become jagged hence I set the horizontal.blurSize and vertical.blurSize = 4 which makes the jagged edges of the polygons less obvious.

 

However, when I invalidate the snapshot, the polygon lines become more jagged, as if the value of the filter.blurGaussian seems to have changed after the snapshot:invalidate(). 

 

Do we need to reapply filters to a snapshot each time it's invalidated?




[topic_controls]
[/topic_controls]