Another Dumb Question

Tips for creating and manipulating planet textures for Celestia.
granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #21by granthutchison » 23.12.2003, 17:22

Bob Hegwood wrote:Tell me, how does one KNOW where the Central Meridian is in a planet map?
As I say, a responsible and sensible texture creator will tell you in the documentation. Sure enough, Bj?rn tells us on his web site that zero longitude is at the edge of the Callisto map - so all you need to do is to swap the left and right halves of the texture, and you'll have the prime meridian centrally placed for Celestia.

Grant

Topic author
Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #22by Bob Hegwood » 23.12.2003, 19:42

Grant,

I understand that Bj?rn J?nsson's works are all *very* well documented, and I've even downloaded and converted Europa and Callisto from his site now. I've *successfully* converted them to images which are using a 0 longitude Central Meridian located at the center of the image.

(See how far I've come within the last three days? :wink: )

This has been a real educational experience, and I'd like to thank you all VERY much for the advice.

I STILL don't know how to determine where the Central Meridian is located on some of the other maps I've downloaded though. If the author doesn't tell you this information, you just have to *guess* at it don't you?

In other words, you already have to have an image in which you *do* know the location of the Central Meridian, before you can determine where it's at in the new image. Is this correct?

Or, is there a NASA location (or some such) from which one can derive this information?

Thanks again, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #23by granthutchison » 23.12.2003, 19:50

Bob Hegwood wrote:I STILL don't know how to determine where the Central Meridian is located on some of the other maps I've downloaded though. If the author doesn't tell you this information, you just have to *guess* at it don't you?
Pretty much so. Guided by the knowledge that 180 degrees is very common, other multiples of 90 less so, and everything else vanishingly rare. (To my embarrassment, my first correction to Celestia's old Callisto texture involved a rotation of 150 degrees :oops: - something Fridger referred to as a "phantasy", as I recall ... but only after I'd realized my error for myself and corrected it to a full 180-degree twist :wink:).
Referring to maps with known central meridians helps you judge which is the likely longitude shift from the above options - all the current Celestia distribution textures for bodies with a solid surface are aligned with a zero central meridian. Finding maps with longitude grids or named features you can use for reference is also helpful. In your image editor you should be able to read off the cursor coordinates when you place the cursor over a given feature - from that you should be able to work out how many degrees from the left margin a given prominent feature is, and compare that with the position of the same feature in a correctly orientated texture. (Angular offset from left margin = x/width*360, where x is the horizontal coordinate of your cursor position, and width is the image width in pixels.) The final check is to set up your new adjusted texture as an AltSurface and toggle back and forth between the Celestia standard and the new texture to make sure the features align.

Grant

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #24by selden » 23.12.2003, 19:56

Bob,

The USGS maps of the Galilean satellites (Io, Ganymede, Europa and Callisto) and of some of the Saturnian satellites are at
http://astrogeology.usgs.gov/Projects/JupiterSatellites/
and
http://astrogeology.usgs.gov/Projects/SaturnSatellites/

They all have 0 in the center.
Selden

Topic author
Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #25by Bob Hegwood » 23.12.2003, 20:01

granthutchison wrote: (To my embarrassment, my first correction to Celestia's old Callisto texture involved a rotation of 150 degrees :oops: - something Fridger referred to as a "phantasy", as I recall ... but only after I'd realized my error for myself and corrected it to a full 180-degree twist :wink:).


Well, speaking of Fridger, you and HE should know that his current TexFoundry version of Europa (The 2k Europa.png file) also has problems. This version of the moon's texture map also has the Central Meridian located at the left edge of the map. Using your excellent advice, I managed to correct the image so that its Central Meridian is now located in the center of the image.

I presume that this kind of error didn't matter much in earlier versions of Celestia, but it certainly does if you're trying to relate location files to an object.

I'd be happy to put up some pictures if that would help.

Thanks very much again, Grant... You DA MAN! :lol:

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Topic author
Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #26by Bob Hegwood » 23.12.2003, 20:10

selden wrote:Bob,

The USGS maps of the Galilean satellites (Io, Ganymede, Europa and Callisto) and of some of the Saturnian satellites are at
http://astrogeology.usgs.gov/Projects/JupiterSatellites/
and
http://astrogeology.usgs.gov/Projects/SaturnSatellites/

They all have 0 in the center.


Thanks very much Selden, but I've already been there. Your supreme Celestia Resources page got me to those websites somehow in my quest to understand this aspect of planetary map rendering.

By the way, THANKS for the website link on your page. Can't imagine why you'd list my little area of the web though. :oops:

I'm slowly getting up to speed on all this stuff, however, so stay tuned. :wink:

Take care, Bob
Last edited by Bob Hegwood on 23.12.2003, 20:17, edited 1 time in total.
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #27by granthutchison » 23.12.2003, 20:11

Bob Hegwood wrote:Well, speaking of Fridger, you and HE should know that his current TexFoundry version of Europa (The 2k Europa.png file) also has problems.
Ah, we know about that one, and some others, like Mars. Fridger produced his original textures to match the Celestia distribution textures of the time (not unreasonably), and then I came along and messed with the distribution textures to standardize them. Since then, Fridger has had difficulty finding the bandwidth to revise his larger textures to match.

Grant

Topic author
Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #28by Bob Hegwood » 23.12.2003, 20:28

granthutchison wrote:
Bob Hegwood wrote:Well, speaking of Fridger, you and HE should know that his current TexFoundry version of Europa (The 2k Europa.png file) also has problems.
Ah, we know about that one, and some others, like Mars.


Well, if that's the case, might I suggest that Fridger place some kind of NOTE in his README file to relate this information? You have NO idea how much confusion this caused me when trying to understand this Central Meridian Concept.

If an unsuspecting newbie downloads these files, THEY'RE not going to know that anything is wrong until they plug in a location file.

Just a thought for you Fridger...

By the way, if you'd care to simply E-mail me the images, I would be more than happy to correct them for you.

Piece of cake now Grant thanks to YOUR information.

Thanks, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1


Return to “Textures”