PDA

Click to See Complete Forum and Search --> : Snow (Noise)


Jan 11th, 2001, 08:59 AM
Hi!

Anybody know how to make the "snow" effect a TV makes when you pull the antenna?

I've tried Pset with different colors on random positions. That makes a good snow effect, but is REALLY slow. I thought of creating the "Snow" once, then looping the pallette? Is that any idea? This is how I used to make snow on my (ahem) Amiga and C64....

Any ideas are welcome...

kedaman
Jan 11th, 2001, 09:38 AM
Look up the direct memory access demo on this page
http://www.ur.co.nz/
I guess you just loop trough all pixels and set a random grey value to each like this: int(rnd*256)*&H10101

Jan 13th, 2001, 12:58 PM
Thanks, Kedaman!, but I can't find anything over there that'll help me... Any other ideas?

kedaman
Jan 13th, 2001, 01:05 PM
here's a direct link
http://www.ur.co.nz/vbmemory.htm