POV-Ray : Newsgroups : povray.beta-test : Possable bug with light_groups, and media Server Time
30 Jul 2024 18:24:03 EDT (-0400)
  Possable bug with light_groups, and media (Message 1 to 4 of 4)  
From: Matt
Subject: Possable bug with light_groups, and media
Date: 6 Oct 2001 19:13:42
Message: <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.  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

From: Bob H 
Subject: Re: Possable bug with light_groups, and media
Date: 6 Oct 2001 19:37:00
Message: <3bbf959c@news.povray.org>
"Matt" <mat### [at] yahoocom> 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

From: Francois Labreque
Subject: Re: Possable bug with light_groups, and media
Date: 6 Oct 2001 21:00:01
Message: <3BBFA8BC.5020408@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?

;-)

-- 
/*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

From: Bob H 
Subject: Re: Possable bug with light_groups, and media
Date: 6 Oct 2001 21:12:27
Message: <3bbfabfb$1@news.povray.org>
"Francois Labreque" <fla### [at] videotronca> wrote in message
news:3BB### [at] videotronca...
>
>
> 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

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