home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- 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
- From: Martin Gannholm <gandalf@apple.com>
- Subject: Re: Visual Effects in Monitor Millions mode
- Sender: news@gallant.apple.com
- Message-ID: <1992Nov22.011631.12138@gallant.apple.com>
- X-Useragent: Nuntius v1.1.1d12
- Date: Sun, 22 Nov 1992 01:16:31 GMT
- X-Xxdate: Sat, 21 Nov 92 01:16:18 GMT
- X-Xxmessage-Id: <A7341F62BB0103EE@kip2-49.apple.com>
- References: <a.hopson-191192082520@macm6210.trl.oz.au>
- Organization: Apple Computer, Inc.
- Lines: 48
-
- In article <a.hopson-191192082520@macm6210.trl.oz.au> Alan Hopson,
- a.hopson@trl.oz.au writes:
- >I specified a "barn door open" visual effect for changing betwen two
- cards
- >in a stack which resulted in the following behavior under different
- monitor
- >depth settings:
- > Monitor Setting Visual Effect Observed
- > 256 barn door open
- > thousands wipe down
- > millions wipe down
- >
- >Can anyone explain why the visual effect is ignored when the monitor
- depth
- >is set above 8 bits?
-
- Yes, the code to do visual effects writes to the screen directly, and
- therefore needs code that knows about different bit-depths. HyperCard 2.0
- and later have effect loops for 1, 2, 4 and 8 bits but we didn't bother
- with the greater bit depths, mostly because 24-bit color wasn't very
- common back in '89 when these decisions were made and the code was
- written.
-
- Another good reason can be derived from your results above: thousands
- and millions of colors cause a "wipe down"; actually the Mac is moving
- the
- data on to the screen as fast as it can, however it isn't fast enough to
- appear on the screen immediately so it looks like a wipe down. For a
- 9-inch
- (standard size) stack at 24 bits it's about 700K of data; for a 12- or 13-
- inch monitor size stack it's 1.2 MB! It might not be so bad if it "only"
- had to move that amount of data from memory to the screen, but it has to
- do an on-the-fly conversion from HyperCard's 1-bit offscreen buffer to
- the
- 24 bit screen, taking several times longer than a straight data copy
- would.
-
- With fast machines, fast on-board video and also the use of 24-bit color
- becoming more common Claris may do well to consider adding that
- capability
- to a future version of HyperCard. If a color version of HyperCard is in
- the
- pipe as everyone is expecting I'm sure they've already thought of this.
- We'll just have to wait and see.
-
- Martin Gannholm
- Apple Computer
- Former HyperCard 2.x Guy
-