POV-Ray : Newsgroups : povray.beta-test : Longstanding arealight problem? Server Time
2 Nov 2024 07:25:25 EDT (-0400)
  Longstanding arealight problem? (Message 1 to 2 of 2)  
From: Coridon Henshaw
Subject: Longstanding arealight problem?
Date: 16 Jan 2002 18:07:08
Message: <Xns9198B851394EACQ@204.213.191.226>
Earlier today, while I was going through the list of unconfirmed bugs, I 
came across what appears to be a longstanding bug in the arealight 
implementation.  Render the following scene in either v3.5 or v3.1 and note 
that the shadow on the right hand side of the sphere appears to be roughly 
cut off rather than smooth.

plane {y,0 pigment {rgb 0.5}}

sphere {y,1 pigment {rgb 0.75}}

camera {location <0,4,-8> look_at <0,0,0> rotate y*45}

light_source {y*10 rgb 1 area_light <5,0,5> <-5,0,-5> 16,16 adaptive 1 
jitter rotate z*45}


Post a reply to this message

From: Warp
Subject: Re: Longstanding arealight problem?
Date: 16 Jan 2002 18:14:05
Message: <3c46093d@news.povray.org>
It's not a bug. You have just misunderstood how area lights are defined.
  You define two axis vectors as the dimensions of the area light, not its
corner coordinates (as it seems to be the case in your example). What your
example does is (I think) a 1-dimensional area light instead of 2-dimensional.
This is causing the smoothing to be in one direction only.

  What you probably meant was this:

light_source {y*10 rgb 1 area_light <5,0,0> <0,0,5> 16,16 adaptive 1
jitter rotate z*45}

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


Post a reply to this message

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