POV-Ray : Newsgroups : povray.binaries.images : A window : Re: A window Server Time
5 Nov 2024 15:57:00 EST (-0500)
  Re: A window  
From: Thomas de Groot
Date: 27 Feb 2009 03:47:38
Message: <49a7a8aa$1@news.povray.org>
"Cousin Ricky" <ric### [at] yahoocom> schreef in bericht 
news:web.49a79004679a0b4585de7b680@news.povray.org...
>
> The Sun's diameter is 1,390,000 km.  The average distance from Sun to 
> Earth is
> 149,600,000 km, but this distance varies by several million km through the
> year.  (It's shortest in January and longest in July.)  The ratio 
> therefore
> averages 107.6, although 109 is within range.
>

And to cite youe code from some time ago :-)  which works very well:

#declare SunDis = vlength(SolarPosition)*2/215;

  light_source{
    SolarPosition
    color SunColor
    area_light
    SunDis*x, SunDis*z,
    4, 4
    adaptive 1
    jitter
    circular
    orient
    parallel
    point_at <0, 0, 0>
  }


Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.