|
From: Ng G. T. <nsu...@si...> - 2000-12-24 06:17:25
|
Hi
I tried the modifications suggested.
however the topo layer is still at the 0.0 level (sea level)
I still cannot have the underwater relief shown
(I only see the 2-d colored image at the top)
does it mean that I had to code my underwater topo data's baselevel as level
0.0???
and the various depth converted to "height" from this baselevel???
Thank You
GT
----- Original Message -----
From: From: Bill Hibbard <hi...@fa...> <bi...@ss...>
To: Ng Gee Tiong <nsu...@si...>
Cc: <vis...@ss...>
Sent: Sunday, December 24, 2000 1:05 AM
Subject: Re: Underwater Topo
> Hi NG,
>
> My guess is that you still have the follwoing code in
> your maketopo.c:
>
> for (r=0;r<ROWS;r++) {
> for (c=0;c<COLUMNS;c++) {
> if (Topo[r][c] <= 0.0) {
> Water[r][c] = 1;
> }
> else {
> Water[r][c] = 0;
> }
> }
> }
>
> This sets the "Water" flag wherever the topo is below sea
> level. Change it to:
>
> for (r=0;r<ROWS;r++) {
> for (c=0;c<COLUMNS;c++) {
> Water[r][c] = 0;
> }
> }
>
> Good luck and happy holidays,
> Bill
> ----------------------------------------------------------
> Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
> hi...@fa... 608-263-4427 fax: 608-263-6738
> http://www.ssec.wisc.edu/~billh/vis.html
>
>
> On Sat, 23 Dec 2000, Ng Gee Tiong wrote:
>
> > Hi to all out there
> >
> > I am using Vis5d to visualise some oceanography data.
> > I tried the Maketopo utility.
> > However the topo map appears at the 0.0 level
> > how do I get the underwater topo shown and not just see a blue layer at
the
> > top
> > does it mean that I had to code the data as 0.0 level being the base of
my
> > underwater topo?
> > Anyone can help???
> >
> > ps: by the way, enjoy the holidays
> > Merry Christmas !!!
> >
> > GT
> >
> >
>
|