home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3558 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TMapping again!
  5. Date: 21 Feb 1996 18:52:30 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Message-ID: <4gfple$elr@maureen.teleport.com>
  8. References: <38232371@kone.fipnet.fi> <4fntd3$g56@sunsystem5.informatik.tu-muenchen.de> <38232442@kone.fipnet.fi> <4fvnjb$gdm@oreig.uji.es> <4g147q$sit@maureen.teleport.com> <4ga6lr$rp8@brachio.zrz.TU-Berlin.DE> <4gc5ur$brr@maureen.teleport.com> <4gf5h6$7bd@maureen.teleport.com>
  9. NNTP-Posting-Host: linda.teleport.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Stephan Schaem (sschaem@teleport.com) wrote:
  13. :  I'm trying to improve what I got so far... but I cant seem to
  14. :  remove those anyone shifted pixels :(
  15. : bla bla
  16. :  light -= ((x1 & 0xFFFF) * lightstep ) / x1step 
  17.  
  18. :  but this doesn't do the trick, and I'm just confused now :)
  19.  
  20.  I try to round off the wrong 'way'...
  21.  
  22.  ligh -= (x1 & 0xFFFF) * lightstep;
  23.  
  24.  Remove 99% of the problem :)
  25.  
  26.  Stephan
  27.  
  28.