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

  1. Path: Norway.EU.net!usenet
  2. From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 11 Feb 1996 19:45:06 GMT
  6. Organization: EUnet Norway
  7. Message-ID: <1225.6615T1229T800@login.eunet.no>
  8. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk>
  9.     <576.6613T1070T1730@login.eunet.no> <1257.6614T57T922@vip.cybercity.dk>
  10. NNTP-Posting-Host: pc5.asker-pm2-1.eunet.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14. >The point is that you only have to write 1 bit/pixel for each bitplane to
  15. >display
  16. So you use bset then? Or what?
  17.  
  18. >2 pixels with the same color horisontaly as in 2x1. This is not true when you
  19. >make 2x1 in the c2p rutine. Then you have to write 320/8=40 bytes per line
  20. >for each bitplane but you only have to calc 320/2=160 pixels/line because you
  21. >double the pixel width.
  22. Nonono. 160*128=5120 long writes to chip. The doubling is done with the
  23. blitter. The refresh rates can be 50fps or 25fps. Both linear.
  24. The 50fps is dithered with sprites, and doues the last pass with the bitplane
  25. scroll registers.
  26.  
  27. >In my example I only have to write 128/8 bytes per line. This means a 2x2
  28. Just like the rest of us.
  29.  
  30. >fullscreen with 160*128=20480 pixels and 256 colors only takes 20480/4=5120
  31. >processor long writes to chipmem and one blitter pass is only 20480 bytes.
  32.  
  33. >There is a few demos using this kind of blitterscreen with the spritemask.
  34. >Some of the TP5 demos do, I can't remember whitch.
  35. It was me and Ludvig Pedersen who wrote those c2p routines, so I know.
  36. But you where talking about planar!?!?!
  37.  
  38. <sb>Patrick Hanevold - Virtual Reality developer
  39. <sb>patrick.hanevold@login.eunet.no
  40. <sb>Amiga and official Be developer
  41.  
  42.