POV-Ray : Newsgroups : povray.binaries.images : Area lights and looks_like : Area lights and looks_like Server Time
7 Nov 2024 11:34:15 EST (-0500)
  Area lights and looks_like  
From: Mike Horvath
Date: 30 Jan 2016 12:26:58
Message: <56acf262@news.povray.org>
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'
gh_scene_spinner_cutaway_e - copy_area_light.png

Preview of image 'gh_scene_spinner_cutaway_e - copy_point_light.png'
gh_scene_spinner_cutaway_e - copy_point_light.png


 

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