swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colormap problem


From: Marcus G. Daniels
Subject: Re: colormap problem
Date: 14 Jan 2002 17:32:56 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "SP" == Snow Paul <address@hidden> writes:

SP> I attempted to define my 16 color palette
SP> in colormap from reading a palette file(text format).I
SP> could not make it.So I decided to do it by myself,I
SP> define my RGB palette just like this:

SP> [colorMap setColor: 15 ToRed: 166.0 Green: 177.0 Blue: 145.0]; 

SP> But I got a raster with onthing on it.It wat blank! Maybe the only
SP> color I got was white!I do not know the reason,do me a favour
SP> please !I use Swarm 2.1.1 on win98.

Those RGB numbers should be in the interval (0.0,1.0].

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]