3

Why is the groundglow from Intermediate sky and Sunny sky without sun so different from that on a physical ground?

When modelling a ground plane as a defined piece of geometry, with a surface reflectance of 20% and a ground reflectance value of -g 0.2 set in gensky I get a discrepancy between the luminance from my phyically modelled ground plane and the groundglow provided by gensky for two of the available sky types generated by gensky:

  • Intermediate sky without sun (-i)
  • Sunny sky without sun (-s)

For the other sky types, the luminance from my physically modelled ground is identical to that from the groundglow, such that the boundary between the physical ground plane and the groundglow is seamless. For the two sky types mentioned above there is a clear discrepancy, with the ground glow brighter than the modelled ground. I have checked the gensky manual and it includes the following:

Average ground reflectance is rfl. This value is used to compute skyfunc when Dz is negative. Ground plane brightness is the same for −s as for +s. (Likewise for −i and +i, but see the −r option below.)

Further, searching the mailing list yields the following comment from Greg Ward when a user encountered the same thing: http://www.radiance-online.org/piperm...

The glow computed for the ground includes whatever sunlight should be
falling on it. An intermediate sky has some sun, so the solar
irradiance (-R) setting has an effect. (Even if you use -i or -s, gensky still computes the ground radiance based on the sun being out
-- it just leaves off the solar source.)

-Greg

So I understand it is doing what it's supposed to do, my question is why? For what practical purposes is it desirable for the ground glow for these two sky types to be calculated differently from the other sky types? It results in a visible boundary between the modelled ground plane and the groundglow in rendered images.

dgleeson's avatar
78
dgleeson
asked 2015-09-11 10:10:40 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-11-09 13:25:41 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

The only purpose for generating a sky without the sun source is to use as an illum pattern on a window or similar interface. It is physically impossible to get a sunny or intermediate sky without having a sun in it, so the ground glow value is simply kept consistent with the physically realizable "indirect" daylight component. If you apply the generated function to an illum window, you then get the correct indirect contributions from the sky and the ground. The assumption is that you are calculating the solar direct contribution some other way, such as a separate run where you add the results together.

GregWard's avatar
1.2k
GregWard
answered 2015-09-11 12:50:20 -0500, updated 2015-09-11 14:56:21 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks Greg, makes perfect sense. Cheers!

dgleeson's avatar dgleeson (2015-09-14 03:36:31 -0500) edit

Sure thing! The reason the "without sun" options were added was to provide symmetry in the calculation abilities. Since it's easy (often happens accidentally even) to leave out the indirect component by not providing a glow source, getting only the solar, I thought we should include a way to compute the indirect component only, without the solar portion.

GregWard's avatar GregWard (2015-09-14 10:56:37 -0500) edit
add a comment see more comments