swarm-support
[Top][All Lists]
Advanced

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

Re: Multiple Value2dDisplay's on a single Raster


From: Parviez HosseiniC
Subject: Re: Multiple Value2dDisplay's on a single Raster
Date: Tue, 21 Apr 1998 15:13:32 -0700 (PDT)

Rather than using multiple Value2dDisplays, wouldn't the thing to do be add 
some code like

currValue =[myDiscrete2d getValueAtX:x Y:y];
[myDiscrete2d  putValue: (myValue+currValue) X:x Y:y];


and have forest, grass, lakes, use same display, just different values?
That way zeroes are transparent, and you could do some double checking 
when you want to turn lakes into trees?

-Parviez


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