POV-Ray : Newsgroups : povray.unofficial.patches : Radiosity question Server Time
2 Sep 2024 20:13:56 EDT (-0400)
  Radiosity question (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Fabian Brau
Subject: Re: Radiosity question
Date: 24 Nov 1999 03:29:45
Message: <383BA275.71D6E721@umh.ac.be>
Nathan,

Thank you very much for your answer.

Fabian.

Nathan Kopp wrote:
> 
> Fabian,
> 
> By "brightest object", I mean, "If you shoot rays into your scene, turn the
> colors to grey-scale, what will be the biggest number, ignoring specular and
> phong highlights?"
> 
> For example, if you have all "diffuse 1.0" objects with pigment colors no
> greater than <1,1,1> and the sum of your light sources is 1.5, then the
> brightest any object can look is 1.0*1.0*1.5 = 1.5.  On the other hand,
> let's say one object is supposed to act like a light source, so you use
> "ambient 20" with that object.  In that case, your brightest object will be
> 20 and you'd want to use a max_sample of 20 and a radiosity adc_bailout of
> 0.01/20.
> 
> -Nathan
> 
> Fabian Brau <fab### [at] umhacbe> wrote...
> > Hello,
> >
> > I understand all well in the new implementation of the radiosity by
> > Nathan, but not this thing
> >
> > max_sample 2         // CHANGE - this should be the same as the
> > brightest object
> > adc_bailout 0.01/2   // CHANGE - use adc_bailout = 0.01 /
> > brightest_ambient_object
> >
> >
> > what is the brightest object, where I find the number 2 in my scene?
> >
> > Thanks,
> >
> > Fabian.


Post a reply to this message

From: Nieminen Juha
Subject: Re: Radiosity question
Date: 24 Nov 1999 11:52:39
Message: <383c17d7@news.povray.org>
Margus Ramst <mar### [at] peakeduee> wrote:
: You couldn't quarantee that the brightest object is hit during the preliminary
: pass.

  Then the object is so small that it doesn't affect the scene anyways.
  And if there were any problem, you could always specify the correct value
by hand...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: J  Grimbert
Subject: Re: Radiosity question
Date: 25 Nov 1999 02:12:46
Message: <383CE16E.CA653F42@atos-group.com>
Nieminen Juha wrote:
> 
> Margus Ramst <mar### [at] peakeduee> wrote:
> : You couldn't quarantee that the brightest object is hit during the preliminary
> : pass.
> 
>   Then the object is so small that it doesn't affect the scene anyways.
>   And if there were any problem, you could always specify the correct value
> by hand...
> 

Just an idea...

Not as obvious at it may seems, but the object may be out of the image.
If you're doing an animation with a traveling, 
the appearing/vanishing objects with radiosity may just impacts a lot
the brightness of the consecutive images.

Now, the question is "is using radiosity in an animation a reasonable thing ?".


Post a reply to this message

From: Nieminen Juha
Subject: Re: Radiosity question
Date: 25 Nov 1999 07:29:19
Message: <383d2b9f@news.povray.org>
J. Grimbert <jgr### [at] atos-groupcom> wrote:
: Not as obvious at it may seems, but the object may be out of the image.

  It doesn't matter. It will be hit in the mosaic preview anyways (that's
what radiosity is about).

: Now, the question is "is using radiosity in an animation a reasonable thing ?".

  Why it shouldn't?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Margus Ramst
Subject: Re: Radiosity question
Date: 25 Nov 1999 12:47:12
Message: <383D76BD.2F70BCAC@peak.edu.ee>
How much an object affects the scene depends on the balance of size and
brighness. Smaller objects just have to be brighter, proportionally to the area
of their projection, to give the same effect (not accounting for increased
statistical error due to limited sample rays)

Margus

Nieminen Juha wrote:
> 
>   Then the object is so small that it doesn't affect the scene anyways.
>   And if there were any problem, you could always specify the correct value
> by hand...
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Radiosity question
Date: 26 Nov 1999 05:53:22
Message: <383e66a2@news.povray.org>
Perhaps there could be a special keyword that you could apply to objects
which tells povray "this object is very small and very bright, so send more
radiosity rays here".

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Margus Ramst
Subject: Re: Radiosity question
Date: 26 Nov 1999 15:54:34
Message: <383EF428.38EFC4D8@peak.edu.ee>
Perhaps something like this might work - if the calculation of weights can be
handled. The weight of a sample has to be proportional to the area of the sky it
represents (in the simplest case that the surface reflects only diffusely). I am
not sure how this can be efficiantly calculated with uneven distribution of
samples.

Margus

Nieminen Juha wrote:
> 
>   Perhaps there could be a special keyword that you could apply to objects
> which tells povray "this object is very small and very bright, so send more
> radiosity rays here".
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Radiosity question
Date: 27 Nov 1999 21:38:20
Message: <3840959c@news.povray.org>
I've been working a bit on this with photon mapping.  If a global photon map
is created, the directional data can be used so that you only shoot sample
rays in directions where photons came from.  When doing this, you have to
use weights to compensate for the uneven distribution.  The code is in the
UVPov source in photons.c (but isn't very well commented and is not
currently used... but you can look at it if you like).  So, yes, this can
efficiently be done.

-Nathan

Margus Ramst <mar### [at] peakeduee> wrote...
> Perhaps something like this might work - if the calculation of weights can
be
> handled. The weight of a sample has to be proportional to the area of the
sky it
> represents (in the simplest case that the surface reflects only
diffusely). I am
> not sure how this can be efficiantly calculated with uneven distribution
of
> samples.
>
> Margus
>
> Nieminen Juha wrote:
> >
> >   Perhaps there could be a special keyword that you could apply to
objects
> > which tells povray "this object is very small and very bright, so send
more
> > radiosity rays here".
> >
> > --
> > main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> > ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*-
Warp -*/


Post a reply to this message

From: Margus Ramst
Subject: Re: Radiosity question
Date: 29 Nov 1999 12:59:01
Message: <3842BF75.8F09FBDD@peak.edu.ee>
Nathan Kopp wrote:
> 
> I've been working a bit on this with photon mapping.  If a global photon map
> is created, the directional data can be used so that you only shoot sample
> rays in directions where photons came from.

Now this is a great idea! But it doesn't work for purely ambient based light
sources, does it?

> When doing this, you have to
> use weights to compensate for the uneven distribution.  The code is in the
> UVPov source in photons.c (but isn't very well commented and is not
> currently used... but you can look at it if you like).  So, yes, this can
> efficiently be done.
> 

This is bound to give me a headache, but I might check it out...

Margus


Post a reply to this message

From: Nathan Kopp
Subject: Re: Radiosity question
Date: 29 Nov 1999 22:41:00
Message: <3843474c@news.povray.org>
Margus Ramst <mar### [at] peakeduee> wrote...
> Nathan Kopp wrote:
> >
> > I've been working a bit on this with photon mapping.  If a global photon
map
> > is created, the directional data can be used so that you only shoot
sample
> > rays in directions where photons came from.
>
> Now this is a great idea! But it doesn't work for purely ambient based
light
> sources, does it?

No... Which is why, if I ever get it to work properly, it would have to be
optional.

-Nathan


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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