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

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <4fq6m6$gah@maureen.teleport.com> <38232456@kone.fipnet.fi> <4g7t86$em3@maureen.teleport.com>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Tue, 20 Feb 96 12:30:35 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Tue, 20 Feb 96 13:46:35 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Distribution: world
  13. Subject: Re: TMapping again!
  14. Message-ID: <38232527@kone.fipnet.fi>
  15.  
  16.  
  17. > : Hmm. I have 15 long divides per polygon. (Texture/Gouraud)
  18. > : Now if they take about 30 cycles, only ~15 pixels have to be
  19. > : drawn to take the same amount of cycles. Therefore I dont
  20. > : use a divide table now..
  21. >  My guess is that you draw only a few polygon per frame...
  22. >  But 15 pixels , ~450 cycles really addup when you draw alot of
  23. >  polygon. If you draw 100 triangle at 60fps and your not using a
  24. >  512 byte divtable then your rendering code will take 10% more CPU
  25.    ^^^^^^^^^^^^^^^^^
  26. >  2700000 cycles extra ... Yep, it addup quick :)
  27.  
  28. I dont think that is really enough ... besides, you must use
  29. muls for 1/x table because the divided value can be negative, too.
  30. So 16.16 not possible, only 15b of fraction.
  31.  
  32. Please explain your calculations a little..
  33.  
  34. --                               _
  35. a Stellar programmer          _ //
  36. "Amiga - back for the future" \X/
  37.