0 Replies Latest reply on Aug 12, 2010 2:43 AM by rakudrama

    Edge calculations in Flash


      Is there a way to suppress the edge effect with PB in Flash?

      I'm doing a NxN convolution.  I think I would like to simply ignore pixels from 'outside' the image.

      I have:

         float2 pt = outCoord() + float2(1.0, 2.0);

      How do I test if pt is in the image before passing it to sampleNearest?


      My convolution mask depends on a parameter. It looks like dependents would be ideal, but they are not supported in Flash.

      Will they be supported in a future version of Flash?