|
|
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
|
|