home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21131 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!jmunkki
  3. From: jmunkki@vipunen.hut.fi (Juri Munkki)
  4. Subject: Re: Fast copies from offscreen buffer to screen.
  5. Message-ID: <1993Jan10.163338.12128@nntp.hut.fi>
  6. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  7. Nntp-Posting-Host: vipunen.hut.fi
  8. Reply-To: jmunkki@vipunen.hut.fi (Juri Munkki)
  9. Organization: Helsinki University of Technology
  10. References: <1993Jan10.031829.25011@samba.oit.unc.edu>
  11. Date: Sun, 10 Jan 1993 16:33:38 GMT
  12. Lines: 21
  13.  
  14. In article <1993Jan10.031829.25011@samba.oit.unc.edu> Michael.Kohne@launchpad.unc.edu (Michael Kohne) writes:
  15. >Currently we are considering a 'dirty-rectangles' system, however, it is
  16. >likely that most of the screen will change on each frame (lots of moving
  17. >objects.) I know this sort of thing IS possible, I own hellcats over the 
  18. >pacific and it looks like it's updating the whole screen each frame.
  19.  
  20. Hellcats only draws pixels that change from frame to frame. I guess that's
  21. the "secret" of the speed. My polygon routines do the same thing. It requires
  22. some overhead to find out what pixels one should change, but it's well worth
  23. it in 8 bit deep displays of more than 320x200 resolution.
  24.  
  25. If you want to see this in action, all you have to do is write an FKEY
  26. that wipes the whole screen to a solid color.
  27.  
  28. On most Macs, there simply isn't enough memory bandwidth to do full screen
  29. updates quickly. From discussions in rec.games.programmer, I gather that
  30. the situation is much worse on most PCs.
  31.  
  32. -- 
  33.   Juri Munkki                           Windsurf: fast sailing
  34.  jmunkki@hut.fi                          Macintosh: fast software
  35.