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

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 28 Feb 1996 06:48:58 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <2428.6629T1299T522@ifi.uio.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><576.6613T1070T1730@login.eunet.no><1257.6614T57T922@vip.cybercity.dk><1225.6615T1229T800@login.eunet.no><1140.6616T51T1538@vip.cybercity.dk><3764.6622T781T478@ifi.uio.no><4gbkq8$104@sunsystem5.informatik.tu-muenchen.de>
  9.     <2038.6625T1088T2898@ifi.uio.no> <2379.6627T121T1144@vip.cybercity.dk>
  10. NNTP-Posting-Host: gymir.ifi.uio.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13. >Ludvig Pedersen ( ludvigp@ifi.uio.no ) wrote:
  14. >>>: How are you going to handle 64 pixels width sprites?
  15. >>>by hacking fmode...
  16. >No hopefully not... I hope the system (OS3+) can provide my with a 64bit
  17. >sprite (Haven't really looked into this)???
  18.  
  19. OS3 don't support it as far as I know. :-/ A real pitty. I would have been so
  20. easy for those C= folks. :-/
  21.  
  22. >>>no way! unless you are a mega intuition-monitor-expert and maybe
  23. >>>write a new ghost-look routine for each kickstart-revision :\
  24. >> Its possible without being an expert.
  25. >Choose a 320x128 pal resolution or you get a wired look - it really not my
  26. >problem? It will work on another screen (DBLPAL, DBLNTSC) but it will look
  27. >strange. The tougth coders would make a scalable rutine like Gloom Deluxe on
  28. >CyberGfx.
  29.  
  30. The problem is that 320x128 pal resolution is only supported on OS3.1 (V40).
  31. So I have to "make" it myself!
  32.  
  33. Anyway, all screenmodes will look just as good. The only thing we have to do
  34. is to calculate the pixel ratio.
  35.  
  36. >> You have to set up 2 different UserCopperList.
  37. >> One for normal modes (PAL/NTSC etc) and one for double-scan modes.
  38. >> (DBLPAL/DBLNTSC)
  39. >You don't even need to use the UserCopperList. All you have to do is to open
  40. >a Dual playfield screen, and then use VideoControl to turn of the dual
  41. >playfield bit in bplcon0 (tag VC_DUALPF_Disable). Now you have a way of
  42. >scrolling the even and odd bitplanes independently and thats what you need
  43. >for a blitterscreen. Mask out the unwanted pixels with system sprites and
  44. >flip every frame to make it look like a real 2x2. This way you don't have to
  45. >scroll each line idependently.
  46.  
  47. I have to scroll every line independently if I'm using sprite-
  48. dithering. Because its not only the sprite-dithering that moves but the
  49. graphics as well.
  50.  
  51. Anyway, that VideoControl control stuff could be a good idea. Have you tried
  52. it?
  53.  
  54. >         lists on colour changes. When FALSE, graphics won't update
  55. >             the intermediate copperlists, so ScrollVPort(),
  56. >             ChangeVPBitMap() and colour loading functions will be faster.
  57. >             This value is TRUE by default. (V40)
  58. >This means CopperList rendering will become faster. Thats all what I got for
  59. >now in exploring the Amiga system. Fill me in on any interresting results you
  60. >have got, Thanks!
  61.  
  62. Thanks it should be worth looking at. :)
  63.  
  64.  
  65.  
  66. <sb>Ludde - Amiga Demo Coder
  67. <sb>Virtual Reality & Official Be developer
  68. <sb>ludvigp@ifi.uio.no
  69.  
  70.