Author Topic: Cloud Busting  (Read 13770 times)

Offline Tangled-Universe

  • Terrevangelist
  • *
  • Posts: 6183
    • CGScenery.com - Terragen Tutorials!
Re: Cloud Busting
« Reply #15 on: August 19, 2010, 11:02:38 AM »
You can't split the output of a powerfractal into components?

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #16 on: August 19, 2010, 11:10:44 AM »
Yes you can, but what I'm looking for, is noise that doesn't change through altitude/y. If you just take the x and z, it will change the higher you look at the noise. I think.

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Cloud Busting
« Reply #17 on: August 19, 2010, 11:37:42 AM »
I'm not sure I get your meaning of a 2D fractal. It's only 3D when volume or displacement is added.
Is it like an alpha mask, black and white, with no range, so the border of B/W is the only area where there's noise?

Offline MGebhart

  • Member
  • *
  • Posts: 911
  • Find work that feels like play
Re: Cloud Busting
« Reply #18 on: August 19, 2010, 12:00:49 PM »
Excellent post.
Marc Gebhart

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #19 on: August 19, 2010, 12:13:18 PM »
I think the best way to describe what I'm looking for, is when you use a heightfield from a map, white equals the peaks, black the valley. So you extrude out from a flat plane.

With PFs you have this plane, but it evolves through y, so each plane slightly changes as you reference it against a new y position.

You can see this when you stick a PF or DF into a cloud node. What you get are blobs of noise. Clouds.

But when we apply displacement on the ground, we don't see sperated blobs as we apply displacement through y. To prove this, your displacement value as you change it always keeps the same form, but in relative scale to the displacement.

What I need is a noise I can apply to the clouds, that has no change in pattern through y.

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Cloud Busting
« Reply #20 on: August 19, 2010, 12:33:59 PM »
Instead of making your fractal 'Y stretch' zero, make it larger than the total cloud layer depth.

26268-0

26270-1

???

It's still placed by a simple shape circle just for visibility, with complete white to black falloff to the edge in one, no falloff in the next. The fractal is flattened to b/w only. I imagine you want to warp or deform those pillars, If I understand correctly?
« Last Edit: August 19, 2010, 12:37:55 PM by dandelO »

Offline schmeerlap

  • Member
  • *
  • Posts: 697
  • Big enough and Ugly enough.
Re: Cloud Busting
« Reply #21 on: August 19, 2010, 12:41:39 PM »
A really, really useful topic. Those fragmented bits of stray cloud always bugged me. I've downloaded this topic for further study.
Thanks Hetzen, dandelO, et al for the work you guys put into this.

John
I hope I realise I don't exist before I apparently die.

Offline Henry Blewer

  • Member
  • *
  • Posts: 6333
  • The cooler weather is great!
    • flickr.com/photos/njeneb/
Re: Cloud Busting
« Reply #22 on: August 19, 2010, 12:57:11 PM »
Yes there has been some real gold being posted here lately. I am tired of the stray cloud parts also. I have been masking them out lately. I have been using power fractals to blend out the naughty cloud parts. Using the same seed as the density shader for the cloud seems to work. Changing the noise makes things more interesting.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #23 on: August 19, 2010, 01:20:38 PM »
Instead of making your fractal 'Y stretch' zero, make it larger than the total cloud layer depth.

(Attachment Link)

(Attachment Link)

???

It's still placed by a simple shape circle just for visibility, with complete white to black falloff to the edge in one, no falloff in the next. The fractal is flattened to b/w only. I imagine you want to warp or deform those pillars, If I understand correctly?

Thanks Martin. But that's not what I'm looking for. Attached is the sort of thing. I need varrying shades of 0 to 1 to subtract from the cloud DF.

The problem is keeping that pattern as you apply it to PFs through y. Hence why I used an HF. I suppose I can use a bitmap, but then you still have the resolution issue.

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #24 on: August 19, 2010, 01:21:50 PM »
Weird. The image I attached seems to have appeared in your post. LOL

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #25 on: August 19, 2010, 01:36:43 PM »
I also now think I'm talking bollocks. I've asumed that I'd be subtracting from the top of the cloud, when in fact I haven't. Time to move onto plan B. Sorry guys.

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Cloud Busting
« Reply #26 on: August 19, 2010, 01:47:17 PM »
Oh, Christ!

I just looked outside, by the way, the clouds are lovely. I need to get out more! :D

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #27 on: August 19, 2010, 01:54:05 PM »
 ;D :D

Offline Tangled-Universe

  • Terrevangelist
  • *
  • Posts: 6183
    • CGScenery.com - Terragen Tutorials!
Re: Cloud Busting
« Reply #28 on: August 19, 2010, 03:29:34 PM »
I'm not sure I get your meaning of a 2D fractal. It's only 3D when volume or displacement is added.
Is it like an alpha mask, black and white, with no range, so the border of B/W is the only area where there's noise?

I think this is correct for a powerfractal, but I'm not sure if that would also mean for the cloud-fractal or at least the way the cloud-node treats the fractal which it is fed with.
But, not very important now probably.


For an X,Z-only fractal I thought you can also feed a PF into the color-input of a surfacelayer and use that?
Or you could use the PF as a blendshader for a pure white surfacelayer? Same trick, slightly different.

The color-input does not accept/deal displacement so you should end up with a flat texture I'd tend to think.

Offline Hetzen

  • Member
  • *
  • Posts: 1653
Re: Cloud Busting
« Reply #29 on: August 19, 2010, 04:01:52 PM »
Well I said there was a plan B.  ;D

Just needed a few extra blue nodes. ;)

Attached is an aerial image showing the mountain range of clouds. Notice no clipping at the top of the range. Yes there is some flatness on the nearer clouds, but I think I can add some more billows into the HF to deal with that.

I've also attached the network. This time I've created a gradient from 1000m to 7000m (my cloud range, ie alt 4000m, depth 6000m) I then compare this altitude gradient with the HF. If the HF is greater than the altitude gradient then allow the Density Fractal, if not then 0. There's also another conditional there to say if the HF = 0 then no cloud, so that the crop is to the bounds of the HF.

Anyway, it's a lttle long winded, but the shapes I feel are quite natural I guess, and what I'd expect to see from these sorts of clouds. The great thing is you can more or less draw what you want like you would landscape relief.
« Last Edit: August 19, 2010, 04:04:10 PM by Hetzen »

 

anything