home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / hypercar / 4277 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.5 KB  |  63 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!agate!apple!mumbo.apple.com!gallant.apple.com!kip2-49.apple.com!gandalf
  3. From: Martin Gannholm <gandalf@apple.com>
  4. Subject: Re: Visual Effects in Monitor Millions mode
  5. Sender: news@gallant.apple.com
  6. Message-ID: <1992Nov22.011631.12138@gallant.apple.com>
  7. X-Useragent: Nuntius v1.1.1d12
  8. Date: Sun, 22 Nov 1992 01:16:31 GMT
  9. X-Xxdate: Sat, 21 Nov 92 01:16:18 GMT
  10. X-Xxmessage-Id: <A7341F62BB0103EE@kip2-49.apple.com>
  11. References: <a.hopson-191192082520@macm6210.trl.oz.au>
  12. Organization: Apple Computer, Inc.
  13. Lines: 48
  14.  
  15. In article <a.hopson-191192082520@macm6210.trl.oz.au> Alan Hopson,
  16. a.hopson@trl.oz.au writes:
  17. >I specified a "barn door open" visual effect for changing betwen two
  18. cards
  19. >in a stack which resulted in the following behavior under different
  20. monitor
  21. >depth settings:
  22. >   Monitor Setting       Visual Effect Observed
  23. >    256                   barn door open
  24. >    thousands             wipe down
  25. >    millions              wipe down
  26. >
  27. >Can anyone explain why the visual effect is ignored when the monitor
  28. depth
  29. >is set above 8 bits?
  30.  
  31. Yes, the code to do visual effects writes to the screen directly, and 
  32. therefore needs code that knows about different bit-depths. HyperCard 2.0 
  33. and later have effect loops for 1, 2, 4 and 8 bits but we didn't bother
  34. with the greater bit depths, mostly because 24-bit color wasn't very 
  35. common back in '89 when these decisions were made and the code was
  36. written.
  37.  
  38. Another good reason can be derived from your results above: thousands 
  39. and millions of colors cause a "wipe down"; actually the Mac is moving
  40. the 
  41. data on to the screen as fast as it can, however it isn't fast enough to 
  42. appear on the screen immediately so it looks like a wipe down. For a
  43. 9-inch 
  44. (standard size) stack at 24 bits it's about 700K of data; for a 12- or 13-
  45. inch monitor size stack it's 1.2 MB! It might not be so bad if it "only" 
  46. had to move that amount of data from memory to the screen, but it has to 
  47. do an on-the-fly conversion from HyperCard's 1-bit offscreen buffer to
  48. the 
  49. 24 bit screen, taking several times longer than a straight data copy
  50. would.
  51.  
  52. With fast machines, fast on-board video and also the use of 24-bit color 
  53. becoming more common Claris may do well to consider adding that
  54. capability 
  55. to a future version of HyperCard. If a color version of HyperCard is in
  56. the 
  57. pipe as everyone is expecting I'm sure they've already thought of this.
  58. We'll just have to wait and see.
  59.  
  60. Martin Gannholm
  61. Apple Computer
  62. Former HyperCard 2.x Guy
  63.