Hi Alex,

Yes, I've seen that approach... but what I mean is really smearing, trailing 
pixels along at various intensity blurring out the ones at the end or something 
like that. I'll try the copypixel thing, and see what it gives. I'll get back 
on this.

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Alex da Franca
Verzonden: dinsdag 9 mei 2006 11:47
Aan: Lingo programming discussion list
Onderwerp: Re: <lingo-l> smearing stuff


Am 09.05.2006 um 11:33 schrieb <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]>:

> Hi,
>
> While we’re still on the subject, anyone has suggestions on the  
> approach to a mouse-dragging-driven smear effect?
> Maybe copypixelling a small region around the cursor, do some  
> pixelpushing on that, and copy it back with a < 100% blend?
> Main concern here would of course be performance... I've seen some  
> nice things in flash using displacement maps...

First thing to try is to use quads with copyPixels and leave "the  
magic" to Werner Sharps IL code, using the undocumented #dither  
parameter with the value 1969 for antialiasing, instead of going  
through each pixel with very slow get- and setPixel()
something like this:
<http://www.farbflash.de/cgi-bin/blosxom.cgi/Dokumente/Director/ 
Opensource/Imaging/goo.html>
this can be optimized by dividing the image in more than only 4  
quadrants, like in the example, so that you achieve a given radius of  
affection.


---------------------------

   |||
a¿ex



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to