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

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C2P
  5. Date: 12 Jan 1996 19:53:30 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4d6e7q$j7t@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4cj57f$7qe@irz210.inf.tu-dresden.de> <4cjmsk$9aa@sunsystem5.informatik.tu-muenchen.de> <291.6578T1189T2189@login.eunet.no> <4cskrt$kmq@morgoth.sfu.ca> <4d16bt$48l@sunsystem5.informatik.tu-muenchen.de> <4d27jf$gi2@morgoth.sfu.ca>
  10. NNTP-Posting-Host: hphalle8a.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle8a.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <4d27jf$gi2@morgoth.sfu.ca>, samy@news.sfu.ca (Sam Yee) writes:
  15. |> Organization: Simon Fraser University
  16. |> Lines: 41
  17. |> Message-ID: <4d27jf$gi2@morgoth.sfu.ca>
  18. |> References: <4cj57f$7qe@irz210.inf.tu-dresden.de> <4cjmsk$9aa@sunsystem5.informatik.tu-muenchen.de> <291.6578T1189T2189@login.eunet.no> <4cskrt$kmq@morgoth.sfu.ca> <4d16bt$48l@sunsystem5.informatik.tu-muenchen.de>
  19. |> NNTP-Posting-Host: fraser.sfu.ca
  20. |> X-Newsreader: NN version 6.5.0 #5 (NOV)
  21. |> 
  22. |> 
  23. |> (please e-mail to jeremym@wimsey.com)
  24. |> 
  25. |> fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) writes:
  26. |> 
  27. |> 
  28. |> >|> Are you using HAM mode?  You can get excellent speed only updating the lower
  29. |> >|> four bitplanes and interlacing lores screens, alternating odd/even chunky
  30. |> >|> pixels.
  31. |> 
  32. |> >cool, have you done a demo with your idea ?
  33. |> 
  34. |> Not yet.  Have no access to an Amiga right now.  The basic idea is to use
  35. |> 16-bit chunky pixels in R4G4B4B4R3G3B3B3R2G2B2B2R1G1B1B1R0G0B0B0 format
  36.  
  37. what about a very dirty 1x1 mode:
  38.  
  39. R0G1B2R4G5B6
  40.  
  41. ;) only one component of a pixel is overtaken, but not the one needed most
  42. but just random (well, R,G and B cyclic).
  43.  
  44. Anyone knows how picutres look after this kind of conversion ?
  45.  
  46.  
  47. |> and do a two pass (4- and 8-bit) C2P on the lower four bitplanes.  The upper
  48. |> two bitplanes in HAM mode are set to display RGBBRGBB... If you use
  49. |> movep.w to output your chunky words, you don't need to do the 8-bit pass,
  50. |> if you do the 4-bit with blitter.
  51. |> This gives you a 16-bit 2x2/2x1 truecolour mode on all Amigas.  Also you need to
  52. |> setup the copper to swap screens every 1/60th or 1/50th of a second, and shift
  53. |> the screen display right two pixels to fill in the odd/even pixels.
  54. |> You can do the same with an interlaced screen, but the non-interlaced
  55. |> flicker version looks cleaner (tried a dpaint anim using the same framerate
  56. |> and it looks better than interlaced).
  57.  
  58. you mean the pixels get flicker-mixed ? theoretical you'd need a mask, but
  59. maybe this looks better.
  60.  
  61. |> 
  62. |> And if you have the luxury of an AGA machine, you can set up a hires HAM
  63. |> screen (640x100 or 640x200) and get a 160x100 or 160x200 display without
  64. |> the need to flicker screens back and forth.  
  65.  
  66. my picture viewer uses a render method, that just looks which component is
  67. to needed updated (the biggest difference to the new wannabe-24bit value).
  68. looks good for photos, quite quick (seen from speed of picture viewers,
  69. which include palette for rendering).
  70.  
  71. With using tables and a PPC maybe a way for 24bit games ?
  72.  
  73. |> 
  74. |> >if the cpu is quick enough, and the renderer is dirty enough to get conversion
  75. |> >for free ;) then you should even be able to copy a 1x1 screen in 1/2 frame! =:o
  76. |> 
  77. |> >but maybe you got to wait for PPC to get it for free ;)
  78. |> 
  79. |> >would be especially interesting for all A3000 users! (quick cpu but no AGA)
  80. |> 
  81. |>  
  82. |> jeremym@wimsey.com
  83. |> ------------------
  84. |> "Let he who has no sword sell his cloak and buy one." - Jesus, Luke 22:36
  85. |> 
  86. ------------------------------------------------------------------------
  87.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  88.  
  89.