![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Zeger Knaepen
Subject: Re: light_groups have no effects on media???
Date: 4 Dec 2000 09:31:57
Message: <3a2baadd@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> > 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] iname com
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |