Planet surface - ideas

General discussion about Celestia that doesn't fit into other forums.
Topic author
Sum0
Posts: 273
Joined: 10.03.2002
With us: 22 years 9 months
Location: Norwich, UK

Planet surface - ideas

Post #1by Sum0 » 30.07.2002, 08:59

I've had some ideas for making planet surfaces more interesting in Celestia. First, when you get down to about <10 metres from a planet there's a "hole in the sky" where the atmosphere colour and sky colour don't match up. Go up to >30 metres (generally) and the atmosphere and sky blend in nicely.
Onto my main idea - in Celestia, when you "land" on a planet, the ground is a uniform colour, presumably based on the pixel you landed on. How about when you get down to a certain level the planet texture is replaced by a more detailed ground texture?
For example, if you "landed" somewhere in the countryside in the UK, Celestia would load a detailed "grass" texture and texture the ground with it.
How would the program know that you'd landed in a place with grass? There'd be a local texture map, similar to a bump map or specular map. Most of Europe is grass or forest, so that would all be in a certain colour - say, [0.5 0.9 0.5]. North Africa is mostly desert, so that would be another colour, say [0.7 0.7 0.3]. In the code they'd be something like...

Code: Select all

LocalMap "earthlocal.jpg"
         Colour [0.5 0.9 0.5] {
                   LocalTexture "grass.jpg"}
         Colour [0.7 0.7 0.3] {
                   LocalTexture "desert.jpg"}


So, when you got below a certain altitude, Celestia would check your co-ordinates against the "earthlocal.jpg". It would check the pixel corrosponding to your location (and possibly a few of the pixels around it). If the pixel colour was [0.5 0.9 0.5] it would load the grass texture and texture the ground with it. Get that? I hope.

Related to the last idea is cloud textures for the sky - designed to be viewed from underneath. Once you went beneath the cloud layer a special, more detailed cloud texture would load, painting cloud formations onto the sky. If you have a detailed enough cloud texture you can already see clouds in the sky to a certain extent already in Celestia,but it could certainly be improved.

My next idea is for non-flat horizons, with mountains, buildings, whatever. I think someone is doing this anyway for a Celestia mod, but i'm not sure.

And finally, weather effects would be cool, with added sound as well.

Imagine standing on a weird extrasolar planet, looking down at the strange rock patterns at your feet, seeing the oddly shaped mountains in the distances, while around you the wind whips you with an eerie wailing sound as rain lashes in front of you and lightning strikes from strange clouds... Wouldn't that at least border on extremely cool? Thanks for listening to my ramblings.
"I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."

billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #2by billybob884 » 22.08.2002, 22:05

It sounds like your trying to make Celestia into a virtual reality game, not saying it wouldnt be cool...


Mike M. :mrgreen:
Mike M.

TacoTopia!

Paul
Posts: 152
Joined: 13.02.2002
With us: 22 years 9 months
Location: Melbourne, Australia

Post #3by Paul » 23.08.2002, 00:47

It sounds like your trying to make Celestia into a virtual reality game, not saying it wouldnt be cool...


No offense, but what he described sounds nothing like a game - he was just talking about having a better simulation of being on the planet. Celestia's a simulation already, y'know? :wink:
Cheers,
Paul


Return to “Celestia Users”