Planet grids

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.

Re: Planet grids

Postby chris » Fri Apr 11, 2008 3:25 pm

volcanopele wrote:Noticed this issue with the grid labels that appear visible even when there is a body between the observer and the world that has the grid on.

RPCROSS3_celestia_grid_4.png


I'll have a look at this--I'm pretty sure already that I have a handle on what's going wrong.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: Planet grids

Postby ElChristou » Fri Apr 11, 2008 6:27 pm

Chris, it you are able to define the global color of a body to do the planetshine, I was wondering if it could be possible to use this data to generate the color of the grid; in fact not the color but the value...

What I mean is if you have a color, then you could probably get it's value (it's just a desaturation), then the grid would be this value +n (n to be define for a pleasing result). I think the grid should stay in greyscale, no color (too hard to match a great variety of maps), so let's say the value of the global color of Earth is x, then the grid would be x+2 for example... The point is to always have a nicely adapted color grid on all bodies... Possible?
Image
User avatar
ElChristou
 
Posts: 3809
Joined: Fri Feb 04, 2005 2:05 pm
Location: A Frenchie in Paraguay (South America)

Re: Planet grids

Postby ElChristou » Sun Apr 13, 2008 4:39 am

ElChristou wrote:Chris, it you are able to define the global color of a body to do the planetshine, I was wondering if it could be possible to use this data to generate the color of the grid; in fact not the color but the value...

What I mean is if you have a color, then you could probably get it's value (it's just a desaturation), then the grid would be this value +n (n to be define for a pleasing result). I think the grid should stay in greyscale, no color (too hard to match a great variety of maps), so let's say the value of the global color of Earth is x, then the grid would be x+2 for example... The point is to always have a nicely adapted color grid on all bodies... Possible?


Chris is the above incomprehensible or I'm just saying again some sort of insanity? :lol:
Image
User avatar
ElChristou
 
Posts: 3809
Joined: Fri Feb 04, 2005 2:05 pm
Location: A Frenchie in Paraguay (South America)

Re: Planet grids

Postby ElChristou » Sun Apr 20, 2008 5:26 am

ElChristou wrote:Chris is the above incomprehensible or I'm just saying again some sort of insanity? :lol:


Bump... :|
Image
User avatar
ElChristou
 
Posts: 3809
Joined: Fri Feb 04, 2005 2:05 pm
Location: A Frenchie in Paraguay (South America)

Re: Planet grids

Postby chris » Sun Apr 20, 2008 4:57 pm

ElChristou wrote:
ElChristou wrote:Chris is the above incomprehensible or I'm just saying again some sort of insanity? :lol:


Bump... :|


It's not insanity, but it won't work, either. There are two problems: first of all, most planets have the color left at the default value of white (or [ 1 1 1]). But, I don't think that a black grid--which seems to be what would be derived via your method--would look good for most planets.

The second problem is more fundamental: the color specified in the ssc file is intended to be normalized so that the largest component is 1.0. This means that there's no value information present in the color at all. The actual value of the planet disc is derived from albedo, phase, distance to viewer, and distance to the illuminating star.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: Planet grids

Postby ElChristou » Sun Apr 20, 2008 7:12 pm

chris wrote:...There are two problems: first of all, most planets have the color left at the default value of white (or [ 1 1 1]). But, I don't think that a black grid--which seems to be what would be derived via your method--would look good for most planets.

The second problem is more fundamental: the color specified in the ssc file is intended to be normalized so that the largest component is 1.0. This means that there's no value information present in the color at all. The actual value of the planet disc is derived from albedo, phase, distance to viewer, and distance to the illuminating star.


Mhhmm... don't follow you well... do we talk about the same? I was referring to the planetshine; how do you define the color used to illuminate orbiting object?
Image
User avatar
ElChristou
 
Posts: 3809
Joined: Fri Feb 04, 2005 2:05 pm
Location: A Frenchie in Paraguay (South America)

Re: Planet grids

Postby chris » Sun Apr 20, 2008 11:31 pm

ElChristou wrote:
chris wrote:...There are two problems: first of all, most planets have the color left at the default value of white (or [ 1 1 1]). But, I don't think that a black grid--which seems to be what would be derived via your method--would look good for most planets.

The second problem is more fundamental: the color specified in the ssc file is intended to be normalized so that the largest component is 1.0. This means that there's no value information present in the color at all. The actual value of the planet disc is derived from albedo, phase, distance to viewer, and distance to the illuminating star.


Mhhmm... don't follow you well... do we talk about the same? I was referring to the planetshine; how do you define the color used to illuminate orbiting object?


We're talking about the same thing. The color used for planetshine is the same color used for rendering ssc objects as points when they're too small to be resolved as discs: the ssc Color property. For the reasons I explained above, this color can't be used (effectively) to determine what color that grid should be drawn in.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: Planet grids

Postby ElChristou » Mon Apr 21, 2008 3:38 am

Understood!
Image
User avatar
ElChristou
 
Posts: 3809
Joined: Fri Feb 04, 2005 2:05 pm
Location: A Frenchie in Paraguay (South America)

Re: Planet grids

Postby SU(3)xSU(2)xU(1) » Wed May 07, 2008 9:48 am

I think, that it would be nice to include tropics, arctic and antarctic circles in planet grids. They are well defined at least for planets (the only parameter, which set their position is the angle between planet's rotation axis and it's orbital plane).
I realise, that the issue is more complicated for moons, objects with unusual orbits (without well defined orbital plane) or unusual rotation (without well defined rotation axis). That's why I propose an additional boolean parameter. It's value would decide about displaying these 4 circles. It would look like that:
Code: Select all
"Earth" "Sol"
{
 (...) # all other parameters
 EnableTropics true
 }


There are two possibilities of displaying tropics, arctic and antarctic circles. They could be just parts of the grid, but they might also be displayable separately (like the terminator). They could also move in very long time scales, adjusting to eventual changes of the angle between planet's rotation axis and it's orbital plane. What do you think?

Paul

P. S. These circles should look quite funny on Uranus :D
"Physicists know what's important, but they don't know what is true. Mathematicians know what's true, but they don't know what is important."
User avatar
SU(3)xSU(2)xU(1)
 
Posts: 60
Joined: Mon May 05, 2008 1:59 pm

Re: Planet grids

Postby Guckytos » Thu May 08, 2008 10:17 am

SU(3)xSU(2)xU(1) wrote:
P. S. These circles should look quite funny on Uranus :D


I don't think that this would really be usefull. It would only make sense for planets that are in the habitable zone and for all the others, as you already said in the quote above, it would be nonsense.
And how would you calculate them anyways for planets other than earth (solar system bodies) itself?

The grid itself is a good idea, that shouldn't be filled with too much information.

Just my 2 cents.

Regards,

Guckytos
Windows XP Pro & Fedora 14 (to heck with preupgrade & GNOME 3), 1600*1200 Resolution
4 GB Ram, Core2Duo 6300E, Geforce 7950 GT 256MB
Celestia 1.6.0
User avatar
Guckytos
 
Posts: 549
Joined: Tue Jun 01, 2004 5:13 am
Location: Germany

Re: Planet grids

Postby chris » Thu May 08, 2008 10:41 am

Guckytos wrote:
SU(3)xSU(2)xU(1) wrote:
P. S. These circles should look quite funny on Uranus :D


I don't think that this would really be usefull. It would only make sense for planets that are in the habitable zone and for all the others, as you already said in the quote above, it would be nonsense.
And how would you calculate them anyways for planets other than earth (solar system bodies) itself?

The grid itself is a good idea, that shouldn't be filled with too much information.

Just my 2 cents.


The calculation of the tropics, arctic, and antarctic circles is straightforward for both planets or moons. For a planet, the tropics are at a latitude equal to +/- the obliquity (angle between the pole and orbital plane.) The latitudes of the arctic and antarctic circles are +/- 90 minus the obliquity. For moons, you can get a very close approximation by replacing the obliquity with the angle between the moon's rotation axis and its planet's orbital plane. This approximation only becomes problematic when the moon's orbital plane is substantially different from the planet's (e.g. the moons of Uranus) and the moon orbits at a distance from the planet that's some significant fraction of the planet to sun distance. In other words, the approximation is fine for any of the moons in our solar system except possibly some of the rocks orbiting the outer planets.

I'm in agreement with Guckytos, however: I don't think that showing these circles is especially useful.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: Planet grids

Postby t00fri » Thu May 08, 2008 11:06 am

Chris wrote:I'm in agreement with Guckytos, however: I don't think that showing these circles is especially useful.

--Chris


I completely agree. Why don't we let Mr. "Standard Model" motivate ourselves about the need for this feature.

So far his argument was merely that it would be "nice" to have.

Fridger
Image
User avatar
t00fri
 
Posts: 8782
Joined: Fri Mar 29, 2002 5:53 am
Location: Hamburg, Germany

Re: Planet grids

Postby Hungry4info » Thu May 08, 2008 1:01 pm

I don't see the point. For tidally locked worlds, such as GJ 876 d, the ideas of arctic, tropic, and such zones gets rather distorted. Furthermore, a lot of that involves an atmosphere. Venus is pretty much the same temperature everywhere, for example.

I must say I think the idea is useless.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
User avatar
Hungry4info
 
Posts: 1148
Joined: Sun Sep 11, 2005 12:43 pm
Location: Indiana, United States

Re: Planet grids

Postby piellepi » Fri May 09, 2008 2:03 am

Hi Celestians! :D
Sorry to bother you: perhaps it's a feature of the planet grids...
Selecting the grid for the planet Venus (with clouds), I had this image :?
Image
and then deselecting clouds I had this picture
Image.

Is it possible to have the grid over the clouds or am I doing something wrong?

Ciao
Pierluigi
User avatar
piellepi
 
Posts: 124
Joined: Thu Sep 25, 2003 6:33 am
Location: Rome, Italy

Re: Planet grids

Postby chris » Fri May 30, 2008 6:34 pm

volcanopele wrote:Noticed this issue with the grid labels that appear visible even when there is a body between the observer and the world that has the grid on.

RPCROSS3_celestia_grid_3.png


This issue has been fixed for a couple weeks in the SVN version.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

PreviousNext

Return to Ideas & News

Who is online

Users browsing this forum: No registered users and 0 guests