Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!caen!ox.com!emv From: mikey@sgi.com (Mike Yang) Newsgroups: comp.archives Subject: [xpert] Re: Help with colormaps on Xr4 Message-ID: <1990Dec3.031954.23327@ox.com> Date: 3 Dec 90 03:19:54 GMT References: <1990Nov28.184225.29457@acc.stolaf.edu> <1990Dec1.200925.17828@relay.wpd.sgi.com> Sender: emv@ox.com (Edward Vielmetti) Reply-To: mikey@sgi.com (Mike Yang) Followup-To: comp.windows.x Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 28 Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.windows.x Archive-name: x11/contrib/cpicker/1990-12-01 Archive: expo.lcs.mit.edu:/contrib/cpicker.tar.Z [18.30.0.212] Original-posting-by: mikey@sgi.com (Mike Yang) Original-subject: Re: Help with colormaps on Xr4 Reposted-by: emv@ox.com (Edward Vielmetti) 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 Brought to you by Super Global Mega Corp .com