POV-Ray : Newsgroups : povray.unofficial.patches : light_groups have no effects on media??? Server Time
1 Nov 2024 11:14:36 EDT (-0400)
  light_groups have no effects on media??? (Message 1 to 6 of 6)  
From: Zeger Knaepen
Subject: light_groups have no effects on media???
Date: 3 Dec 2000 21:07:34
Message: <3a2afc66$1@news.povray.org>
This code should render nothing.  However, the media is showing.  Is this a
bug, or 'just' a limitation of the way light_groups are implemented?

#version unofficial MegaPov 0.6;
camera {
 location <-100,0,-600>
 look_at 0
}
#declare Licht_Locatie=<50000,0,-1000>;
light_source {
 Licht_Locatie
 rgb <1.5,1.4,1.3>
 groups "zonn"
}

#macro Pigment_Transmit (tex, trans)
average  pigment_map {[1-trans tex] [trans transmit 1] }
#end
sphere {
 0,100
 pigment {red 1 transmit .5}
 finish {ambient 0}
 interior {
  media {
   method 2
   samples 1,10
   intervals 10
   scattering {1,blue 1}
   density {
    spherical
    color_map {
     [0 rgb 0]
     [1 rgb .1]
    }
   }
   scale 100
  }
 }
 hollow
 light_group "zon"
}

--
ZK
http://www.povplace.be.tf


Post a reply to this message

From: Pabs
Subject: Re: light_groups have no effects on media???
Date: 3 Dec 2000 22:12:02
Message: <3A2B0BD9.5B4FDB80@hotmail.com>
Zeger Knaepen wrote:

> This code should render nothing.  However, the media is showing.  Is this a
> bug, or 'just' a limitation of the way light_groups are implemented?
>
> <snip>
> light_source {
>  Licht_Locatie
>  rgb <1.5,1.4,1.3>
>  groups "zonn"

         ^^^^^^^

>
> <snip>
>  }
>  hollow
>  light_group "zon"

               ^^^^^
This could be it - use "zonn" instead
BUT
Rendered as "zon" I get a blue ball of media
Rendered as "zonn" I get a sphere with the front black fading to blue then red
at the sides
Is that what you want?
--
Bye
Pabs


Post a reply to this message

From: Zeger Knaepen
Subject: Re: light_groups have no effects on media???
Date: 4 Dec 2000 09:31:57
Message: <3a2baadd@news.povray.org>
> > This code should render nothing.  However, the media is showing.  Is
this a
> > bug, or 'just' a limitation of the way light_groups are implemented?
> >
> > <snip>
> > light_source {
> >  Licht_Locatie
> >  rgb <1.5,1.4,1.3>
> >  groups "zonn"
>
>          ^^^^^^^
>
> >
> > <snip>
> >  }
> >  hollow
> >  light_group "zon"
>
>                ^^^^^
> This could be it - use "zonn" instead
> BUT
> Rendered as "zon" I get a blue ball of media
> Rendered as "zonn" I get a sphere with the front black fading to blue then
red
> at the sides
> Is that what you want?
You understood me wrong...  I didn't type "zonn" by accident!  I said that
if the sphere is in a different lightgroup than the light_source, you
shouldn't see a thing.  However, the media is showing!


> --
> Bye
> Pabs



--
ZK
http://www.povplace.be.tf


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: light_groups have no effects on media???
Date: 4 Dec 2000 10:26:28
Message: <3A2BB7A1.9610A84@enst.fr>
Zeger Knaepen wrote:
> 
> You understood me wrong...  I didn't type "zonn" by accident!  I said that
> if the sphere is in a different lightgroup than the light_source, you
> shouldn't see a thing.  However, the media is showing!
> 
	And is it showing if you remove the light_source completely? (couldn't
this be that the media is visible because of ambient light or
something?)


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: Zeger Knaepen
Subject: Re: light_groups have no effects on media???
Date: 4 Dec 2000 13:34:05
Message: <3a2be39d$1@news.povray.org>
> And is it showing if you remove the light_source completely? (couldn't
> this be that the media is visible because of ambient light or
> something?)
I changed the color of the light to 0 (which is of course the same as
removing it) and the media wasn't visible...





--
ZK
http://www.povplace.be.tf


Post a reply to this message

From: Pabs
Subject: Re: light_groups have no effects on media???
Date: 5 Dec 2000 00:01:25
Message: <3A2C76FD.E9D3638@hotmail.com>


> Zeger Knaepen wrote:
> >
> > You understood me wrong...  I didn't type "zonn" by accident!  I said that
> > if the sphere is in a different lightgroup than the light_source, you
> > shouldn't see a thing.  However, the media is showing!
> >
> And is it showing if you remove the light_source completely? (couldn't
> this be that the media is visible because of ambient light or
> something?)

global_settings { ambient_light COLOUR }
has no effect on the surface since  finish {ambient 0} is used
The docs for scattering don't mention anything about ambient light so it can't be
that.
Looks like a bug in the light-groups feature to me.

--
Bye
Pabs

http://zip.to/pabs3 -> http://www.crosswinds.net/~pabs3


Post a reply to this message

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