POV-Ray : Newsgroups : povray.general : Radiosity and finish Server Time
6 Nov 2024 22:16:25 EST (-0500)
  Radiosity and finish (Message 1 to 5 of 5)  
From: Rafal 'Raf256' Maj
Subject: Radiosity and finish
Date: 8 Jul 2002 12:31:15
Message: <Xns9245BBDE5BEE1raf256com@204.213.191.226>
Should light gatherd from radiosity effect specular etc ?

I didnt test it exacly yet, but : 
I have object with i.e. very high specular
when I light it with direct light_source - it is shining
when it is alsow bright, but hi is lighten only from radiosity light - it 
looks same with
radiosity 0
and with
radiosity 10 specular 1 // this huge values are for testing ofcourse :)

is there some way to change it ?

-- 


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Radiosity and finish
Date: 8 Jul 2002 12:33:13
Message: <Xns9245BC33D65DCraf256com@204.213.191.226>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in 
news:Xns### [at] 204213191226:

> radiosity 0
> and with
> radiosity 10 specular 1 /

ehh sorry :/ errat :
specular 0
  and with
specular 10 roughness 1

full example :

-- 


Post a reply to this message

From: Tim Nikias
Subject: Re: Radiosity and finish
Date: 8 Jul 2002 12:48:26
Message: <3D29C26F.26C123D6@gmx.de>
Radiosity, AFAIR, doesn't affect phong and specular. Those are
lightsource dependant "faking" algorithms.

If I'm correct, specular and phong only take the surface-normal
in relation to the direction towards the lightsource and calculate
a "shinyness" based on that angle. Since radiosity isn't connected
to a lightsource, the implementation of light-directions from radiosity
is fairly difficult.

I know that there has been a thread about this some while ago,
though I do not know the group or time... So the above is what
I can recall from that thread (didn't pay much attention, actually,
cause I just thought that radiosity is just a "diffuse" lighting, thus
giving no highlights, and in reality, highlights are mere reflections
of bright objects, so the "faking" algorithms just don't work for
radiosity and highlights - hope that makes sense)....

You'll need to combine lightsources and radiosity as an easy
approach, another might be exponential fresnel reflection and
bright ambient objects as lightsources, which is probably very
difficult.


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Radiosity and finish
Date: 8 Jul 2002 13:48:09
Message: <Xns9245C8E94A2DDraf256com@204.213.191.226>
Tim Nikias <tim### [at] gmxde> wrote in news:3D29C26F.26C123D6@gmx.de:

> Radiosity, AFAIR, doesn't affect phong and specular. Those are
> lightsource dependant "faking" algorithms.
> 
> If I'm correct, specular and phong only take the surface-normal
> in relation to the direction towards the lightsource and calculate
> a "shinyness" based on that angle. Since radiosity isn't connected
> to a lightsource, the implementation of light-directions from radiosity
> is fairly difficult.

but IMHO this is worth the effort :)

afair realy radiosity needs calculations of about 50-200 (count) 
samples per one pixel. Due to reuse - only few samples are calculated - 
because POV remebers radiosity brighntess in last pixel(s)... em I right ?

if we turn off reusing, all will actualy calculate ~count samples for each 
pixel - we will get normal of each 50..200 ray's that create radiosity in 
this point - and we can apply specular to them.

this ofcourse will slow down a lot calculations - so this should be turned 
on/off by some option...


-- 


Post a reply to this message

From: Tim Nikias
Subject: Re: Radiosity and finish
Date: 8 Jul 2002 14:54:35
Message: <3D29DFFF.70775FFF@gmx.de>
Rafal 'Raf256' Maj schrieb:

> Tim Nikias <tim### [at] gmxde> wrote in news:3D29C26F.26C123D6@gmx.de:
>
> > Radiosity, AFAIR, doesn't affect phong and specular. Those are
> > lightsource dependant "faking" algorithms.
> >
> > If I'm correct, specular and phong only take the surface-normal
> > in relation to the direction towards the lightsource and calculate
> > a "shinyness" based on that angle. Since radiosity isn't connected
> > to a lightsource, the implementation of light-directions from radiosity
> > is fairly difficult.
>
> but IMHO this is worth the effort :)
>
> afair realy radiosity needs calculations of about 50-200 (count)
> samples per one pixel. Due to reuse - only few samples are calculated -
> because POV remebers radiosity brighntess in last pixel(s)... em I right ?
>
> if we turn off reusing, all will actualy calculate ~count samples for each
> pixel - we will get normal of each 50..200 ray's that create radiosity in
> this point - and we can apply specular to them.
>
> this ofcourse will slow down a lot calculations - so this should be turned
> on/off by some option...
>
> --


The problem with this implementation is that radiosity would actually
need a 360 degree view of the entire scene for each pixel.
On the first pass, every pixel would know direct illumination from glowing
objects surrounding it. But how about reflection of light? For the entire 360
degree view, you'd need to know radiosity for every pixel again. On
trace_level 2, the results sky-rocket already, when moving on to
5 or higher, the image will never complete.

To simplify this, POV-Ray shoots several rays and averages results.
But I don't have that much insight into the actual code and how
it works, so I'm just guessing here. Always remember that we're talking
about a raytracer here, and getting exact results requires a lot of rays
to be shot. And, yet further, its not that easily done, cause its a
raytracer, not a scanline-render or such. The computations get
pretty large just for the scene itself, introducing radiosity was probably
no easy task...
But if you're up to it, why don't you wait for the source when 3.5 is ready
and have a go for it? ;-) (just teasing you)

Perhaps someone from the team wants to add something, or does anyone
have the thread I mentioned earlier at hand?


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

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