More planet customization options
Moderators: winston, another_commander
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
I have added a new, nicely textured planet to a system using addPlanet:. It works, but the clouds Oolite wraps around it look rather artificial. In general I don't like them too much, but for a nicely textured planet they are really not the best choice.
I guess it will be a lot of work to create a completely new way of doing the clouds, but in the meantime I'd like to have more flexibility in handling them. Namely I suggest two keys for planetinfo.plist (sorry for suggesting ready-made names again, but I think that's the best way to explain what I mean):
"percent_cloud" = "0..100"
and
"cloud_hsb_color" = "0.0..1.0 0.0..1.0 0.0..1.0"
I imagine them perfectly analogous to percent_land and land_hsb_color, so the first one should determine the percentage of the planet's surface covered by clouds and the second one the colour these clouds should have. Perhaps for the second one a single grey-scale value would be sufficient for having brighter or darker clouds? On the other hand, why not the possibility to generate purple clouds, if a scripter wishes so?
I guess it will be a lot of work to create a completely new way of doing the clouds, but in the meantime I'd like to have more flexibility in handling them. Namely I suggest two keys for planetinfo.plist (sorry for suggesting ready-made names again, but I think that's the best way to explain what I mean):
"percent_cloud" = "0..100"
and
"cloud_hsb_color" = "0.0..1.0 0.0..1.0 0.0..1.0"
I imagine them perfectly analogous to percent_land and land_hsb_color, so the first one should determine the percentage of the planet's surface covered by clouds and the second one the colour these clouds should have. Perhaps for the second one a single grey-scale value would be sufficient for having brighter or darker clouds? On the other hand, why not the possibility to generate purple clouds, if a scripter wishes so?
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
That’s not a scripting request, but… done. New keys added:
Limitation: atmospheres configured this way will not be displayed when setting up a scene using setBackgroundFromDescriptionsKey:. Since this is completely undocumented, and I have no idea whether it actually works, that shouldn’t affect anyone. :-)
- percent_cloud
- cloud_alpha – scale factor for cloud_color and polar_cloud_color alpha values, [0, 1].
- clear_sky_color – a colour specifier (not HSV string) for the clear part of the sky at the equator. The alpha must be specified or will default to 1, as with all colour specifiers. Randomly-generated atmospheres use an alpha of 0.05 (or 13 on the 0-255 scale).
- cloud_color – a colour specifier for the cloudy part of the sky at the equator. Alpha for random atmospheres is 0.50. The alpha value is multiplied by cloud_alpha.
- polar_clear_sky_color – a colour specifier for the clear part of the sky at the poles. Alpha for random atmospheres is 0.34. If this is not specified, but cloud_color is, it will use clear_sky_color with its alpha scaled by 0.34/0.05.
- polar_cloud_color – a colour specifier for the cloudy part of the sky at the poles. Random atmosphere alpha is 0.75. If not specified, cloud_color is used, with alpha scaled by 0.75/0.50. The alpha value is multiplied by cloud_alpha.
- atmosphere_rotational_velocity – like rotational_velocity, but for atmospheres.
Limitation: atmospheres configured this way will not be displayed when setting up a scene using setBackgroundFromDescriptionsKey:. Since this is completely undocumented, and I have no idea whether it actually works, that shouldn’t affect anyone. :-)
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Killer Wolf
- ---- E L I T E ----
- Posts: 2278
- Joined: Tue Jan 02, 2007 12:38 pm
what i'd like to see, might not be possible : for me the planets seem to rotate too fast. i'd like them to be static, and have the skin for them split into night and day sides. you sometimes come up to planets on their "dark side", i think it would be nice if the skin there was mostly dark, w/ little light clusters for cities etc.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
The rotational velocity of the planets is one thing that can be set already, so it can also be set to zero. The skin depends on their texture. Why not texture a planet with citylights? Of course you then have to place it right, so that the dark side is really the side away from the sun. But that can be done by trial and error at least, and perhaps in a smart way as well. Or you have citylights everywhere, but not very bright, more yellowish then snow-white. Then perhaps you wouldn't notice them on the sunlit side of the planet.
Might try this out with a texture of the nightly Earth.
Might try this out with a texture of the nightly Earth.
-
- Mostly Harmless
- Posts: 2
- Joined: Fri Dec 28, 2007 3:25 am
landing?
is it going to be possible to land on the planets like in frontier?