POV-Ray : Newsgroups : povray.beta-test : light_group and media Server Time
30 Jul 2024 14:28:57 EDT (-0400)
  light_group and media (Message 1 to 4 of 4)  
From: Abe
Subject: light_group and media
Date: 5 Nov 2001 18:36:41
Message: <3BE72201.5E3C684B@taconic.net>
Why don't light_groups control the illumination of scattering media? Is
this a bug?

Abe


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: light_group and media
Date: 6 Nov 2001 03:08:55
Message: <3be79a97@news.povray.org>
In article <3BE72201.5E3C684B@taconic.net> , Abe <bul### [at] taconicnet>  
wrote:

> Why don't light_groups control the illumination of scattering media? Is
> this a bug?

Light groups influence light sources.  Read the media documentation to learn
about the difference between light sources and scattering media.

    Thorsten


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: light_group and media
Date: 6 Nov 2001 09:16:47
Message: <MPG.16520f4740fa36bd9896b1@news.povray.org>
In article <3be79a97@news.povray.org>, tho### [at] trfde says...

> Light groups influence light sources. 

light_groups affect light_sources and light_sources affect scattering 
media. 

quote from the doc: "Note that some media effects depend upon light 
sources"

So light_groups SHOULD (indirectly) influence scattering media.

But they don't, I reported this a while ago, too.

example:
(both sheres _should_ be lit only by the green light_source)

#version 3.5;
camera
{
	location <0,0,-5>
}

light_source
{
	<1,1,-2>*10
	color rgb <1,0,0>
	media_interaction on
}


light_group
{
	light_source
	{
		<-1,-1,-2>*10
		color rgb <0,1,0>
		media_interaction on
	} 

	sphere
	{
		0,1 
		pigment{color rgb 1}
		translate x*1
	}
	
	sphere
	{
		0,1
		hollow
		pigment{color rgbt 1}
		interior{media{scattering {1,color rgb 10}}}
		translate -x*1
	}
}


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: light_group and media
Date: 6 Nov 2001 09:57:19
Message: <3be7fa4f@news.povray.org>
In article <MPG.16520f4740fa36bd9896b1@news.povray.org> , Lutz-Peter Hooge
<lpv### [at] gmxde>  wrote:

> example:
> (both sheres _should_ be lit only by the green light_source)

You are right, your example should show two greene spheres.  I misunderstood
the original posters problem ... which would have been clear with a sample
scene...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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