swarm-support
[Top][All Lists]
Advanced

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

Re: Probes


From: Ralf Stephan
Subject: Re: Probes
Date: Fri, 16 Mar 2001 14:19:07 +0100
User-agent: Mutt/1.2.5i

> I looked it up in the ref guide, but couldn't find out what it does. Any
> clarification will be appreciated.

The source, sarm/src/space/Value2dDisplay.m:

        color = (long) *(discrete2dSiteAt(lattice, offsets, x, y));

This gets the value from the grid.

                color = color / modFactor + colorConstant;

This maps it onto [colorConstant, colorConstant+value/modFactor).
It allows to have fine-grained (long, 32bit) values occupy less
space (e.g. 64) within a palette/Colormap which usually holds <256
colors.  Hm, should I put the option of higher resolution value 
layers into the MNGVideo package wish list, what do you say?


ralf

                  ==================================
   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]