POV-Ray : Newsgroups : povray.general : I want World Coordinate Data Server Time
1 Nov 2024 05:24:15 EDT (-0400)
  I want World Coordinate Data (Message 1 to 3 of 3)  
From: Jon Lockhart
Subject: I want World Coordinate Data
Date: 13 Nov 1999 10:14:10
Message: <382d8042@news.povray.org>
I was watching a news show one day and they had a view of a
spinning globe. Each continent seemed to be created out of
a mesh of some kind. Where oceans normally, would be, you
could see through to the other side of globe. Each continent
was its own object. In other words, they weren't using an
image-mapped sphere. I've done image-mapped spheres.

What I want is vector data that I can use to recreate the same
effect. With vector data, I can write a short program to create
my own smooth meshes of the continents.

I went searching on the internet and found references to the
Digital Chart of the World (DCW) which has been renamed to
VMAP Level 0. However, the online sources for this data make
it such a pain to download it piece by piece. Not to mention it
is HUGE! About 87 megabytes it seems. This is definately
overkill for what I want to do. I know it is available on CD's, but
for now I am looking for a free source of the data if it exists.

Is there anything else available some poor soul can use to
just get an OUTLINE of the major land masses in a vector
format? Lat/Long coords would be preferrable, but I'll take
almost anything I can convert.


Post a reply to this message

From: Ken
Subject: Re: I want World Coordinate Data
Date: 13 Nov 1999 12:55:54
Message: <382DA53C.3D5CE800@pacbell.net>
Jon Lockhart wrote:
> 
> I was watching a news show one day and they had a view of a
> spinning globe. Each continent seemed to be created out of
> a mesh of some kind. Where oceans normally, would be, you
> could see through to the other side of globe. Each continent
> was its own object. In other words, they weren't using an
> image-mapped sphere. I've done image-mapped spheres.

Hypothetical solution untested and untried -

Going back to the image map idea for just a minute it might still be
possible to use this method to create the model you want. The method
I would use would be to paint the ocean basins white and leave the
land masses the original colors. Then use a filter index for the
image map that cooresponds to the white used in the ocean basins.
When sphericaly mapped to a globe you should now see just the land
masses with clear areas where the oceans once were.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: omniVERSE
Subject: Re: I want World Coordinate Data
Date: 13 Nov 1999 13:45:06
Message: <382db1b2@news.povray.org>
I've had limited success using the iso_surface and pigment function of Super
Patch to make a height field of a elevation map of the Earth and then
differenced it away with a inner sphere, the resulting animation was so-so.
I say limited only because the best topographical images I have here to do
this with are lacking in full globe coverage.  However, using Kens idea
would work okay for this same thing and cut away the oceans very well,
except use black instead.
Here's the generic pov script, less changes which might be needed:

#declare _C_ = .5; // clock

global_settings {
max_trace_level 6
 }

// pointlight and camera position
#declare LCX = 0;
#declare LCY = 1;
#declare LCZ = -9;

// light_source { <LCX+15,LCY+5,LCZ> color rgb <1.5,1.5,1.5>
// }
camera
{
  location  <LCX,LCY,LCZ>
  angle 22.5
  look_at   0
}

#declare Earth =
 function {
  pigment {
   image_map {
              gif "w_map_gt" // your image here
              map_type 1
             }
          }
 }

#declare Radius=1;
#declare Spheroid =
 function {"sphere",<Radius>}

difference {
 isosurface {
  function{Spheroid(x,y,z)-(Earth(x,y,z)/9)}
   method 2
   max_gradient 3
   bounded_by {sphere {0,1.1}}
   texture{
    pigment {rgbft<0,3,0,.33,.5>}
     finish {ambient 1.5 diffuse .9 phong .3 phong_size 30}
          }
  rotate -180*y rotate -_C_*360*y
}
 sphere {0,1.075-(.075*_C_) pigment {rgbft<3,0,0,.66,.66>} finish {ambient
3}}
}


Bob

Ken <tyl### [at] pacbellnet> wrote in message
news:382DA53C.3D5CE800@pacbell.net...
>
>
> Jon Lockhart wrote:
> >
> > I was watching a news show one day and they had a view of a
> > spinning globe. Each continent seemed to be created out of
> > a mesh of some kind. Where oceans normally, would be, you
> > could see through to the other side of globe. Each continent
> > was its own object. In other words, they weren't using an
> > image-mapped sphere. I've done image-mapped spheres.
>
> Hypothetical solution untested and untried -
>
> Going back to the image map idea for just a minute it might still be
> possible to use this method to create the model you want. The method
> I would use would be to paint the ocean basins white and leave the
> land masses the original colors. Then use a filter index for the
> image map that cooresponds to the white used in the ocean basins.
> When sphericaly mapped to a globe you should now see just the land
> masses with clear areas where the oceans once were.
>
> --
> Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.