Author Topic: Gas Giant / Dark Spot  (Read 619 times)

WASasquatch

• Member
• Posts: 3085
• The Homeless Landscape Artist
Gas Giant / Dark Spot
« on: March 04, 2018, 07:16:39 PM »
I want to create a specific large dark spot on my gas giant, however, when I attempt to do a SSS or PS my shape is horrible stretched. I am doing this all after any warping of the initial planet form. I have also tried a computer terrain before my mask. Any ideas why it would stretch like this?
Art can be a window into the soul

Matt

• Planetside Staff
• Posts: 3427
• I'm the crazy one
Re: Gas Giant / Dark Spot
« Reply #1 on: March 04, 2018, 09:04:53 PM »
Simple Shape Shader is based in 2D, so all positions with the same X and Z positions look the same to it. If what you need is a circle then I would try using a Distance Shader which works in 3D. It calculates distances from a 3D position (the position of a camera node that you plug into it). You'll need to be careful to make sure the position is really on the surface of the planet, otherwise it will be less predictable.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Matt

• Planetside Staff
• Posts: 3427
• I'm the crazy one
Re: Gas Giant / Dark Spot
« Reply #2 on: March 04, 2018, 09:06:58 PM »
Another way to do this is with an Image Map Shader projected through a camera which you point towards the planet.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

cyphyr

• Member
• Posts: 3953
Re: Gas Giant / Dark Spot
« Reply #3 on: March 04, 2018, 09:59:15 PM »
I would place the SSS at the "North pole" (0,0,0) and then put a transform node (+90deg in the x rotation) before the surface layer.
This will bring the SSS to the equator.
www.richardfraser.co.uk
/|\

i7 5930 @3.5Ghz, 32Gb (TG3 benchmark 6:04)
i7 980 OC'd @3.9Ghz, 16Gb (TG3 benchmark 6:30)

WASasquatch

• Member
• Posts: 3085
• The Homeless Landscape Artist
Re: Gas Giant / Dark Spot
« Reply #4 on: March 04, 2018, 11:54:25 PM »
Simple Shape Shader is based in 2D, so all positions with the same X and Z positions look the same to it. If what you need is a circle then I would try using a Distance Shader which works in 3D. It calculates distances from a 3D position (the position of a camera node that you plug into it). You'll need to be careful to make sure the position is really on the surface of the planet, otherwise it will be less predictable.

Matt

I'll give this a shot, thanks, and thanks for the explanation. It makes sense.

Update: So it seems you can just use the painted shader, and go into Transform, and use the 3D perspective. This works as expected.

I would place the SSS at the "North pole" (0,0,0) and then put a transform node (+90deg in the x rotation) before the surface layer.
This will bring the SSS to the equator.

I'll give this a shot as well since I still have the SSS in a separate save. Thanks a lot.

Update: This method seems to have still warped, this time on a greater rotation. Haha. Not sure why, the setup is the same as your just more going on before the spot.
« Last Edit: March 05, 2018, 07:07:02 PM by WASasquatch »
Art can be a window into the soul

WASasquatch

• Member
• Posts: 3085
• The Homeless Landscape Artist
Re: Gas Giant / Dark Spot
« Reply #5 on: March 05, 2018, 07:56:00 PM »
Thanks again, you two! With some final edits, you can get a somewhat convincing gas giant spot out of TG. Having a little bit of an issue with my displacement. Would like it to appear deeper, but the base planets sphere seems to prevent that (get to a flat surface displacing down too far).

Art can be a window into the soul

cyphyr

• Member
• Posts: 3953
Re: Gas Giant / Dark Spot
« Reply #6 on: March 05, 2018, 08:08:05 PM »
One possible explanation is that I generally move the planet centre to 0,0,0. The default has the north poll at 0,0,0.
Looking good
www.richardfraser.co.uk
/|\

i7 5930 @3.5Ghz, 32Gb (TG3 benchmark 6:04)
i7 980 OC'd @3.9Ghz, 16Gb (TG3 benchmark 6:30)

WASasquatch

• Member
• Posts: 3085
• The Homeless Landscape Artist
Re: Gas Giant / Dark Spot
« Reply #7 on: March 05, 2018, 09:33:41 PM »
One possible explanation is that I generally move the planet centre to 0,0,0. The default has the north poll at 0,0,0.
Looking good

Oh that might be why.

Thank you.
Art can be a window into the soul

anything