|
|
On 3/6/2018 12:59 PM, Bald Eagle wrote:
> Here's what I used for my watch/compass scene
>
> #declare Feet = 12;
> #declare Miles = 5280*Feet;
> // radius of Earth
> #declare EarthRad = 3959*Miles;
> #declare SunRad = 432288*Miles;
> #declare SunDist = 92960000*Miles;
>
> #declare SunCorrection = SunDist/1000000000; // correct distance to sun defined
> in sunpos.inc
>
> //#####################################
>
> // North +z
> // South -z
> // East +x
> // West -x
>
>
>
> #declare Year = 2016;
> #declare Month = 7;
> #declare Day = 11;
> #declare Hour = int(clock); // 24-hour clock
> #declare Minute = (clock-int(clock))*60;
> // (UTC-05:00) Eastern Time (US & Canada)
> // (+1 hour = +15 deg)
> #declare Lstm = 15*(-5);
> // Hopkinton / Contoocook, NH
> #declare LAT = 43.2087409;
> #declare LONG = -71.7123404;
>
> light_source {SunPos(Year, Month, Day, Hour, Minute, Lstm, LAT,
> LONG)*SunCorrection rgb <1, 1, 0> parallel point_at <0, 0, 0>} // added
> 'parallel' and 'point_at <0, 0, 0>'
>
>
Very good, thanks!
Mike
Post a reply to this message
|
|