POV-Ray : Newsgroups : povray.unofficial.patches : For those that said "orient" would yield a spherical shaped area light... : Re: For those that said "orient" would yield a spherical shaped area light... Server Time
2 Nov 2024 03:16:55 EDT (-0400)
  Re: For those that said "orient" would yield a spherical shaped area light...  
From: Bob Hughes
Date: 24 Feb 2000 14:59:36
Message: <38b58da8@news.povray.org>
Ha! What a fool I can be.  I was only looking at the 'light_source' part and not
the rest of the scene before.  I tried the script from the p.t.s-f. group and to
my surprise it was on a wall (relatively speaking) not a floor as I had
imagined.  So really Juha L.'s "fix" isn't one after all.

// Circular Area Light, with orient? [yes! if you orient the light as usual too]
light_source { 0
                            color rgb 1
                            area_light <40, 0, 0>,<0, 40, 0> 9, 9
                            circular
                            orient
                            adaptive 1
                            jitter
                            translate -z*30
                         }

Here it is with the x and y axis specified in order to align the light with the
z plane which is where those cylinders are protruding away from.  So the light
source is simply put into the same orientation as the wall where the shadows
are.  A very simple mistake, however if a person were to believe the 'circular'
and 'orient' keywords to be a facsimile for making a spherical light source then
they quite obviously would be wrong judging by this example.

Bob

"Bob Hughes" <omn### [at] hotmailcom?subject=PoV-News:> wrote in message
news:38b56a76@news.povray.org...
| Good to see Juha L. came up with a solution.  I had almost taken the script to
| try just such a fix myself but then had second thoughts since it seemed
| implausible, or at least possibly not a 100% one anyway.  There wouldn't have
| been anything much else to try except to speculate more on what might have
been
| wrong.  'adaptive' and 'jitter' were two other things I was going to check.
|
| Bob
|
| "Glen Berry" <7no### [at] ezwvcom> wrote in message
| news:xDu1ODXQqvy2MjNuxYq=Ua4liOIp@4ax.com...
| | Go to p.b.i and see the post titled: "Wierd results with circular area
| | light..."
| |
| | Either I haven't done something properly, or the orient keyword does
| | not give the effect of a spherical shaped area light. I also have some
| | really nasty artifacts in the edges of my image, in the patterns of
| | cast shadows.
| |
| | So far, no one has come up with a reasonable solution for the apparent
| | failure of the orient keyword. No one has even commented at all about
| | the strange artifacts. I'm posting this note here for those that might
| | have some interest in the orient keyword, but haven't checked p.b.i
| | yet. The source for the image is posted in povray.text.scene-files, in
| | case anyone wants to see it.
| |
| | Please help me figure out, not only the apparent failure of the orient
| | keyword, but help me figure out what those nasty artifacts are in the
| | shadows.
| |
| | Thank you,
| | Glen Berry
|
|


Post a reply to this message

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