home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!destroyer!lopez!traal
- Newsgroups: comp.graphics
- Subject: Re: fading in and out a VGA picture
- References: <1992Oct30.141221.1@ualr.edu> <1992Oct30.234022.23683@organpipe.uug.arizona.edu> <1992Nov2.192159.25144@cognos.com> <1992Nov2.214701.19930@organpipe.uug.arizona.edu>
- From: traal@lopez.marquette.MI.US (Brian Phillips)
- Message-ID: <SFJye-Cd@lopez.marquette.MI.US>
- Date: Thu, 5 Nov 1992 12:05:34 EST
- Organization: Great White North/UPLink
- Lines: 23
-
- A couple of people in various articles have written, to effect:
-
- --To fade in/out, you need a timed loop which successively reduces/
- increases the intensity of the RGB values by 1/64th the distance
- between the starting color and zero (or the reciprocal of that if
- you are fading in).
-
- --There is a problem with the timing/appearance if it is linear in
- nature. And, "if you have a parameter 0 <= t <= 1 for a scalar,
- try replacing it with t' = t ^ k, where 1 <= k <= 2." 1.5 has
- been suggested as a good value for k.
-
- Does someone have a simple example of these feats? Preferrably in ASM or
- C (most likely ASM)?
-
-
-
- --Traal the BRAVE
-
- EMAIL (the Good, the Bad, or the Flame) to: traal@lopez.marquette.MI.US
- "Take a walk through the looking-glass and see the other side!" -- BPP
- "Realism is often misconstrued as pessimism." -- BPP
- "My mailer hates everybody, be sneaky." -- Mary Margret
-