POV-Ray : Newsgroups : povray.binaries.images : Area lights and looks_like : Re: Area lights and looks_like Server Time
7 Nov 2024 11:35:05 EST (-0500)
  Re: Area lights and looks_like  
From: Mike Horvath
Date: 30 Jan 2016 14:28:19
Message: <56ad0ed3$1@news.povray.org>
On 1/30/2016 12:27 PM, Mike Horvath wrote:
> I am having a problem with an area light. Here is the code:
>
> light_source
> {
>      0, lamp_color
>      area_light
>      +z * lamp_length, +y, lamp_number, 1
>      area_illumination    on
>      looks_like {lamp_bulb}
> }
>
> The lamp in this case is the spiral wrapped tube in the attached images.
> The problem is that the tube itself is not being properly lit. It should
> be lit fairly evenly along its whole length. Instead, in both the area
> light and point light examples, it is being lit heavily from the center
> and not at all from the ends. Hence, parts of the tube in both images
> are unlit from the direction of the camera.
>
> How do I fix this?
>
>
> Mike

Oops! I added area_illumination on to the code, but didn't check to see 
if it worked. That seems to have solved the issue.

But I decided to also add emission, which was even better.


Mike


Post a reply to this message

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