Planetside Software Forums

General => Terragen Discussion => Topic started by: Astaroth on January 07, 2008, 11:26:57 AM

Title: Cirrus clouds behind second planet
Post by: Astaroth on January 07, 2008, 11:26:57 AM
Hello everybody
first question of mine ;)

Is there any way to get the cirrus clouds BEHIND a second planet so they look like they're in the outer space like a nebula or so?
I've tried to raise the altitude of the clouds, but they're still in front of the planet and looked very crazy.

Thanks for your help, didnt find anything in the forum.

Astaroth
Title: Re: Cirrus clouds behind second planet
Post by: dhavalmistry on January 07, 2008, 11:31:17 AM
if you are trying to get nebula in the background, then you can do so by putting a nebula "image map shader" in the background or you can check this out...

http://forums.planetside.co.uk/index.php?topic=2017.msg28072#msg28072
Title: Re: Cirrus clouds behind second planet
Post by: Astaroth on January 07, 2008, 01:46:21 PM
Thank you for helping, but actually I have a nebula/starfield image in the background with this method, but now I want to add some additional cirrus clouds, who don't hide the second planet.
Is there a possibility without image mapping?

Title: Re: Cirrus clouds behind second planet
Post by: mrwho on January 07, 2008, 03:14:06 PM
well, you could try an illusion of sorts by making the planet small, and bringing it up close, and then put a cloud layer behind it.
Title: Re: Cirrus clouds behind second planet
Post by: Astaroth on January 07, 2008, 04:08:11 PM
I now have the planet at a distance of 15'000 meters and the cloud altitude is set to 100'000 meters, but they will be rendered still in front of the planet.
Seems not logic to me.

When I set the distance of the planet, from where will that be measured? From the center of the main planet or from the zero point?
Title: Re: Cirrus clouds behind second planet
Post by: rcallicotte on January 07, 2008, 04:30:49 PM
Measured from the center of the Main Planet.
Title: Re: Cirrus clouds behind second planet
Post by: moodflow on January 07, 2008, 04:32:03 PM
I don't think what you are after is possible, or atleast not tested.

I've wanted to test a similar method to where 2 background are created with different diameters, and the smaller diameter background has an image map with an opacity mask attached.  If this works, it would be just like the "inner" background having a billboard image posted to it.  If this works in TGTP, then you could likely pull this off.
Title: Re: Cirrus clouds behind second planet
Post by: Sethren on January 07, 2008, 05:18:51 PM
Could you try like 400,000 kilometers or more? See what that looks like.
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 07, 2008, 08:40:22 PM
Interesting idea.  The short answer is YES  ;D


I had no idea if it could be done or not so had a try.  I don't know if this is the effect you are after but here is a quick test render and the tgd.

The planet/moon is behind the normal clouds and the pink cirrus nebula is behind the planet.  Sorry about the colours.

The moon has a radius of 3000 Km and is pushed back 10000 Km.  The cirrus layer is at a height of 100000 Km; I did find that I needed to push back the background by an order of magnitude to keep everything visible. 

Title: Re: Cirrus clouds behind second planet
Post by: Sethren on January 07, 2008, 10:29:22 PM
Now there is a lot of potential there. Clouds for nebulas and i bet we can push them out even farther and increase the large-scale details some more. I smell hubble-like renders with what we have seen done with the aurora effects. I bet if we can push lighting shader sources out into the clouds then we can have nebulas lit from the inside and all around. This could get interesting.
Title: Re: Cirrus clouds behind second planet
Post by: j meyer on January 08, 2008, 10:22:57 AM
That looks very promising!Thank you Mr.L.
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 08, 2008, 07:33:29 PM
I had no idea what if anything was possible with this idea so very quickly put that scene together to find out.  The result looks similar to adding a power fractal shader to the background but as mentioned the ability to use depth should open up possibilities.

Just another thought to play with; How about passing a vector to the cloud density input of the "Nebula"?  Remember those psychedelic experiments from a while back  ;D

http://forums.planetside.co.uk/index.php?topic=2648.15
Title: Re: Cirrus clouds behind second planet
Post by: Sethren on January 08, 2008, 08:37:01 PM
Quote from: Mr_Lamppost on January 08, 2008, 07:33:29 PM
Just another thought to play with; How about passing a vector to the cloud density input of the "Nebula"?  Remember those psychedelic experiments from a while back  ;D

http://forums.planetside.co.uk/index.php?topic=2648.15


Yes, thanks Mr. Lamppost, those are the aurora effects i was referring to. I forgot what sub-forum it was exactly.
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 09, 2008, 09:16:54 PM
Sorry I didn't connect the two. The feeding vector experiments sort of faded away after "Stoned Glass"

http://forums.planetside.co.uk/index.php?topic=2648.msg27624;topicseen#msg27624

Yes that is near the end of the same thread

Here is a HUGE task for someone.  There is a vast store of ideas and ways to achieve then stashed away in here; anybody want to trawl through and sort the wheat from the chaff?
Title: Re: Cirrus clouds behind second planet
Post by: j meyer on January 10, 2008, 09:54:18 AM
Maybe this(the above posted file of yours) can help to set forth
the other thread after the creative break,let's see. ;) ;D
Title: Re: Cirrus clouds behind second planet
Post by: Virex on January 10, 2008, 11:11:09 AM
What's happening in the other treath is that they're converting a vector made by vornoi's and/or perlin's into colour. If I am not mistaken, the vector's XYZ become the colour's RGB, which means that you could controll the colour using vector manipulations (dot products and stuff like that). Also, the colours indicate the direction of the vector at that point. The redder, the more towards the X, green's pointing towards the Y and blue indicates the Z direction.
Title: Re: Cirrus clouds behind second planet
Post by: Astaroth on January 15, 2008, 10:25:39 AM
Sorry for my late answer, didn't have lot of time to play with terragen. Thank you very much for all the answers und tgd files!
I will test it later!

Astaroth

//Edit --> Tested it

@Mr_Lamppost
Okay, it seems that you have used spheres instead of planets. Thank you very much, this solution helps me to get the clouds behind the planet.
But why does this work with spheres and not with planets, and btw whats the difference between them?

Now I get another problem. As you see in my test-renderings, I get lost of the coronas from the suns, when I use spheres, is there any way to get them back?
The pictures gets a bit strange with the spheres :/ It seems that the light goes directly through the spheres...
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 15, 2008, 04:30:39 PM
The corona question is easy  ;D  the spheres are just that big balls hanging in space, the planets have atmospheres, which give the corona effect. 

No idea why the nebula (Distant cloud), is showing through the planets  :(  My guess is that it is related to a known problem with the sorting order of cloud, atmosphere and planet surface.  This usually manifests itself as the horizon showing through the clouds, I am sure I have seen it reported somewhere that this has been solved and will go away in the final version. 


Keep an eye on the other thread:

http://forums.planetside.co.uk/index.php?topic=2648.45

As this nebula idea is being developed using the vector density experiments mentioned previously, so has migrated there.

Title: Re: Cirrus clouds behind second planet
Post by: Astaroth on January 15, 2008, 04:55:45 PM
Okay thank you for fast answer.

So I hope on the final version to have both: clouds and coronas.
Will follow the other thread.

Thanks
Title: Re: Cirrus clouds behind second planet
Post by: j meyer on January 15, 2008, 05:09:30 PM
As far as i can say from my recent object tests (and spheres
are objects) there is a light through objects issue in TG2TP2.
And you should be able to use planets aswell.
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 15, 2008, 05:21:06 PM
OK I definitely do not know what is causing your nebula to be visible through your planets  ;D

Here are a couple of very low quality renders of a trial using a second planet. 

You might find the tgd chugs a bit as I increased the quality of both atmospheres and the near clouds.  The scales are better than they were in the original test, the nebula is rubbish but fixing that is just a matter of changing the density fractal.
Title: Re: Cirrus clouds behind second planet
Post by: Astaroth on January 15, 2008, 05:36:14 PM
Okay... thats very crazy, in my last post you see, that the cirrus clouds are in FRONT of the planet, I didn't change anything to the clouds, just disabled the spheres and enabled the planets again, now it works perfectly :)
Don't now if I was drunken or so, but now it's fine. So thank you :)
Title: Re: Cirrus clouds behind second planet
Post by: Mr_Lamppost on January 15, 2008, 06:20:09 PM
I think the combination of the background image and the nebula works well in your scene, I am looking forward to the finished version.

I am probably going to develop the second test into a finished scene although I will try for a more solid look to the nebula.