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
Post a reply to this message
Attachments:
Download 'gh_scene_spinner_cutaway_e - copy_area_light.png' (443 KB)
Download 'gh_scene_spinner_cutaway_e - copy_point_light.png' (118 KB)
Preview of image 'gh_scene_spinner_cutaway_e - copy_area_light.png'
Preview of image 'gh_scene_spinner_cutaway_e - copy_point_light.png'
|