POV-Ray : Newsgroups : povray.binaries.images : Area light is very bright Server Time: 29 Jun 2017 12:26:01 GMT
  Area light is very bright (Message 1 to 3 of 3)  
From: Mike Horvath
Subject: Area light is very bright
Date: 1 Apr 2017 05: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


 

From: Mike Horvath
Subject: Re: Area light is very bright
Date: 1 Apr 2017 05:16:59
Message: <58df37cb$1@news.povray.org>
On 4/1/2017 1:02 AM, Mike Horvath wrote:
> 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 is my media and its container:
>

Oops. Here is the media:


#declare atmos_material = material
{
	texture {pigment {color rgbt 1}}
	interior
	{
		media
		{
			scattering
			{
				4, rgb <0.2,0.4,1.0>/20000
				extinction	1
			}
			samples	10
		}
	}
}


Post a reply to this message

From: clipka
Subject: Re: Area light is very bright
Date: 1 Apr 2017 07:29:44
Message: <58df56e8$1@news.povray.org>
Am 01.04.2017 um 07:02 schrieb Mike Horvath:
> 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?

That should be easy: Just fix the media.

Because it's not the area light that is too bright -- it's the point
light that appears too dim, thanks to being concentrated to just the
center of the illuminating rod.

Or at least that's what I think is going on. You might experiment with
this a bit, e.g. by replacing the area light with a corresponding array
of point lights (say, 1000 point lights of 1/1000 the brightness).


Post a reply to this message

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