POV-Ray : Newsgroups : povray.binaries.images : Area light is very bright : Area light is very bright Server Time
7 Nov 2024 02:24:46 EST (-0500)
  Area light is very bright  
From: Mike Horvath
Date: 1 Apr 2017 01:01:41
Message: <58df3435@news.povray.org>
One of the attached images was rendered with an area light, the other 
with the point light. The area light is very much too bright, and turns 
the screen white, due to interactions with media. How can I fix this issue?

Here are my lights:

	// area light
	light_source
	{
		0, lamp_color * (1 + pow(city_radius/lamp_radius2, 2))
		area_light
		+z * lamp_length, +y, lamp_number, 1
		area_illumination	on
		fade_distance lamp_radius2
		fade_power 2
		looks_like {lamp_bulb}
	}

	//point light
	light_source
	{
		0, lamp_color * (1 + pow(city_radius/lamp_radius2, 2))
		fade_distance lamp_radius2
		fade_power 2
		looks_like {lamp_bulb}
	}

Here is my media and its container:

	difference
	{
		merge
		{
			cylinder {+z*(city_length/2), -z*(city_length/2), city_radius}
			Spheroid(+z*(city_length/2), 
<inner_shell_radius3,inner_shell_radius3,inner_shell_bulge>)
			Spheroid(-z*(city_length/2), 
<inner_shell_radius3,inner_shell_radius3,inner_shell_bulge>)
			hollow
		}
		#if (!ShowWhole)
			object {cutaway_object1}
		#end
		hollow
		material {atmos_material}
		bounded_by {cylinder {+z*(city_length/2+inner_shell_bulge), 
-z*(city_length/2+inner_shell_bulge), city_radius}}
		scale 1.001
	}

Thanks for the help!


Mike


Post a reply to this message


Attachments:
Download 'gh_scene_spinner_cutaway_e_yeslamp_yesatmos_area.png' (19 KB) Download 'gh_scene_spinner_cutaway_e_yeslamp_yesatmos_simple.png' (430 KB)

Preview of image 'gh_scene_spinner_cutaway_e_yeslamp_yesatmos_area.png'
gh_scene_spinner_cutaway_e_yeslamp_yesatmos_area.png

Preview of image 'gh_scene_spinner_cutaway_e_yeslamp_yesatmos_simple.png'
gh_scene_spinner_cutaway_e_yeslamp_yesatmos_simple.png


 

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