Realigning John van Vliet's Mercury texture: how?

Tips for creating and manipulating planet textures for Celestia.
Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Realigning John van Vliet's Mercury texture: how?

Post #1by StarSeeker » 19.08.2006, 05:12

I am using http://www.celestiamotherlode.net/creat ... ercury.zip which is the first 8K Mercury map from John van Vliet. Unfortunately, the Locations in Celestia do not properly line up with the texture, or vice-versa. (I noticed the Hun Kal crater at -21.4 longitude while it is by definition at -20, but no matter; I'm sure it's easier to nudge the terrain.) How would I go about realigning this texture to match up with the Locations?

I need to know two things: how do I move textures in general, and how far would I have to move this texture, if you know offhand? The latter I can T&E if necessary.

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #2by StarSeeker » 21.08.2006, 14:35

*bump*

Surely someone has run into texture moving before.

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

Post #3by selden » 21.08.2006, 15:36

You have two options:

1. Use your favorite image editor to shift the contents of the image left or right so it wraps around on the other side.

In a recent posting on the Development forum, Fridger mentioned that Gimp can rotate textures if you enable the "Wrap" option.

See http://www.celestiaproject.net/forum/viewtopic ... 2996&72996
and the subsequent postings in that thread.

2. Modify the RotationOffset value in Celestia.

[edit]
or you might try to contact John directly and ask him to repair the texture image.
[/edit]
Selden

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #4by John Van Vliet » 21.08.2006, 22:35

so it is 1.4 deg off . i will look into it
the base image is this one --an OLD map
http://astrogeology.usgs.gov/SolarSyste ... e_cyl.tiff

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #5by StarSeeker » 23.08.2006, 15:02

Well, like I said I'm not really sure if it's the texture or the location database. But it's off. :)

RotationOffset? I presume that's in solarsys.ssc?

Thank you John; I'll wait for further posting from you before I try fixing anything myself. The texture is pretty sweet and I'd rather not break it with my newbie hack-and-slash. :)

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #6by Chuft-Captain » 23.08.2006, 19:12

selden wrote:2. Modify the RotationOffset value in Celestia.


Correct me if I'm wrong, but I believe that using this second technique (although fine to achieve the alignment of the texture) actually changes the planet's orientation with the sky (in terms of longitudes), so for example a satellite/spacecraft etc. in orbit having the planet as their frame of reference would for example travel over the longitude 180 degrees at a certain time according to published data, but the texture at that longitude would be for perhaps the 181.4 degree longitude, so it would appear that the spacecraft was in the wrong position.

(Of course, even if I'm right, this is not an issue if you're not worried about absolute accuracy -- if so, use the first technique)

:wink:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

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

Post #7by selden » 23.08.2006, 19:36

CC,

Changing the RotationOffset does change the orientation of the body. For a spherical body this just changes the apparent location of its prime meridian -- in this case it shifts the map of Venus slightly in an east-west direction. If only the one map is being used, then this might be a reasonable workaround. If different maps are being used, however, it's no good, since they'd each have a different offset.
Selden

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #8by StarSeeker » 24.08.2006, 05:57

I changed the RotationOffset. This does not work: it rotates the whole planet, texture included.

So the terrain will need to be repositioned. Might I recommend using the Ibsen and Petrarch Craters and Arecibo Vallis, a rather obvious set of close features in the Caloris Antipode region, as a reference?

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #9by John Van Vliet » 08.09.2006, 18:53

well i wont be able to recheck the map because i dont have acess to the box where they are stored , for the next 6 mo.
But as far as i know the longitude should be correct ???
but then again who knows

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #10by StarSeeker » 09.09.2006, 03:38

I am not sure; I suspect your terrain is actually correct but the landmarks in Celestia are wrong for whatever reason.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #11by John Van Vliet » 09.09.2006, 21:14

could be, with so many people doing diferent things an error is bound to crop up now and then .

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #12by StarSeeker » 10.09.2006, 23:57

Do you wish to adjust this yourself or have me do so and upload a copy to CML?

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #13by John Van Vliet » 15.09.2006, 20:46

you will nead to make the adjustment and upload it to cml
at this time my os is a harddrive with no place to run it .

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 19 years 2 months
Location: Urbandale, IA
Contact:

Post #14by StarSeeker » 19.09.2006, 16:57

Okay, I made the adjustments, and attempted to upload it, however, it timed out and then took me to the main page again. In the meantime, I am hosting it on my site: http://www.sunandshadows.com/common/8kMercury.png . Sorry for the inconvenience.

BrainDead
Posts: 238
Joined: 27.08.2005
With us: 19 years 3 months
Location: Germantown, OH

Just FYI

Post #15by BrainDead » 28.09.2006, 23:53

I have already adjusted the 2k Mercury texture so that it now accurately reflects the locations it depends on for my simple tour of Mercury.

Don't know if anyone even cares or not, but I'll upload the revised Mercury
zip package to the CML later tonight. The original texture needed to be
offset by approximately 80 pixels to the left. Just FYI. -BrainDead
Brain-Dead Bob

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.1

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #16by Cham » 29.09.2006, 00:52

Hey ! Bob IS BACK ! :D

Nice to see you back, Bob, I was wondering ...
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BrainDead
Posts: 238
Joined: 27.08.2005
With us: 19 years 3 months
Location: Germantown, OH

Post #17by BrainDead » 29.09.2006, 01:12

Cham wrote:Hey ! Bob IS BACK ! :D

Nice to see you back, Bob, I was wondering ...


Don't let yer nipples get too hard...

Sorry, but I've been very ill. Won't be around much longer but I still
love exploring the universe when I can. Thanks for the remembrance.

Love ALL of you space nuts. :wink:

Take care, Bob
Brain-Dead Bob



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.1

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #18by ElChristou » 29.09.2006, 01:22

Hey, Bob nice to see you!

Hope you the best for the unpleasant moment... :?
Take care Bob, later! :wink:
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #19by John Van Vliet » 15.01.2007, 23:23

hi I just took a lok at my 8k Mercury map and compaired it to
http://www.solarviews.com/cap/merc/mer06.htm

and it is 195 pixles off
open in gimp and set x offset to -195 and save

Hamiltonian
Posts: 51
Joined: 27.10.2004
With us: 20 years 1 month

Re: Realigning John van Vliet's Mercury texture: how?

Post #20by Hamiltonian » 21.01.2007, 20:39

StarSeeker wrote:(I noticed the Hun Kal crater at -21.4 longitude while it is by definition at -20, but no matter; I'm sure it's easier to nudge the terrain.)
Hun Kal is at -20 in the new update on CVS.
http://celestia.cvs.sourceforge.net/celestia/celestia/data/merc_locs.ssc
Hamiltonian


Return to “Textures”