Author Topic: Mysteries  (Read 1115 times)

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Mysteries
« on: September 29, 2016, 07:46:27 PM »
Hey,

Okay, forget the GI issue - I cracked it and found where the problem was. I'm sorry if I offended anybody with my rantish post.
Today, I've got two mysteries for you. :P If you can, please answer these questions:

1. How come that the sun is shinning THROUGH a ROCK in this render fragment if the RECEIVE SHADOWS FROM SURFACES option in the atmosphere tab is turned ON!?
2. Why the f...lowers the rock tower in the picture does not cast ANY shadows on the clouds below, despite it being just a standard terrain feature?!

67539-0  67541-1

My faint voice is saying "Heeeelp..." :(



"I don't know what 'pokygon' is but I like it."

Offline yossam

  • Member
  • *
  • Posts: 3072
Re: Mysteries
« Reply #1 on: September 29, 2016, 09:10:57 PM »
Is the first one an "easy cloud"?  ???

Offline Kadri

  • Member
  • *
  • Posts: 7844
Re: Mysteries
« Reply #2 on: September 29, 2016, 09:15:44 PM »

"Okay, forget the GI issue - I cracked it and found where the problem was."
What was it? Would be nice if you post it there for others to see,if they have a similar problem especially.
« Last Edit: September 29, 2016, 10:31:13 PM by Kadri »

Offline Kadri

  • Member
  • *
  • Posts: 7844
Re: Mysteries
« Reply #3 on: September 29, 2016, 09:21:48 PM »

Have you checked "Receive shadows from surfaces" in the Atmosphere(you have that i see) and-or Cloud nodes (try this) quality tab?
« Last Edit: September 29, 2016, 10:30:51 PM by Kadri »

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 11746
  • Holy snagging ducks!
Re: Mysteries
« Reply #4 on: September 29, 2016, 10:10:15 PM »
Is the rock part of the terrain, or another object?

- Oshyan

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Re: Mysteries
« Reply #5 on: September 30, 2016, 06:26:44 AM »

"Okay, forget the GI issue - I cracked it and found where the problem was."
What was it? Would be nice if you post it there for others to see,if they have a similar problem especially.

Actually, I did not post my solution there... So I'm afraid there's nothing to refer to. :(

Is the rock part of the terrain, or another object?

- Oshyan

It is a part of the terrain Oshyan, as can be seen in the right picture. Tower (crater shader), Tow disp. (power fractal shader) and Tower Strata (S&O shader) are the ones responsible for this terrain feature. I made it more or less according to this tutorial I've seen before:

http://www.planetside.co.uk/forums/index.php/topic,12630.msg125740.html#msg125740

I also tried to move sun beyond the terrain that came before that tower and the sun disc was not visible as it should be. So in theory the "receive shadows from surfaces" option works... but not for that tower... All cloud layers have that option checked as well.
"I don't know what 'pokygon' is but I like it."

Offline Dune

  • Member
  • *
  • Posts: 12733
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Mysteries
« Reply #6 on: September 30, 2016, 07:02:03 AM »
I don't know if the shadow-throwing and sunray-through need a compute terrain to get its exact bearings, so was it a normal setup? Perhaps a tgd would give some folks a chance to see what's happening... but it sounds weird.
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Re: Mysteries
« Reply #7 on: September 30, 2016, 08:27:54 AM »
I don't know what you mean by "normal setup". Anyway, according to the tower tutorial two "compute terrain" are needed because otherwise you DO NOT get any displacement on the tower surface. At least not using this method.

I'm not an expert Ulco, but if shadows and sunray-through did not require any special actions to be taken like you say, there would be no need for the "receive shadows..." option... Still, it just doesn't work with this rock tower...
« Last Edit: September 30, 2016, 08:34:33 AM by N-drju »
"I don't know what 'pokygon' is but I like it."

Offline Dune

  • Member
  • *
  • Posts: 12733
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Mysteries
« Reply #8 on: September 30, 2016, 12:20:47 PM »
That sounds 'normal' enough. I can't help you I'm afraid. Something for Planetside I suppose.
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline Kadri

  • Member
  • *
  • Posts: 7844
Re: Mysteries
« Reply #9 on: September 30, 2016, 02:03:38 PM »

I had a similar problem 1-2 months ago but it was only a test that i didn't bother to investigate further.

I tried some options in the render settings today.
One option was "Do ray traced shadows" in the "More" tab of the Render node.
Have a look if it is checked or not accidentally.
The sun shines through the ground even if you have "Receive shadows from surfaces" on in the Atmo node if the "Do ray traced shadows" is OFF.

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Re: Mysteries
« Reply #10 on: October 03, 2016, 07:42:57 AM »
I will look at it Kadri, so thank you. Usually "Receive shadows" is just enough to hide the sun beyond terrain (it even says so in the atmo tab as well!) and I know that because I've tried it many times before. This is really very disappointing. :(

For now, however, I decided to use displaceable spheres as rocks. They cast proper shadows, obscure sun as they should and frankly, offer more diversity than the rock tower created from a crater. Unfortunately, you cannot really successfully use the S&O shader on them, because strata goes across the whole sphere in every possible direction... Not just horizontally. But it is a good solution and I may post some pictures later.
"I don't know what 'pokygon' is but I like it."

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Re: Mysteries
« Reply #11 on: October 03, 2016, 04:45:26 PM »
The "Ray traced shadows" is on so I give up...

I will use displaceable spheres to create rock towers and this solution is far more versatile, plus controlling this feature is easier. You can have a look at it below. I guess it's nothing new for you... But maybe it's good to have some solutions/posts refreshed once in a while.

67582-0

As you can see, all of the rocks that constitute this tower (there are three of them) are casting proper shadows on the terrain and clouds below. They also obscure the sun's disc as they should. The bottom part of the highest "sprock" is also roughly displaced, while the top has larger, smoother displacement features. Displacement is distributed according to the altitude with the use of a simple "distribution shader" setup. Darkened version of Dune's Parkwood Grass is also included at the top. ;) It looks somewhat "physics defying" but make no mistake - it greatly comes down to what you want to create. I needed this kind of arrangement.

The only disadvantage of this method is that if you want to have several towers like this and populate them, say, with pines... you have to create pine population for each of the spheres. :-\ I don't think you can populate several separate objects at once to reduce the number of populations in use. Here is one more shot for a better view with sun illuminating the surface:

67584-1

"I don't know what 'pokygon' is but I like it."

Offline Kadri

  • Member
  • *
  • Posts: 7844
Re: Mysteries
« Reply #12 on: October 03, 2016, 04:48:14 PM »

Can you share a very basic version with the problematic scene? Just curious.

Offline N-drju

  • Member
  • *
  • Posts: 861
  • Changes, changes, changes...
Re: Mysteries
« Reply #13 on: October 03, 2016, 05:34:09 PM »
Do you mean the .tgd with the first, hollow rock?
"I don't know what 'pokygon' is but I like it."

Offline Kadri

  • Member
  • *
  • Posts: 7844
Re: Mysteries
« Reply #14 on: October 03, 2016, 05:35:34 PM »

The one in the first post with the sun problem, yes.