  | 
  | 
 
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Duron 750, 512 Megs of SDRam, Win95B PovRay V3.5 beta 4
I'm not sure if this is a bug, or a limitation, but I couldn't find any
mention of it in the Docs.  I found that lights in a light_group simply
didn't effect media.  I mentioned this before but forgot my system details
(sorry).  I would realy like to know if this could be fixed, or if I've made
a mistake somewhere.
Heres an example of the problem.
///Example of light groups not working
///Displays a smoke ball lit by 1 red global light, but not the local blue
light in its light_group
///however ball beside it is lit proberly
camera {
    location    <0, +2.1, 15> look_at     <0.0, 0, 1>}
///strong red global light
light_source {
  <20, -40, 100>
  color rgb <3, 0, 0>
}
/*
///same light as in group, but uncomment this and it will work
light_source {
        <20, +40, 100>
        color rgb <0, 0.1, 1>*4
    }
*/
///my light group
light_group
    ///simple blue light for ball only
    light_source {
        <20, +40, 100>
        color rgb <0, 0.1, 1>*6  ///<---- set this as bright as you want, it
seems to ignore the light
    }
    ///simple ball
    sphere { -4,4 pigment {rgb <0.1,0.1,0.1>} finish {ambient 0.1 diffuse
0.6}
    }
    ///smoke ball
    sphere { 0,4 pigment {rgbf 1} finish {ambient 0 diffuse 0}
    interior
        media {
            method 2  ///method 1,2 and 3 share same problem
            scattering {5,1 eccentricity .67}
        }
    }
    hollow
    }
///use that red light as well
global_lights on
}
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
"Matt" <mat### [at] yahoo com> wrote in message
news:3bbf9026@news.povray.org...
> Duron 750, 512 Megs of SDRam, Win95B PovRay V3.5 beta 4
> I'm not sure if this is a bug, or a limitation, but I couldn't find any
> mention of it in the Docs.  I found that lights in a light_group simply
> didn't effect media.
Looks like you're right, no interaction.  Going by the old MegaPOV doc it
suggests it should do so, although I can't recall a time I had done this
before myself.  I tried a few various ways here and nothing shows up.
WinME, PIII, P-R 3.5.beta.5.icl.win32
Bob H.
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Bob H. wrote:
> WinME, PIII, P-R 3.5.beta.5.icl.win32
                             ^^^^^
Surely this is a typo.  You wouldn't be running vaporware, would you?
;-)
-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
"Francois Labreque" <fla### [at] videotron ca> wrote in message
news:3BB### [at] videotron ca...
>
>
> Bob H. wrote:
>
> > WinME, PIII, P-R 3.5.beta.5.icl.win32
>
>                              ^^^^^
>
> Surely this is a typo.  You wouldn't be running vaporware, would you?
Tomorrows beta today ;-)
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 
 | 
  |