Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!sgi!dragon!mikey From: mikey@sgi.com (Mike Yang) Newsgroups: comp.windows.x Subject: Re: Help with colormaps on Xr4 Message-ID: <1990Dec1.200925.17828@relay.wpd.sgi.com> Date: 1 Dec 90 20:09:25 GMT References: <1990Nov28.184225.29457@acc.stolaf.edu> Sender: news@relay.wpd.sgi.com ( CNews Account ) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 22 In article <1990Nov28.184225.29457@acc.stolaf.edu> tgades@skadi.physics.stolaf.edu () writes: >I have done this, but I only can access the 16 colors in the default >colormap. If anyone has a program that I could easily rip apart >down to the bare minimum, or if anyone has doen the same thing >(as I am sure nearly all of you have) could you please >send me Email the address of an anonymous ftp possibility, It would help if you told us what hardware configuration you have. For instance, if you're using an SGI machine with IRIX 3.3 by default, the X server is started so that there are only 16 read/write colormap cells for an 8-plane machine. The rest are "preserved" for GL clients. For a sample colormap program, try my cpicker application which dynamically modifies the installed colormap. It installs a new colormap for an application window, and manipulates its entries. Last time I checked, cpicker was available on expo.lcs.mit.edu in the contrib directory as cpicker.tar.Z. ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786