home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3000 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.6 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: doubling pixels horizontally
  5. Date: 7 Feb 1996 17:44:33 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4faoe1$47@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no> <1045.6611T753T2256@vip.cybercity.dk>
  10. NNTP-Posting-Host: hphalle1a.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle1a.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <1045.6611T753T2256@vip.cybercity.dk>, ccc6004@vip.cybercity.dk (Hans Henrik Happe) writes:
  15. |> Organization: CyberCity of Denmark
  16. |> Lines: 33
  17. |> Message-ID: <1045.6611T753T2256@vip.cybercity.dk>
  18. |> References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no>
  19. |> NNTP-Posting-Host: 194.16.56.105
  20. |> X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  21. |> 
  22. |> 
  23. |> Patrick Hanevold ( patrick.hanevold@login.eunet.no ) wrote:
  24. |> >>I wonder how to double pixels horizontally without writing
  25. |> >>them twice! I've seen this trick in several demos and I
  26. |> >>believe that it is just a little trick with the hardware.
  27. |> >>I also wonder about another thing:
  28. |> >>you may have noticed that there is a "sprite mode" where
  29. |> >>the sprite switches from Hires back to Lores and displays
  30. |> >>only every second column of pixels! I wonder if this is
  31. |> >>possible/will happen  for bitmaps too.
  32. |> 
  33. |> > It's in the chunky to planar convertion.
  34. |> 
  35. |> You can also render only every 2nd pixels, mask out those you don't want with sprites,
  36. |> and then:
  37. |> 
  38. |> loop
  39. |>     1st frame: show pixel 02468... mask out 13579...
  40. |>     2nd frame: show pixel 13579... mask out 02468...
  41. |>     jump loop
  42. |> 
  43. |> In the 2nd frame you shift (scroll) the bitplanes 1 to the right.
  44. |> This looks allmost as the real double pixels (Gives very little flicker) and you only
  45. |> have to write half as much to the chip mem.
  46.  
  47. not really. to change 100 pixels, you got to write 100 words.
  48. only fx running 50Hz might work with the trick of writing
  49. only 50 pix each frame, but then gfx maybe doesn't look
  50. more like 50pix.
  51.  
  52. |> 
  53. |> This effect can be done using only the copper.
  54.  
  55. aah, you mean interlaced copperscreen to get more resolution.
  56. well. gives 200x256 1x2.
  57. IMHO copperscreens are only usefull for demos.
  58. use 3pass-c2p ("blitterscreen") or 4pass-c2p for games.
  59.  
  60. |> 
  61. |> 
  62. |> 
  63. |> 
  64. |> Hans Henrik Happe
  65. |>  Goat / Sumpen
  66. |> 
  67. ------------------------------------------------------------------------
  68.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  69.  
  70.