Hi Selden,
I am not sure if I understand your example correctly. As an exercise I've created a VT successfully following the "Virtual Texture for Dummies" tutorial where I have to handle texture files like JPGs. But now I have to deal with those text files which carry the coordinates of the borders. So if I take e.g. africa.txt (besides there are of course europe, asia and america.txt files) does the code from your example then start like this:
Code: Select all
AltSurface "PoliticalBM" "Sol/Earth" {
OverlayTexture "africa.txt"
The CIA World Data Bank files carry a readme file which says:
"...The segment number is just an ID for the segment. The rank is some sort
of ranking of the size or significance of the segment, with 1 being
the highest rank, 2 the next, and so on;
map-drawing software typically
uses this number to control the amount of detail in a map. The last
number is the number of points forming the segment. The points themselves
are then listed on the following lines, one per line. The values for a
point are its latitude and longitude, expressed as a floating point number
of degrees; positive latitude is north of the equator, positive longitude
is east of the prime meridian. Note that using floating point degrees
rather than the original integer degrees and arc minutes means that some
slight loss of accuracy has been incurred for the sake of convenience..."
So Celestia as a map-drawing software (if it is a such one) does interpret the text file with its coordinates as a texture ??? I am a little bit confused.
Thank you for your patience in advance
Cheers, tiburcio