POV-Ray : Newsgroups : povray.general : Raiosity again Server Time
15 Oct 2026 18:39:20 EDT (-0400)
  Raiosity again (Message 1 to 22 of 22)  
From: Nekar Xenos
Subject: Raiosity again
Date: 5 Jun 2001 02:53:28
Message: <3b1c81e8@news.povray.org>
I was just wondering if someone could take a radiosity pic done in flamingo and
do a better one in Pov? Just like the lightwave thing that was done some time
ago. A friend of mine is all excited about Flamingo that he says does radiosity
faster and better than Pov. He hasn't bought Rhino &Flamingo yet but it looks
like he's going to. I just thought that maybe someone could help to give him a
more balanced view...

Regards.

--
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

From: Warp
Subject: Re: Raiosity again
Date: 5 Jun 2001 03:27:22
Message: <3b1c89da@news.povray.org>
Nekar Xenos <j-p### [at] citywalkcoza> wrote:
: A friend of mine is all excited about Flamingo that he says does radiosity
: faster and better than Pov.

  The global lighting code of POV-Ray has still way to go, as it still has
some unknown problems (bugs?). AFAIK POV-Ray 3.5 will have basically the same
radiosity code as MegaPov has.
  In many scenes it works like a charm, very fast and the result is excellent.
However, it's quite usual that you just don't get it working in your
specific scene (either it's too dim or too bright or has annoying artifacts,
specially near corners; it also has this annoying tendency of working in
the way that if you set low quality you get good but unrealistic illumination
(eg. no darkening in corners) and if you set high quality you get better
illumination but annoying artifacts in corners). These problems might be
caused by wrong or buggy code. Perhaps a total rewrite could be necessary
in order to get rid of the problems (it seems that currently no-one knows
where the problems are in the radiosity code)?
  Anyways, the problem with POV-Ray radiosity is that it works in some
scenes but in others it has lots of problems. Other programs usually have
a working and bugless radiosity code and it usually works quite well in
all scenes.

  I'm not completely sure about this, but as far as I know, Radiance uses
a very similar montecarlo raytracing technique as POV-Ray uses in order
to calculate the radiosity, and the quality of Radiance images is quite
well known. Also, if I'm not completely wrong, the radiosity algorithm
of both programs are based on a paper of the same author (Greg Ward).
So the algorithm itself works well (as we can see from Radiance). It's just
the implementation in POV-Ray that has some problems.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Bill DeWitt
Subject: Re: Raiosity again
Date: 5 Jun 2001 08:16:21
Message: <3b1ccd95$1@news.povray.org>
"Nekar Xenos" <j-p### [at] citywalkcoza> wrote ;
>
> A friend of mine is all excited about Flamingo that he says does radiosity
> faster and better than Pov.

    Per dollar? Unless he is making money off his art, or has money to throw
away, POV is a -much- better value.


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: Raiosity again
Date: 5 Jun 2001 10:17:13
Message: <3b1ce9e9@news.povray.org>
> > A friend of mine is all excited about Flamingo that he says does
radiosity
> > faster and better than Pov.
>
>     Per dollar? Unless he is making money off his art, or has money to
throw
> away, POV is a -much- better value.

It depends on the value of your time, free software is only free if you know
how to use it or your time has no value.


--
Rick

Kitty5 WebDesign - http://Kitty5.com
Hi-Impact database driven web site design & e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: ingo
Subject: Re: Raiosity again
Date: 5 Jun 2001 11:10:47
Message: <Xns90B7AEC36317Bseed7@povray.org>
in news:3b1ccd95$1@news.povray.org Bill DeWitt wrote:

>> A friend of mine is all excited about Flamingo that he says does
>> radiosity faster and better than Pov. 
> 
>     Per dollar? Unless he is making money off his art, or has money
>     to throw 
> away, POV is a -much- better value.
> 

Per dollar?
Error ----> division by zero.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Raiosity again
Date: 5 Jun 2001 21:20:21
Message: <3b1d8555@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote...
> So the algorithm itself works well (as we can see from Radiance). It's
just
> the implementation in POV-Ray that has some problems.

True.  It bugs me every time someone thinks that POV's algorithm is less
realistic because it is not "real" radiosity.  The goal is not "radiosity",
but rather "indirect illumination."  The radiosity algorithm is one way to
estimate indirect illumination, and monte carlo raytracing is simply another
method.  Both methods can produce either good or bad estimates, depending on
how much processor time you give them.

-Nathan


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Raiosity again
Date: 5 Jun 2001 21:51:26
Message: <3B1D8CC3.8DE0937E@infomagic.com>
Warp wrote:
> 
> Nekar Xenos <j-p### [at] citywalkcoza> wrote:
> : A friend of mine is all excited about Flamingo that he says does radiosity
> : faster and better than Pov.
> 
>   The global lighting code of POV-Ray has still way to go, as it still has
> some unknown problems (bugs?). AFAIK POV-Ray 3.5 will have basically the same
> radiosity code as MegaPov has.
>   In many scenes it works like a charm, very fast and the result is excellent.
> However, it's quite usual that you just don't get it working in your
> specific scene (either it's too dim or too bright or has annoying artifacts,
> specially near corners; it also has this annoying tendency of working in
> the way that if you set low quality you get good but unrealistic illumination
> (eg. no darkening in corners) and if you set high quality you get better
> illumination but annoying artifacts in corners). These problems might be
> caused by wrong or buggy code. Perhaps a total rewrite could be necessary
> in order to get rid of the problems (it seems that currently no-one knows
> where the problems are in the radiosity code)?

If you imagine radiosity as being like shading being applied to the
scene with a brush and diluted black ink, it becomes fairly easy to
understand.. well, for me anyway. (This analogy is kind of a butchery of
the way radiosity ACTUALLY works, but it's a fair description of its
effect on a scene.)

If you use a high error_bound, it's as if you were using a large brush,
or a sponge, to paint the shading on. This gives good overall lighting,
like a kind of "smart" ambient, but doesn't produce sharp shadows. It
also doesn't produce obvious artifacts, simply because the artifacts are
generally too large to be obvious. (Try lighting a "room" with
radiosity, using a high error_bound and a really low count. There should
be very noticible circles of varying brightness on the walls.)

If you use a low error_bound, the effect is that of using a small brush
to paint in the shadows with tiny strokes. Your lighting takes on a much
more noisy, grainy look - including artifacts in the corners, where
shadows "build up" - but shadow outlines are much more clearly defined.

For this analogy, imagine count as a measure of how thorough you are in
applying the ink with your brush. A low count represents strong ink,
applied quickly and sloppily. As you raise the count, you make more
strokes, using thinner ink, and the shadows take on more and more of a
"blended" look until finally they become smooth.

(The other parameters also have an effect on radiosity, of course, but
none of them are particularly important to this analogy. Many of them
are similar to count.)

Now, if you, a human being, were to attempt to shade a picture this way,
you would probably make an effort to put new splotches in the lighter
parts, so that even if the shading were grainy-looking, it would at
least be an even sort of graininess. But the computer makes no such
considerations, and when you imagine the result of randomly-placed
shading splotches, the reason for the artifacts becomes obvious...

Judging from old radiosity pics and the way official POV radiosity
works, I'd guess that whoever wrote the code never expected radiosity to
be used the way it's often used today. So it's not that the code is
buggy per se, it's just poorly-optimized for detail work, and what we
probably need is a smarter algorithm.

-Xplo


Post a reply to this message

From: Nekar Xenos
Subject: Re: Raiosity again
Date: 6 Jun 2001 02:12:15
Message: <3b1dc9bf@news.povray.org>
"Xplo Eristotle" <xpl### [at] infomagiccom> wrote in message
news:3B1D8CC3.8DE0937E@infomagic.com...
> Warp wrote:
> >
> > Nekar Xenos <j-p### [at] citywalkcoza> wrote:
> > : A friend of mine is all excited about Flamingo that he says does radiosity
> > : faster and better than Pov.
> >
> >   The global lighting code of POV-Ray has still way to go, as it still has
> > some unknown problems (bugs?). AFAIK POV-Ray 3.5 will have basically the
same
> > radiosity code as MegaPov has.
> >   In many scenes it works like a charm, very fast and the result is
excellent.
> > However, it's quite usual that you just don't get it working in your
> > specific scene (either it's too dim or too bright or has annoying artifacts,
> > specially near corners; it also has this annoying tendency of working in
> > the way that if you set low quality you get good but unrealistic
illumination
> > (eg. no darkening in corners) and if you set high quality you get better
> > illumination but annoying artifacts in corners). These problems might be
> > caused by wrong or buggy code. Perhaps a total rewrite could be necessary
> > in order to get rid of the problems (it seems that currently no-one knows
> > where the problems are in the radiosity code)?
>
> If you imagine radiosity as being like shading being applied to the
> scene with a brush and diluted black ink, it becomes fairly easy to
> understand.. well, for me anyway. (This analogy is kind of a butchery of
> the way radiosity ACTUALLY works, but it's a fair description of its
> effect on a scene.)
>
> If you use a high error_bound, it's as if you were using a large brush,
> or a sponge, to paint the shading on. This gives good overall lighting,
> like a kind of "smart" ambient, but doesn't produce sharp shadows. It
> also doesn't produce obvious artifacts, simply because the artifacts are
> generally too large to be obvious. (Try lighting a "room" with
> radiosity, using a high error_bound and a really low count. There should
> be very noticible circles of varying brightness on the walls.)
>
> If you use a low error_bound, the effect is that of using a small brush
> to paint in the shadows with tiny strokes. Your lighting takes on a much
> more noisy, grainy look - including artifacts in the corners, where
> shadows "build up" - but shadow outlines are much more clearly defined.
>
> For this analogy, imagine count as a measure of how thorough you are in
> applying the ink with your brush. A low count represents strong ink,
> applied quickly and sloppily. As you raise the count, you make more
> strokes, using thinner ink, and the shadows take on more and more of a
> "blended" look until finally they become smooth.
>
> (The other parameters also have an effect on radiosity, of course, but
> none of them are particularly important to this analogy. Many of them
> are similar to count.)
>
> Now, if you, a human being, were to attempt to shade a picture this way,
> you would probably make an effort to put new splotches in the lighter
> parts, so that even if the shading were grainy-looking, it would at
> least be an even sort of graininess. But the computer makes no such
> considerations, and when you imagine the result of randomly-placed
> shading splotches, the reason for the artifacts becomes obvious...
>
> Judging from old radiosity pics and the way official POV radiosity
> works, I'd guess that whoever wrote the code never expected radiosity to
> be used the way it's often used today. So it's not that the code is
> buggy per se, it's just poorly-optimized for detail work, and what we
> probably need is a smarter algorithm.
>
> -Xplo

Thanks for this explanation. I've understood the basic principle of radiosity
without really knowing how to use it. This will really help me to use it better.

-Nekar


Post a reply to this message

From: Bill DeWitt
Subject: Re: Raiosity again
Date: 6 Jun 2001 07:59:17
Message: <3b1e1b15$1@news.povray.org>
"Rick [Kitty5]" <ric### [at] kitty5com> wrote in message
news:3b1ce9e9@news.povray.org...
>
> > > A friend of mine is all excited about Flamingo that he says does
> radiosity
> > > faster and better than Pov.
> >
> >     Per dollar? Unless he is making money off his art, or has money to
> throw
> > away, POV is a -much- better value.
>
> It depends on the value of your time, free software is only free if you
know
> how to use it or your time has no value.


    As I said, unless he is making money off his art. Hobby time has no
monetary value so you cannot include it in a dollar value calculation.


Post a reply to this message

From: Tom Melly
Subject: Re: Raiosity again
Date: 6 Jun 2001 08:26:01
Message: <3b1e2159$1@news.povray.org>
"Bill DeWitt" <bde### [at] cflrrcom> wrote in message
news:3b1e1b15$1@news.povray.org...
>
>     As I said, unless he is making money off his art. Hobby time has no
> monetary value so you cannot include it in a dollar value calculation.
>

Bread-head.


Post a reply to this message

From: Bill DeWitt
Subject: Re: Raiosity again
Date: 6 Jun 2001 11:07:32
Message: <3b1e4734@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote :
>
> Bread-head.

    Liver pie lips.


Post a reply to this message

From: Tom Melly
Subject: Re: Raiosity again
Date: 6 Jun 2001 11:51:59
Message: <3b1e519f$1@news.povray.org>
"Bill DeWitt" <bde### [at] cflrrcom> wrote in message news:3b1e4734@news.povray.org...
>
> "Tom Melly" <tom### [at] tomandlucouk> wrote :
> >
> > Bread-head.
>
>     Liver pie lips.

William DeWitt = email wild twit


Post a reply to this message

From: Bill DeWitt
Subject: Re: Raiosity again
Date: 6 Jun 2001 12:02:02
Message: <3b1e53fa$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3b1e519f$1@news.povray.org...
> "Bill DeWitt" <bde### [at] cflrrcom> wrote in message
news:3b1e4734@news.povray.org...
> >
> > "Tom Melly" <tom### [at] tomandlucouk> wrote :
> > >
> > > Bread-head.
> >
> >     Liver pie lips.
>
> William DeWitt = email wild twit

    That's just too good, I surrender (while secretly plotting to resort to
bloody handed violence as soon as I build a boat, go to England, hunt you
down and apologize in advance to your family).


Post a reply to this message

From: Ron Parker
Subject: Re: Raiosity again
Date: 6 Jun 2001 12:20:13
Message: <slrn9hsm1u.4u2.ron.parker@fwi.com>
On Wed, 6 Jun 2001 16:51:59 +0100, Tom Melly wrote:
>"Bill DeWitt" <bde### [at] cflrrcom> wrote in message news:3b1e4734@news.povray.org...
>>
>> "Tom Melly" <tom### [at] tomandlucouk> wrote :
>> >
>> > Bread-head.
>>
>>     Liver pie lips.
>
>William DeWitt = email wild twit

Thomas Melly = hotly slam 'em

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Raiosity again
Date: 6 Jun 2001 12:58:03
Message: <3b1e611b@news.povray.org>
In article <3b1e519f$1@news.povray.org> , "Tom Melly" <tom### [at] tomandlucouk>
wrote:

> "Bill DeWitt" <bde### [at] cflrrcom> wrote in message
> news:3b1e4734@news.povray.org...
>>
>> "Tom Melly" <tom### [at] tomandlucouk> wrote :
>> >
>> > Bread-head.
>>
>>     Liver pie lips.
>
> William DeWitt = email wild twit

Did you consider that this is the wrong place for this childish nonsense?


Post a reply to this message

From: Bill DeWitt
Subject: Re: Raiosity again
Date: 6 Jun 2001 13:53:48
Message: <3b1e6e2c$1@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote :
>
> Did you consider that this is the wrong place for this childish nonsense?

    That's right! The august majesty of P.G. should not be violated with
spurious and infantile maunderings. People here have much better things to
do with their time than delete a few lines of levity. Think of -their-
feelings for once Tom. Just imagine all the weeping P.G.ers who are morose,
inconsolable, sad and despondent because of the final and ultimate loss of
nearly thirteen seconds of their precious time.

    How will you sleep at night? Straighten up and fly right. Take a man's
responsibility in a man's world. Bite the bullet and toe the line. Cut the
crap and belay that nonsense. Leave sleeping dogs laying as they repose in a
supine or recumbent position for purposes of resting or taking a well
deserved nap. Of what were you thinking? How dare you ? Well I never!


Post a reply to this message

From: Andy Cocker
Subject: Re: Raiosity again
Date: 6 Jun 2001 13:59:24
Message: <3b1e6f7c@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3b1e611b@news.povray.org...
>
> Did you consider that this is the wrong place for this childish nonsense?

BAH! Humbug!


Post a reply to this message

From: Ron Parker
Subject: Re: Raiosity again
Date: 6 Jun 2001 14:01:46
Message: <slrn9hss0c.52e.ron.parker@fwi.com>
On Wed, 6 Jun 2001 18:56:42 +0100, Andy Cocker wrote:
>
>"Thorsten Froehlich" <tho### [at] trfde> wrote in message
>news:3b1e611b@news.povray.org...
>>
>> Did you consider that this is the wrong place for this childish nonsense?
>
>BAH! Humbug!

Well, he's right.  Bill should have set followups to off-topic.  Now that
the thread has split, we'll never get it sorted out.  

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Raiosity again
Date: 7 Jun 2001 02:28:04
Message: <3B1F1F1B.CEF515FD@infomagic.com>
Nekar Xenos wrote:
> 
> "Xplo Eristotle" <xpl### [at] infomagiccom> wrote in message
> news:3B1D8CC3.8DE0937E@infomagic.com...
> >
> > If you imagine radiosity as being like shading being applied to the
> > scene with a brush and diluted black ink, it becomes fairly easy to
> > understand.. well, for me anyway. (This analogy is kind of a butchery of
> > the way radiosity ACTUALLY works, but it's a fair description of its
> > effect on a scene.)

(snip)
 
> Thanks for this explanation. I've understood the basic principle of radiosity
> without really knowing how to use it. This will really help me to use it better.

Just keep in mind that when you use radiosity, you're *adding*
illumination to the scene, not darkening it! The shadows that get
"painted" on are, in actuality, the holes in the light. ;)

-Xplo


Post a reply to this message

From: Nekar Xenos
Subject: Re: Raiosity again
Date: 7 Jun 2001 03:07:02
Message: <3b1f2816@news.povray.org>
"Xplo Eristotle" <xpl### [at] infomagiccom> wrote in message
news:3B1F1F1B.CEF515FD@infomagic.com...
> Nekar Xenos wrote:
> >
> > "Xplo Eristotle" <xpl### [at] infomagiccom> wrote in message
> > news:3B1D8CC3.8DE0937E@infomagic.com...
> > >
> > > If you imagine radiosity as being like shading being applied to the
> > > scene with a brush and diluted black ink, it becomes fairly easy to
> > > understand.. well, for me anyway. (This analogy is kind of a butchery of
> > > the way radiosity ACTUALLY works, but it's a fair description of its
> > > effect on a scene.)
>
> (snip)
>
> > Thanks for this explanation. I've understood the basic principle of
radiosity
> > without really knowing how to use it. This will really help me to use it
better.
>
> Just keep in mind that when you use radiosity, you're *adding*
> illumination to the scene, not darkening it! The shadows that get
> "painted" on are, in actuality, the holes in the light. ;)
>

When I first heard of raytracing I assumed that non-reflective objects where
done with some sort of 'radiosity' method (though I hadn't heard of the term
radiosity) and I always wondered how they got everything looking so flat!

How are non-reflective objects don anyway? Does the ray just stop if it doesn't
hit a light off the surface? Trying to imagine it, it almost seems like
ray-tracing with radiosity would be easier than without radiosity!  I guess an
easy cheat method is used?

- Nekar


Post a reply to this message

From: Warp
Subject: Re: Raiosity again
Date: 7 Jun 2001 05:43:38
Message: <3b1f4cca@news.povray.org>
Nekar Xenos <j-p### [at] citywalkcoza> wrote:
: How are non-reflective objects don anyway? Does the ray just stop if it doesn't
: hit a light off the surface? Trying to imagine it, it almost seems like
: ray-tracing with radiosity would be easier than without radiosity!

  What do you mean easier? You think it's easier to send hundreds of rays
to each direction and get illumination values from a spatial tree than
just stopping?

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Nekar Xenos
Subject: Re: Raiosity again
Date: 7 Jun 2001 06:14:24
Message: <3b1f5400@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3b1f4cca@news.povray.org...
> Nekar Xenos <j-p### [at] citywalkcoza> wrote:
> : How are non-reflective objects don anyway? Does the ray just stop if it
doesn't
> : hit a light off the surface? Trying to imagine it, it almost seems like
> : ray-tracing with radiosity would be easier than without radiosity!
>
>   What do you mean easier? You think it's easier to send hundreds of rays
> to each direction and get illumination values from a spatial tree than
> just stopping?
>
>
 It's just easier imagining how things work in real life. Not easier to
impliment though  ;)

- Nekar
--
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

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