Page 1 of 2

Planet grids

Posted: 12.03.2008, 19:05
by chris
I've implemented planetographic grids for Celestia. They're rendered as lines, not textures, and can be toggled on and off for any planet:
Image

Useful? If so, what else would you like to see from this feature? Any suggestions on the appearance?

--Chris

Posted: 12.03.2008, 19:20
by t00fri
VERY useful!

F.

Posted: 12.03.2008, 20:25
by ElChristou
Equator in a different color?

Posted: 12.03.2008, 22:06
by selden
It'd be nice if the prime meridian had a unique color, too.

And if the colors were settable, as the orbital colors are now.

Posted: 12.03.2008, 22:17
by chris
selden wrote:It'd be nice if the prime meridian had a unique color, too.

And if the colors were settable, as the orbital colors are now.


What about using a thicker line instead (or in addition to) of a different colored line?

It's easy to make the colors settable; I'll do that.

I think it could also be useful to show a circle depicting the the terminator.

--Chris

Posted: 12.03.2008, 22:50
by selden
chris wrote:What about using a thicker line instead (or in addition to) of a different colored line?
That sounds reasonable, too. I think it's desirable to be able to quickly locate the origin of the coordinate system.

It's easy to make the colors settable; I'll do that.
Thanks!
I think it could also be useful to show a circle depicting the the terminator.
I agree.

Posted: 12.03.2008, 23:19
by Johaen
Just an idea, but as you zoom in, the precision (maybe a different word that I can't think of) of the lines increases. So in that picture, it's every 10 degrees, but as you get closer it could be every 8 degrees, then 6, then 4, etc, or something similar. Just an idea. Not sure if it would be useful.

Posted: 12.03.2008, 23:23
by ajtribick
It might be nice to use the degree symbol, but I'm not sure of the typical conventions here.

Posted: 12.03.2008, 23:26
by Cham
Ooh, this is VERY nice ! I was asking for something like this before (grids on planets and moons).

I didn't tested it yet, but I agree that the resolution should be made scale dependant (if it isn't already).

Also, we should have a different line rendering (thikness and color) for the equator, and the reference meridian.

Posted: 13.03.2008, 01:51
by chris
Here's another shot with the equator marked in a different color and line width. Also shown is an arrow indicting the direction to the orbit origin (in this case Saturn):

Image

--Chris

Posted: 13.03.2008, 01:58
by ElChristou
Will the grid stay active if one go to ground?

Posted: 13.03.2008, 02:11
by Chuft-Captain
I assume that as you get closer, the lines don't become thicker or blurred ie. they scale automatically (this is good :) )

One thing that might be nice is an option to adjust the boldness/contrast of the lines. ie. for a subtler effect.
One way to achieve this effect might be to allow the transparency of the lines to be specified. Is this possible?

This could be a percentage value between 0-100 where zero is completely opaque (as already shown),
and 100 would be totally transparent, and hence invisible.

This could be in addition to, or in fact instead of the current on/off functionality already provided, because
0% transparency would correspond to ON, and 100% transparency would correspond to OFF.

JM2CW
CC

Re: Planet grids

Posted: 27.03.2008, 14:03
by duds26
It would be good to have an option in the viewing options
(Where also visibility with planets, names, orbits, star names, etc)
To be able to toggle it on or off.

Re: Planet grids

Posted: 27.03.2008, 17:05
by volcanopele
Oh wow, I didn't notice this before. I was just about to create alt textures with grids for the Galileans and Saturn's major moons.

This is very useful!

Re: Planet grids

Posted: 11.04.2008, 22:22
by volcanopele
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

Re: Planet grids

Posted: 11.04.2008, 22:25
by chris
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

Re: Planet grids

Posted: 12.04.2008, 01:27
by ElChristou
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?

Re: Planet grids

Posted: 13.04.2008, 11:39
by ElChristou
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:

Re: Planet grids

Posted: 20.04.2008, 12:26
by ElChristou
ElChristou wrote:Chris is the above incomprehensible or I'm just saying again some sort of insanity? :lol:

Bump... :|

Re: Planet grids

Posted: 20.04.2008, 23:57
by chris
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