Page 1 of 1

animated gas giants?

Posted: 03.04.2002, 13:22
by Sum0
Recently there's been a cool hack for Celestia that makes the clouds spin round Venus in 4 days while the actual planet goes much slower - as in real life.
Couldn't you make animated gas giants in this way? Ages ago there was a discussion on this topic. What I think you could do is make the texture of the gas giant the usual texture, and have it spin however fast you like. But, very close to the planets surface, you would have a cloud layer, textured with part of that planets texture, and the rest transparent. This would spin at a different speed to the "actual" planet.
On Jupiter, the bands might be the cloud layer, over the normal planet texture. As the planet spins the bands would spin at a different speed, creating an illusion of movement between the bands (cloud layer) and the rest of the planet (normal texture). Not that I know much about the weather systems of Jupiter... Does this make any sense? I hope so. I'll trying making an example gas giant.

Cluods on Gas Giant

Posted: 05.04.2002, 19:23
by Guest
After modified the Venus data, I thoutght to do something similar with Jupiter (but so far I hadn't the time to work on it), as you suggested.

As you know, to study the motion of the cluods on Jupiter we use two different coordinate systems, spinning at two different speeds (called System I and System II, almost in Italian): the trick is to make a texture rotate at System I speed and the other at System II speed.
One would be setted as a ground map (modifying the speed of rotation of the entire planet, if necessary), and the other as a cloud texture that rotate with a definite speed and an altitude of few km.
After I woould add a thin Atmosphere, as for Earth, Venus and Mars (it's a gas giant, after all!).

It would be more realistic and more funny if we could add more than one cloud texture i.e. another cloud layer above or under the actual one, so we can make clouds spinning in a more continous way, at a differential velocity... Chris, it's possible?
(a second texture layer on planets could be useful also for another reason: we could place on the map of a planet transparent textures with the names of planet's more important formations...)

A last thing: it's possible to set textures on the planet so the aspect is as I expect from calculations or real observations, such as transits of the Great Red Spot on the meridian of Jupiter? So Celestia could became useful also to preview our telescopic observations...
There's some work to do...
Regards
Anarion

Cluods on Gas Giant

Posted: 06.04.2002, 03:38
by Matt McIrvin
Anonymous wrote:After I woould add a thin Atmosphere, as for Earth, Venus and Mars (it's a gas giant, after all!).


If I recall correctly from the last time I tried this, in 1.2.2, at least, there is not proper support for atmospheres with oblate planets. So you might have to make the planet spherical for now.

Posted: 06.04.2002, 13:07
by Sum0
I have done a test on a gas giant around Alpha Centurai A, which should appear on Bruckner's add-on page soon. It doesn't look very good, and I just copied the planet data from some extrasolar planet, but it is cool to watch (especially if you add a moon and watch from there...)

Cluods on Gas Giant

Posted: 06.04.2002, 17:43
by Matt McIrvin
Anonymous wrote:It would be more realistic and more funny if we could add more than one cloud texture i.e. another cloud layer above or under the actual one, so we can make clouds spinning in a more continous way, at a differential velocity... Chris, it's possible?
(a second texture layer on planets could be useful also for another reason: we could place on the map of a planet transparent textures with the names of planet's more important formations...)


Currently the sky color seen from the ground is modeled as a background color, which has the disadvantage that it appears behind astronomical objects, such as the Moon (whose night side therefore appears black when seen from Earth in the daytime, when it should be blue). An additional cloud layer could be used as a transparent "roof" to simulate the blue sky more accurately. (This might not be the most efficient way to do it.)

Also, of course, real planets have multiple cloud layers.


[/i]

Posted: 07.04.2002, 09:18
by Sum0
You can get the moving cloud add-on here (thanks Bruckner)

Posted: 08.04.2002, 11:21
by Mikeydude750
Or, why not just make the core a few thousand miles in diameter, and make the atmosphere like it really is, super-thick near the core and lighter as you get higher up. Of course, you should be able to turn that off, if it becomes annoying.

Posted: 09.04.2002, 09:24
by Ortolan
I made a new Neptune texture and cloud layer for it to see what an 'animated' gas giant looks like. Looks pretty good at timex1000, I might try Jupiter next. You can download them from my website if you want:
http://www.skullcave.com/neptune.jpg
http://www.skullcave.com/neptune-clouds.png
Just edit your solarsys.ssc file to include atmosphere details for Neptune (eg. copy them from the Earth section and change the name of the cloud texture), I made the cloud height and speed faster than Earth's.
I still reckon fully-animated textures for the giants would kick ass! : )

Animated Jupiter

Posted: 10.04.2002, 04:06
by Matt McIrvin
I'm working on an "animated" two-level Jupiter texture of my own; it looks pretty good already, and I'll probably write some instructions, zip it up, and send it to Bruckner soon.

The basic idea is to use a cloud texture for Jupiter that is identical to the "ground" texture, but with an alpha channel that is a contrast-enhanced copy of the cloud brightness. Since the bright clouds on Jupiter tend to be the higher ones, this should, at least in theory, give OK results. Give the cloud map a nonzero CloudSpeed, and the lighter clouds race around the planet ahead of the dark ones.

The big problem for Jupiter is how to deal with the Red Spot. The technique above will cause high clouds to obscure part of the Red Spot most of the time, and a transparent, ghostly Pink Spot will move around the planet-- this is not what we want. So some cheat is needed.

Of course it's impossible to animate the Red Spot accurately; so I essentially carved out a transparent trench in the alpha channel so that the high clouds will at least leave it undisturbed.

Posted: 10.04.2002, 05:10
by Ortolan
The big problem for Jupiter is how to deal with the Red Spot. The technique above will cause high clouds to obscure part of the Red Spot most of the time, and a transparent, ghostly Pink Spot will move around the planet-- this is not what we want. So some cheat is needed.

Easiest way of fixing that is to have the red spot on the cloud texture at the correct contrast and everything, and remove the spot from the ground texture.
I've been toying with the idea of a hack that would enable the red spot to actually 'swirl'. Essentially, you code a synchronous orbit for a smaller planet that resides INSIDE Jupiter but closer to the sun so that a small circle of its surface breaches Jupiter's surface and is visible. You then tell the small planet to spin on its Z axis ala Uranus so that the visible spot actually rotates! I have no idea if the celestia engine will allow this but I intend to find out with a few tedious hours of trial and error.. ; )

Posted: 10.04.2002, 07:05
by Ortolan
D'oh! The celestia engine doesn't react well to planets & moons in close proximity. Ah well, no swirling red spot for now... : )

Posted: 10.04.2002, 16:43
by chris
Ortolan wrote:D'oh! The celestia engine doesn't react well to planets & moons in close proximity. Ah well, no swirling red spot for now... : )

What happened when you tried it? It should work fine, though there might be some occlusion errors. And eclipse shadows might be a little weird . . .

--Chris

Posted: 11.04.2002, 10:36
by Ortolan
Well I added an Earth-sized moon in orbit around Jupiter so close that 90% of the moon was inside Jupiter. It rendered correctly side-on until the moon passed in front of Jupiter at which point the entire moon was drawn instead of only the small circle of surface that should be visible. I next tried making the moon a smaller flat disc with the same aspect as the red spot, plus extended its orbit past Jupiter's surface. That rendered even worse - the disc would disappear as it began orbiting in front then reappear, then disappear again. (wishing there was a 'capture avi' option)

Posted: 11.04.2002, 19:52
by Rassilon
If your referring to Celestia and making movie clips...there is a capture AVI function within the Capture Movie dialog box accessed under the File menu...MPG, AVI uncompressed and AVI DivX...

Posted: 12.04.2002, 01:01
by Ortolan
If your referring to Celestia and making movie clips...there is a capture AVI function within the Capture Movie dialog box accessed under the File menu...MPG, AVI uncompressed and AVI DivX...

Is that only in the win32 version or a more recent build or something? I'm using 1.2.2 on i686 Linux.

Posted: 12.04.2002, 01:53
by Rassilon
Ortolan wrote:
If your referring to Celestia and making movie clips...there is a capture AVI function within the Capture Movie dialog box accessed under the File menu...MPG, AVI uncompressed and AVI DivX...
Is that only in the win32 version or a more recent build or something? I'm using 1.2.2 on i686 Linux.


Im not quite sure for linux...I suspect chris has put that functionality in all versions...And for win32 it was present in the 1.2.2 version...but if its not located in that specified location...then no you cannot do it in linux...