Xref: utzoo comp.sys.mac.programmer:13219 comp.graphics:10393 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!yerga From: yerga@cory.Berkeley.EDU (Chris Yerga) Newsgroups: comp.sys.mac.programmer,comp.graphics Subject: Re: color bitplanes on a Mac? Summary: Palette Manager Message-ID: <23091@pasteur.Berkeley.EDU> Date: 15 Mar 90 22:52:43 GMT References: <53503@bbn.COM> Sender: news@pasteur.Berkeley.EDU Reply-To: yerga@cory.Berkeley.EDU.UUCP (Chris Yerga) Organization: University of California, Berkeley Lines: 18 In article <53503@bbn.COM> mesard@BBN.COM (Wayne Mesard) writes: >I want to use bitplanes on a MacII. How to do this isn't at all clear >to me. I'm hoping that I'm revealing some profound ignorance on my partu >about Mac color or graphics or both and that someone can set me >straight. What you need to read is the Palette Manager chapter in Inside Mac V. You can assign colors to your palette in a variety of ways, including "explicit colors" which are colors you refer to by their CLUT index, not their RGB value. Using this method, you have complete control over which color tabe entries you use for drawing. This method is only supported for CLUT devices (of course), so be sure to check the gDevice flags to determine the nature of your output device. Hope it helps! Chris Yerga yerga@cory.berkeley.edu