[comp.archives] [xpert] Re: Help with colormaps on Xr4

mikey@sgi.com (Mike Yang) (12/03/90)

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