Author Topic: Strange question  (Read 1055 times)

Offline RenÚ

  • Member
  • *
  • Posts: 538
Strange question
« on: January 26, 2018, 06:37:00 AM »
Wouldn't be possible in principle to reverse engineer the cloud shadows. What I mean is to paint the shadows where you want them to be, and then calculate the position of the clouds accordingly.
It would be a lot easier than randomising the clouds several hundred times. :D

Offline N-drju

  • Member
  • *
  • Posts: 1299
  • A bee-sting allergic artist and philosopher
Re: Strange question
« Reply #1 on: January 26, 2018, 06:42:47 AM »
But then again, you would need to somehow calculate the cloud thickness, cloud shapes (which are probably most important to most of us), light propagation and their altitude. ;) Sounds complicated when you take all items into account.

My point being, I don't really mind to keep randomizing my setups. As long as I am satisfied with cloud shapes / formations.

Alternatively though, I believe you can simply move your clouds about by using transform shader connected with the PF that generates the clouds. Right?

______________

UPDATE!

Bobby started a concurrent discussion. This might be what you are looking for. :)

http://www.planetside.co.uk/forums/index.php/topic,24079.0.html
« Last Edit: January 26, 2018, 06:44:44 AM by N-drju »
"When dictatorship is a fact, revolution becomes a right."

Offline RenÚ

  • Member
  • *
  • Posts: 538
Re: Strange question
« Reply #2 on: January 26, 2018, 06:54:53 AM »
You could start with a cloud type you like; shape, thickness, etc. Then you could make holes in it so that the shadows, or light spots, fall on the places you indicated with the painted shader. Moving the clouds so that you get the desired result is at least as much work as randomizing because the clouds that cast the shadow are usually outside the image.

Offline RenÚ

  • Member
  • *
  • Posts: 538
Re: Strange question
« Reply #3 on: January 26, 2018, 07:06:41 AM »
"UPDATE!

Bobby started a concurrent discussion. This might be what you are looking for."


OkÚ! This should be moved to Bobby's thread I guess.

Offline RenÚ

  • Member
  • *
  • Posts: 538
Re: Strange question
« Reply #4 on: January 26, 2018, 07:16:52 AM »
Let's say that I want to maintain the clouds as above cliff, but the light falls in the places that are indicated. With randomizing, it will take ages.

Offline Hannes

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 4179
Re: Strange question
« Reply #5 on: January 26, 2018, 08:16:29 AM »
What about using simple shape shaders as masks for existing clouds?

Offline N-drju

  • Member
  • *
  • Posts: 1299
  • A bee-sting allergic artist and philosopher
Re: Strange question
« Reply #6 on: January 26, 2018, 08:24:11 AM »
What about "move textures with clouds" option? Would that keep the cloud shapes? If so, you can find a nice shadow area and move it accordingly.
"When dictatorship is a fact, revolution becomes a right."

Offline mhaze

  • Member
  • *
  • Posts: 3500
Re: Strange question
« Reply #7 on: January 26, 2018, 08:54:06 AM »
You could use spotlights?

Offline RenÚ

  • Member
  • *
  • Posts: 538
Re: Strange question
« Reply #8 on: January 26, 2018, 10:22:52 AM »
All these things are possible and I use them. Spotlights are the easiest but are always round in shape and therefore need masking. Moreover, spotlights do not always 'feel' right and are an additive on top of the existing lighting.
I frequently have problems with the procedural nature of Terragen and landscape software in general. Don't get me wrong, procedural is great; you get an entire planet with unparalleled detail to explore in no time, but if you want to design a landscape based on a sketch, it becomes difficult.
What I actually want is more direct control over the look and shape of everything. In this respect, matte painters have fewer difficulties; they can paint clouds and shadows without worrying about technical correctness, as long as it seems correct.

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14319
    • www.ulco-art.nl
Re: Strange question
« Reply #9 on: January 26, 2018, 11:17:54 AM »
Make a black square of 100x100px, white soft spot in center. Import as image map, project by camera at an appropriate angle (say 1-10║), point camera at sun, and of course place the camera where you want the sun to shine.
Perhaps it would also possible to locate a PF over the terrain with dark patches where you want sun and then somehow calculate the height and direction in which to move those fractals and use as cloud fractal.
« Last Edit: January 26, 2018, 11:19:53 AM by Dune »

Offline RenÚ

  • Member
  • *
  • Posts: 538
Re: Strange question
« Reply #10 on: January 26, 2018, 03:18:50 PM »
Thanks Dune. I'll give it go. :)

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14319
    • www.ulco-art.nl
Re: Strange question
« Reply #11 on: January 26, 2018, 03:22:32 PM »
Oh, forgot to mention you have to complement color to get a black dot to mask the cloud OUT.

Offline Tangled-Universe

  • Terrevangelist
  • *
  • Posts: 6168
    • CGScenery.com - Terragen Tutorials!
Re: Strange question
« Reply #12 on: January 26, 2018, 03:22:47 PM »
Make a black square of 100x100px, white soft spot in center. Import as image map, project by camera at an appropriate angle (say 1-10║), point camera at sun, and of course place the camera where you want the sun to shine.
Perhaps it would also possible to locate a PF over the terrain with dark patches where you want sun and then somehow calculate the height and direction in which to move those fractals and use as cloud fractal.

Exactly the way I do these kind of things, except I use a simple shape instead of an image.

I'm actually surprised Ulco that you use an image for this, since you're the simple shape shader super sorcerer here :)

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14319
    • www.ulco-art.nl
Re: Strange question
« Reply #13 on: January 26, 2018, 03:23:28 PM »
How do you project a simple shape then?

Offline bobbystahr

  • Member
  • *
  • Posts: 9446
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Strange question
« Reply #14 on: January 27, 2018, 01:35:51 PM »
How do you project a simple shape then?

I think that is referring back to Richards's Easy God Rays setup Ulco. He punches movable holes in clouds with a SSshader in that.
« Last Edit: January 27, 2018, 02:01:12 PM by bobbystahr »
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr