# Building on a hillside

**URL:** <https://discourse.radiance-online.org/t/building-on-a-hillside/464>\
**Category:** radiance-general\
**Created:** [November 15, 2010, 9:45pm UTC](https://discourse.radiance-online.org/t/building-on-a-hillside/464 "2010-11-15T21:45:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_Fritz1](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/r/b3f665/32.png) [@R\_Fritz1](https://discourse.radiance-online.org/u/R_Fritz1)\
**Post date:** [November 15, 2010, 9:45pm UTC](https://discourse.radiance-online.org/t/building-on-a-hillside/464/1 "2010-11-15T21:45:55Z")

</div>

I'm simulating a test structure on a hillside site; the ground drops away dramatically. So a lot of sky is visible below what would be the horizon on a level site. So far as I can tell, the only way to simulate this correctly (if the ground reflectance and sky light is significant) is to give the model an actual elevation, z = 700 feet or whatever. Do I have that right?

> **···**
>
> --  
> Randolph M. Fritz • [RFritz@lbl.gov](mailto:RFritz@lbl.gov)  
> Environmental Energy Technologies Division • Lawrence Berkeley Labs

---

<div class="post-metadata">

**Author:** ![Lars\_Grobe](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/lars_grobe/32/469_2.png) [@Lars\_Grobe](https://discourse.radiance-online.org/u/Lars_Grobe)\
**Post date:** [November 15, 2010, 10:08pm UTC](https://discourse.radiance-online.org/t/building-on-a-hillside/464/2 "2010-11-15T22:08:00Z")

</div>

Hi Randolph,

I am not sure wether I get your answer correct. The horizon is (almost) at an infinite distance, and moving up 700m doesn't change that much. In fact, you apply your sky distribution which depends on angles, not carthesian height, to a source object to make it appear infinitely distant in Radiance.

I would try to get a good representation of the horizon line (in degrees from the ideal horizon) to assess shadowing. Reflective properties in the mountains can be interesting, too, e.g. if you have snow for a long period of the year. In general getting climate data for such an exposed location is interesting.

Cheers, Lars.

> **···**
>
> --  
> Dipl.-Ing. Architect Lars O. Grobe
> 
> On Nov 15, 2010, at 22:45, "Randolph M. Fritz" \<RFritz@lbl.gov\> wrote:
> 
> > I'm simulating a test structure on a hillside site; the ground drops away dramatically. So a lot of sky is visible below what would be the horizon on a level site. So far as I can tell, the only way to simulate this correctly (if the ground reflectance and sky light is significant) is to give the model an actual elevation, z = 700 feet or whatever. Do I have that right?
> > 
> > --  
> > Randolph M. Fritz • RFritz@lbl.gov  
> > Environmental Energy Technologies Division • Lawrence Berkeley Labs
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Radiance-general mailing list  
> > Radiance-general@radiance-online.org  
> > [http://www.radiance-online.org/mailman/listinfo/radiance-general](http://www.radiance-online.org/mailman/listinfo/radiance-general)

---

<div class="post-metadata">

**Author:** ![Greg\_Ward](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/greg_ward/32/471_2.png) [@Greg\_Ward](https://discourse.radiance-online.org/u/Greg_Ward)\
**Post date:** [November 15, 2010, 10:18pm UTC](https://discourse.radiance-online.org/t/building-on-a-hillside/464/3 "2010-11-15T22:18:27Z")

</div>

Hi Randolph,

It's a bit tricky to modify skybright.cal to account for an elevation causing the horizon to be below a 0-degree altitude, but it's possible. First, you should check that it's necessary. The formula you want for the angle below the horizon is:

&nbsp;&nbsp;theta = acos(R/(h+R))

where R is the radius of the Earth (about 6360 km) and h is the distance above the horizon (sea level, presumably). Even from the top of Mt. Everest, the change in the horizon is only about 3 degrees, assuming you could see something at sea level from there, which I'm not sure you could. (Anyone who's been to the top of Everest, please pipe in.)

Cheers,  
-Greg

> **···**
>
> > From: "Randolph M. Fritz" \<RFritz@lbl.gov\>  
> > Date: November 15, 2010 1:45:55 PM PST
> > 
> > I'm simulating a test structure on a hillside site; the ground drops away dramatically. So a lot of sky is visible below what would be the horizon on a level site. So far as I can tell, the only way to simulate this correctly (if the ground reflectance and sky light is significant) is to give the model an actual elevation, z = 700 feet or whatever. Do I have that right?
> > 
> > --  
> > Randolph M. Fritz • RFritz@lbl.gov

---

<div class="post-metadata">

**Author:** ![R\_Fritz1](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/r/b3f665/32.png) [@R\_Fritz1](https://discourse.radiance-online.org/u/R_Fritz1)\
**Post date:** [November 16, 2010, 12:21am UTC](https://discourse.radiance-online.org/t/building-on-a-hillside/464/4 "2010-11-16T00:21:25Z")

</div>

Duh. Me dumb.

It seems like a large angle when I'm looking over it...

Thanks, Greg, Lars.

> **···**
>
> On 2010-11-15 14:18:27 -0800, Greg Ward said:
> 
> > Hi Randolph,
> > 
> > It's a bit tricky to modify skybright.cal to account for an elevation causing the horizon to be below a 0-degree altitude, but it's possible. First, you should check that it's necessary. The formula you want for the angle below the horizon is:
> > 
> > &nbsp;&nbsp;theta = acos(R/(h+R))
> > 
> > where R is the radius of the Earth (about 6360 km) and h is the distance above the horizon (sea level, presumably). Even from the top of Mt. Everest, the change in the horizon is only about 3 degrees, assuming you could see something at sea level from there, which I'm not sure you could. (Anyone who's been to the top of Everest, please pipe in.)
> > 
> > Cheers,  
> > -Greg
> > 
> > > From: "Randolph M. Fritz" \<RFritz@lbl.gov\>  
> > > Date: November 15, 2010 1:45:55 PM PST
> > > 
> > > I'm simulating a test structure on a hillside site; the ground drops away dramatically. So a lot of sky is visible below what would be the horizon on a level site. So far as I can tell, the only way to simulate this correctly (if the ground reflectance and sky light is significant) is to give the model an actual elevation, z = 700 feet or whatever. Do I have that right?
> > > 
> > > --  
> > > Randolph M. Fritz • RFritz@lbl.gov
> 
> --  
> Randolph M. Fritz • RFritz@lbl.gov  
> Environmental Energy Technologies Division • Lawrence Berkeley Labs
