POV-Ray : Newsgroups : povray.general : Qwextions about area_light : Re: Qwextions about area_light Server Time
8 Aug 2024 18:21:32 EDT (-0400)
  Re: Qwextions about area_light  
From: Chris Huff
Date: 11 Nov 2000 11:57:20
Message: <chrishuff-14DDC8.11572811112000@news.povray.org>
In article <3a0d45d1@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   Actually, I think it goes from <location>-axis1/2-axis2/2 to  
> <location>+axis1/2+axis2/2
>   That is, the width of the area light is axis1 and the height is axis2 
> and the <location> is its center.

After looking at the source(and resisting the temptation to completely 
rewrite it), I think you are right, the length of the axis vectors 
specifies the size across, not the size from the center. The 
block_area_light() function in it's current state in MegaPOV is not a 
pretty sight... :-)

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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