Color Fading
When I coded a fade effect with pc, it was very easy, because I use a "big" quad coupled with alpha effect: job done!
It's that possible to do somenthing with Amiga? I would like to do a fade effect on Ham8 pics |
You would have to fade not only your base palette, but also the contents of the bitplanes that modify the R,G or B component.
I have no idea how this can easily be done quickly. Perhaps using some kind of blitter subtractive algorithm (similar to shade bobs)... but that would be quite slow. |
Yeah, I think the fastest way to fade would probably be to add a sprite layer on top of image and fill that with a dithered pattern to achieve fading. Won't look as good as modifying actual RGB-values, but should be fairly fast
|
Quote:
|
Quote:
Precalculate the noise as a page (for example 1024 pixels wide), with 64 pixel vertical columns of different intensities of noise, and blit the strips (with a random y start offset) into the sprite data |
Yes, a proper fade must be done by processing the bitplane data. HAM8 = more MA slots taken+more to process+same Blitter = substantially slower.
You could process parts of it at a time with a pattern, e.g. "blinds" or bobs and it would appear smoother, or shrink the screen. If you have ~1.1MB free chip or fast you could process 14 frames while showing the pic to be ready in time for the fade. |
@robinsonb5: That's a nice method, thanks for sharing!
Quote:
|
Quote:
|
All times are GMT +2. The time now is 22:21. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.