|
|
scattering media seems to be always and only illuminated by global
light_sources, even if "global_lights off" is specified.
Also, Pov always gives a warning "no pigment type given" when using
light_groups.
here a small scene to demonstrate it
#version 3.5;
global_settings
{
assumed_gamma 1
ambient_light 0
}
camera
{
location <0,0,-5>
look_at <0,0,0>
}
#macro light_marker(rad,col)
sphere
{
0,1
hollow
pigment{color rgbt 1}
interior
{
media
{
emission 1/rad*col
density{spherical}
}
}
scale rad
}
#end
light_source
{
<1.5,1.5,-1>
color rgb <1,0,0>
looks_like{light_marker(.5,<1,0,0>)}
}
light_group
{
light_source
{
<-1.5,1.5,-1>
color rgb <0,0,1>
looks_like{light_marker(.5,<0,0,1>)}
}
sphere
{
<0,0,0>,.5
hollow
texture{pigment{color rgbt 1}}
interior
{
media
{
scattering{1,color rgb 10}
intervals 3
}
}
}
global_lights off
}
Post a reply to this message
|
|
|
|
It's almost as if it expects the light group to have a pigment:
the no pigment given error is reported even when there are no objects in
the group.
Lutz-Peter Hooge wrote:
>
> scattering media seems to be always and only illuminated by global
> light_sources, even if "global_lights off" is specified.
>
> Also, Pov always gives a warning "no pigment type given" when using
> light_groups.
>
Post a reply to this message
|
|
|
|
In article <3B9F1E55.85A6A12A@chesapeake.net>, "Mr. Art"
<mra### [at] chesapeakenet> wrote:
> It's almost as if it expects the light group to have a pigment:
> the no pigment given error is reported even when there are no objects in
> the group.
Because internally light_groups are handled like a special kind of CSG
object.
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
|
|