POV-Ray : Newsgroups : povray.beta-test : Radiosity Server Time
5 Nov 2024 05:25:32 EST (-0500)
  Radiosity (Message 1 to 4 of 4)  
From: Ruy
Subject: Radiosity
Date: 5 Sep 2001 21:44:29
Message: <3b96d4fd@news.povray.org>
First of all, thanks for a great program. 'Been using it since 2.2, and it
still amazes me how you guys always manage to do an even more amazing job at
each newer version.

Now for the problem: Pentium III, 1GHz, 256MB SDRAM, Windows 2000.

The good news is that the simple scene below does not get me a blank screen,
as it happened with MegaPOV.

Still, since the difference of boxes is suppoesed to get me thick walls, I
can see the "inside" of the wall (it's thickness). Also (and here I don't
know if it works correctly or if this is a bug), the "dark" part of the
inside is the inverse color of the light source, i.e.: if the light is
white, the dark part is black; if the light is red, the dark part is cyan;
if the light is green, the dark part is magenta; and if the light is blue,
the dark part is yellow. Here, again, all I get is a bunch of blank screens
with MegaPOV.

Here is the scene. The camera is inside a thick box with a window on the
left wall which allows an outside light source to shed some rays inside:

/*------------------ Radiosity Test -----------------------*/
global_settings { radiosity {} }

background { 1 }

light_source { <-10, 10, -10> color 1 }

camera
{
        location <0, 2, -3.99>
        look_at <0, 0, 0>
        angle 120
}

difference
{
        difference
        {
                box { <-2.2, -0.2, -4.2>, <2.2, 4.2, 4.2> }
                box { <-2.0,  0.0, -4.0>, <2.0, 4.0, 4.2> }
        }
        box { <-2.3, 2, 2> <-1.9, 3, 3> } /* Window */
        pigment { color 1 }
}


Post a reply to this message

From: Mark Wagner
Subject: Re: Radiosity
Date: 5 Sep 2001 23:18:02
Message: <3b96eaea@news.povray.org>
Ruy wrote in message <3b96d4fd@news.povray.org>...
>the "dark" part of the
>inside is the inverse color of the light source, i.e.: if the light is
>white, the dark part is black; if the light is red, the dark part is cyan;

>        pigment { color 1 }


Here's your problem.  POV-Ray expands "color 1" to be "color rgbft
<1,1,1,1,1>".  Does replacing it with "color rgb 1" make it look the way you
want?

--
Mark


Post a reply to this message

From: Ruy
Subject: Re: Radiosity
Date: 6 Sep 2001 04:24:41
Message: <3b9732c9@news.povray.org>
Nope. With both background and light colors set to "rgb1", the results are
still the same. Anyway, what really concerns me is being able to see inside
the wall.

"Mark Wagner" <mar### [at] gtenet> escreveu na mensagem
news:3b96eaea@news.povray.org...
> Here's your problem.  POV-Ray expands "color 1" to be "color rgbft
> <1,1,1,1,1>".  Does replacing it with "color rgb 1" make it look the way
you
> want?
>
> Mark


Post a reply to this message

From: Bob H 
Subject: Re: Radiosity
Date: 6 Sep 2001 16:11:28
Message: <3b97d870$1@news.povray.org>
"Ruy" <ruy### [at] hipernetcombr> wrote in message
news:3b9732c9@news.povray.org...
> Nope. With both background and light colors set to "rgb1", the results are
> still the same. Anyway, what really concerns me is being able to see
inside
> the wall.

I thought I had replied to you as well.  I rendered your script with a light
color of 10 and the room does illuminate a little.  I also positioned the
light to shine in better.

Did you mistakenly use a +4.2*z in your differencing box?  That matches the
wall of the larger box so I changed it to +4.0*z.

Bob H.


Post a reply to this message

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