Clouds above sphere cut off with band texture

Use this forum for general user support and related questions.
Post Reply
Fox
Posts: 402
Joined: Sat Mar 31, 2018 11:17 am

Clouds above sphere cut off with band texture

Post by Fox » Sun Mar 15, 2020 4:30 am

I have simple cloud texture assigned to hetero volume above sphere, but the border where volume ends cuts off too hard.
How to make spherical band / gradient texture, to scale the clouds volume?
Clouds above sphere cut off with band texture.png

User avatar
B.Y.O.B.
Developer
Posts: 3344
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Clouds above sphere cut off with band texture

Post by B.Y.O.B. » Sun Mar 15, 2020 12:16 pm

In the "Texture (Blender)" category, there is a "Blend" texture.
In spherical mode, it is probably exactly what you need.
You can make the gradient softer/harder with the brightness and contrast controls, and you can use multiply or remap to mix it with your other cloud textures to create the falloff.
Use the 3D mapping input to move it around and scale it.
Attachments
blend.PNG
blend2.PNG

Fox
Posts: 402
Joined: Sat Mar 31, 2018 11:17 am

Re: Clouds above sphere cut off with band texture

Post by Fox » Sun Mar 15, 2020 1:46 pm

If i change object location, i can't find 3d mapping translate.

Band offsets is another problem, how do i calculate them?
Object Location vs 3D Mapping Translate. Band Offsets.png

User avatar
B.Y.O.B.
Developer
Posts: 3344
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Clouds above sphere cut off with band texture

Post by B.Y.O.B. » Sun Mar 15, 2020 2:09 pm

You could use local mapping instead of global.
Fox wrote:
Sun Mar 15, 2020 1:46 pm
Band offsets is another problem, how do i calculate them?
I would suspect that the progression is linear. In your picture, you would need to increase the scale so the blend texture sphere covers your whole sphere object.

Fox
Posts: 402
Joined: Sat Mar 31, 2018 11:17 am

Re: Clouds above sphere cut off with band texture

Post by Fox » Sun Mar 15, 2020 3:13 pm

B.Y.O.B. wrote:
Sun Mar 15, 2020 2:09 pm
I would suspect that the progression is linear. In your picture, you would need to increase the scale so the blend texture sphere covers your whole sphere object.
It looks to be in meters, but it only takes values up to 1 meter.

With local mapping the correct scale is 1 meter / object radius,
then the offsets 0 0.25 0.5 0.75 make sense.

User avatar
B.Y.O.B.
Developer
Posts: 3344
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Clouds above sphere cut off with band texture

Post by B.Y.O.B. » Sun Mar 15, 2020 3:35 pm

I think it goes from 0 to 1 over 1 meter along the X/Y/Z axis with scale 1 (as you can see in the screenshots in my first reply, the cube is 2 m in diameter along the axis).

Fox
Posts: 402
Joined: Sat Mar 31, 2018 11:17 am

Re: Clouds above sphere cut off with band texture

Post by Fox » Sun Mar 15, 2020 4:21 pm

Yes it works this way.

Looks like I need ton of more polygons for earth size band texture :D
Clouds layer.jpg

Fox
Posts: 402
Joined: Sat Mar 31, 2018 11:17 am

Re: Clouds above sphere cut off with band texture

Post by Fox » Mon Mar 16, 2020 10:21 am

This is how to global mapping works:

Sphere Location:
X -0.014147
Y 0.798522
Z -5975653

Sphere Radius:
5985959

Scale:
1/5985959 = 0.0000001670576093154

Translate
X = -1*(-0.014147 / 5985959) = 0.00000000236336399898
Y = -1*(0.798522 / 5985959) = -0.00000013339917630575
Z = -1*(-5975653 / 5985959) = 0.998278304278395

Post Reply