home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3552 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  58 lines

  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: <38232461@kone.fipnet.fi> <4g8gje$oov@maureen.teleport.com>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Wed, 21 Feb 96 10:15:09 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Tue, 20 Feb 96 21:52:07 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: Bitfieldinsert?
  13. Message-ID: <38232552@kone.fipnet.fi>
  14.  
  15.  
  16. > : >     REPEAT 16
  17. > : >     move.l    (a0)+,(a1)+        ;draw 8 pixels
  18. > : >     ENDR
  19. > : > 
  20. > : >  a0 is a pointer in a lighting cube ... Think of it as tmapping a
  21. > : >  X*1 texture and having all the texture size prescaled so you only
  22. > : >  have intereg part when steping in the texture.
  23. > : >  in 8bit its the same but you map only 4 pixels at a time.
  24. > : Hey, finally a place for doing some c2p pass(es) in the inner
  25. > : loop..?  Have you done this code, btw?
  26. >  Nope, I'm just thinking about it... I will probably create a dithered
  27.  
  28. Damn.. ;)
  29.  
  30. >  gouraud lighting cube, and render in 12bit (rgb buffer) and render
  31. >  in ham6 in 256*300 (interleaved componant).12bit dithered should look
  32. >  pretty good. My guess a full true color scene can be rendred and c2p at
  33.  
  34. A word chunky buffer? Explain more, please..
  35.  
  36. >  I use it... You dont alway have to texture, gouraud light small
  37. >  triangle.
  38.  
  39. Can this method be used in Gouraud, too?
  40.  
  41. >รก so if you have some object with small metalic surfaces you can use this
  42. >  methode to fill triangle, also this can be aplied on 'far away'
  43. >  objects.
  44.  
  45. It is just a pain in the ass to check "if a poly is small enough
  46. or if a object is enough far etc." Many routines, not very
  47. cache friendly.
  48.  
  49. >  but 32x16 poly are actually 'huge in lores.
  50.  
  51. A good point. But no good for a game for example.
  52.  
  53. --                               _
  54. a Stellar programmer          _ //
  55. "Amiga - back for the future" \X/
  56.