POV-Ray : Newsgroups : povray.text.tutorials : Sun thread? Server Time10 Aug 2024 20:28:21 EDT (-0400)
 Sun thread? (Message 1 to 4 of 4)
 From: Eli Ewok Brody Subject: Sun thread? Date: 11 Jul 2001 18:27:39 Message: <3b4cd2db@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3b4cd2db%40news.povray.org",
"dateCreated": "2001-07-11T22:27:39+00:00",
"datePublished": "2001-07-11T22:27:39+00:00",
"author": {
"@type": "Person",
"name": "Eli Ewok Brody"
}
}
I remember, not long ago, coming across a fantastic thread about true
sunlight. I recall it started out as a question about POV limitations
concerning the floating point accuracy ("Do I really have to make the sun 8
light minutes away?"), and quickly turned into a great discussion about how
far away the lightsource has to be to create parallel rays.

I would really like to see it again (I foolishly failed to save it).
Anybody know?

Thanks,

-Eli
```
 From: Warp Subject: Re: Sun thread? Date: 11 Jul 2001 18:52:37 Message: <3b4cd8b4@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3b4cd8b4%40news.povray.org",
"dateCreated": "2001-07-11T22:52:37+00:00",
"datePublished": "2001-07-11T22:52:37+00:00",
"author": {
"@type": "Person",
"name": "Warp"
}
}
Eli Ewok Brody <ewo### [at] yahoocom> wrote:
: how
: far away the lightsource has to be to create parallel rays.

Sunlight rays are not parallel because the Sun is an area light.

See:
http://www.students.tut.fi/~warp/povVFAQ/misconceptions.html#simulatingsun

--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -
```
 From: Eli Ewok Brody Subject: Re: Sun thread? Date: 12 Jul 2001 04:16:15 Message: <3b4d5ccf@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3b4d5ccf%40news.povray.org",
"dateCreated": "2001-07-12T08:16:15+00:00",
"datePublished": "2001-07-12T08:16:15+00:00",
"author": {
"@type": "Person",
"name": "Eli Ewok Brody"
}
}
I think that's what I remember seeing.
It's obvious an area light - the sun disc isn't a point. The sun is so
far away, that the light it generates closely aproximates parallel rays,
though.
But the atmosphere point was well taken. Even if it was parallel, the
atmosphere bends it in crazy ways.

Thanks,
-Eli
```
 From: Warp Subject: Re: Sun thread? Date: 12 Jul 2001 05:16:34 Message: <3b4d6af1@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#3b4d6af1%40news.povray.org",
"dateCreated": "2001-07-12T09:16:34+00:00",
"datePublished": "2001-07-12T09:16:34+00:00",
"author": {
"@type": "Person",
"name": "Warp"
}
}
Eli Ewok Brody <ewo### [at] yahoocom> wrote:
:     It's obvious an area light - the sun disc isn't a point. The sun is so
: far away, that the light it generates closely aproximates parallel rays,
: though.

Light rays coming from a light source with a visible area are never
parallel, no matter how far it is.
It's only when the light source is practically a point light when the
light rays start to be practically parallel. However, the Sun isn't.

--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -
```