home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / 11542 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.4 KB

  1. Path: sparky!uunet!caen!destroyer!lopez!traal
  2. Newsgroups: comp.graphics
  3. Subject: Re: fading in and out a VGA picture
  4. 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>
  5. From: traal@lopez.marquette.MI.US (Brian Phillips)
  6. Message-ID: <SFJye-Cd@lopez.marquette.MI.US>
  7. Date: Thu, 5 Nov 1992 12:05:34 EST
  8. Organization: Great White North/UPLink
  9. Lines: 23
  10.  
  11. A couple of people in various articles have written, to effect:
  12.  
  13.   --To fade in/out, you need a timed loop which successively reduces/
  14.     increases the intensity of the RGB values by 1/64th the distance
  15.     between the starting color and zero (or the reciprocal of that if
  16.     you are fading in).
  17.  
  18.   --There is a problem with the timing/appearance if it is linear in
  19.     nature.  And, "if you have a parameter  0 <= t <= 1 for a scalar,
  20.     try replacing it with t' = t ^ k, where 1 <= k <= 2."  1.5 has
  21.     been suggested as a good value for k.
  22.  
  23. Does someone have a simple example of these feats?  Preferrably in ASM or
  24. C (most likely ASM)?
  25.  
  26.  
  27.  
  28.   --Traal the BRAVE 
  29.  
  30.   EMAIL (the Good, the Bad, or the Flame) to:  traal@lopez.marquette.MI.US
  31.    "Take a walk through the looking-glass and see the other side!" -- BPP
  32.             "Realism is often misconstrued as pessimism." -- BPP
  33.           "My mailer hates everybody, be sneaky." -- Mary Margret
  34.