POV-Ray : Newsgroups : povray.beta-test : About no_radiosity and radiosity off Server Time
2 Jul 2024 10:37:02 EDT (-0400)
  About no_radiosity and radiosity off (Message 1 to 10 of 34)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Carlo C 
Subject: About no_radiosity and radiosity off
Date: 15 Sep 2009 04:55:00
Message: <web.4aaf555ce5e56adf3b29dc8d0@news.povray.org>
To summarize:

Changes between 3.7.beta.13 and 3.7.beta.14
--------------------------------------------
Added radiosity on/off flag for objects.


Changes between 3.7.beta.32 and 3.7.beta.33
-------------------------------------------
Added no_radiosity keyword, as known from MegaPOV:
Specifying "no_radiosity" in an object block makes that object invisible
to radiosity rays, ...

What are the differences?

- A test with no_radiosity:
Insert > Scene templates > Radiosity scene
With:

  sphere {
    <0,1,0>, 1
    no_radiosity
  }

I do not know any difference.
Instead "radiosity off" is ok.
I am wrong?


Post a reply to this message

From: clipka
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 05:33:26
Message: <4aaf5f66$1@news.povray.org>
Carlo C. schrieb:
> 
> Changes between 3.7.beta.13 and 3.7.beta.14
> --------------------------------------------
> Added radiosity on/off flag for objects.
> 
> 
> Changes between 3.7.beta.32 and 3.7.beta.33
> -------------------------------------------
> Added no_radiosity keyword, as known from MegaPOV:
> Specifying "no_radiosity" in an object block makes that object invisible
> to radiosity rays, ...
> 
> What are the differences?

Unless I perfectly goofed it up, "radiosity off" prevents an object from 
*receiving* diffuse interreflection (aka radiosity), while 
"no_radiosity" prevents an object from *emitting* diffuse interreflection.


Post a reply to this message

From: Carlo C 
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 06:00:00
Message: <web.4aaf64fec26aab573b29dc8d0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
>
> Unless I perfectly goofed it up, "radiosity off" prevents an object from
> *receiving* diffuse interreflection (aka radiosity), while
> "no_radiosity" prevents an object from *emitting* diffuse interreflection.

I have a (little) confusion in my mind...
Now I understand.
Thank you, clipka.

Maybe, just maybe, it might be useful to combine these three options in a single
keyword even with alphanumeric values?

Just a small idea, with no pretensions.
Of course, I'm already so happy. :-)


Post a reply to this message

From: clipka
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 06:11:00
Message: <4aaf6834$1@news.povray.org>
Carlo C. schrieb:
> clipka <ano### [at] anonymousorg> wrote:
>> Unless I perfectly goofed it up, "radiosity off" prevents an object from
>> *receiving* diffuse interreflection (aka radiosity), while
>> "no_radiosity" prevents an object from *emitting* diffuse interreflection.

(I just checked whether it indeed does what I thought it does after 
having seen the code - it does do right that :-))


> Maybe, just maybe, it might be useful to combine these three options in a single
> keyword even with alphanumeric values?
> 
> Just a small idea, with no pretensions.
> Of course, I'm already so happy. :-)

The syntax for "no_radiosity" was chosen to (a) match the megapov 
syntax, and (b) fit into the family of no_shadow, no_reflection and 
no_image keywords, which all basically say, "for the sake of 
[shadow/reflection/image/radiosity] rays, this object does not exist", 
to be consistent there (which was also probably the motivation for the 
megapov syntax).

The "radiosity off" syntax already existed at that time, so it was just 
left unchanged. It's a bit "dangling" I think.


Post a reply to this message

From: Carlo C 
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 06:25:01
Message: <web.4aaf6b75c26aab573b29dc8d0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Carlo C. schrieb:
> > clipka <ano### [at] anonymousorg> wrote:
> >> Unless I perfectly goofed it up, "radiosity off" prevents an object from
> >> *receiving* diffuse interreflection (aka radiosity), while
> >> "no_radiosity" prevents an object from *emitting* diffuse interreflection.
>
> (I just checked whether it indeed does what I thought it does after
> having seen the code - it does do right that :-))


Ach komm, das gibt's doch nicht! :-)


> The syntax for "no_radiosity" was chosen to (a) match the megapov
> syntax, and (b) fit into the family of no_shadow, no_reflection and
> no_image keywords, which all basically say, "for the sake of
> [shadow/reflection/image/radiosity] rays, this object does not exist",
> to be consistent there (which was also probably the motivation for the
> megapov syntax).
>
> The "radiosity off" syntax already existed at that time, so it was just
> left unchanged. It's a bit "dangling" I think.


I fully understand the reasons.


Post a reply to this message

From: Warp
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 16:49:39
Message: <4aaffde3@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Unless I perfectly goofed it up, "radiosity off" prevents an object from 
> *receiving* diffuse interreflection (aka radiosity), while 
> "no_radiosity" prevents an object from *emitting* diffuse interreflection.

  It feels quite confusing. How about reusing existing keywords for a
clearer syntax:

radiosity { emission on/off }
radiosity { collect on/off }

-- 
                                                          - Warp


Post a reply to this message

From: clipka
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 17:04:35
Message: <4ab00163$1@news.povray.org>
Warp schrieb:
>   It feels quite confusing. How about reusing existing keywords for a
> clearer syntax:
> 
> radiosity { emission on/off }
> radiosity { collect on/off }

How about sticking to the established megapov syntax, hm?


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 17:11:12
Message: <4ab002f0@news.povray.org>
clipka wrote:
> Warp schrieb:
>>   It feels quite confusing. How about reusing existing keywords for a
>> clearer syntax:
>>
>> radiosity { emission on/off }
>> radiosity { collect on/off }
> 
> How about sticking to the established megapov syntax, hm?

Compatibility to MegaPOV should be of *no* concern when porting a patch or 
feature over to official POV-Ray. Consistency and avoiding new keywords when 
reasonable should be the primary conditions for syntax decisions.

	Thorsten, POV-Team


Post a reply to this message

From: clipka
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 17:41:13
Message: <4ab009f9$1@news.povray.org>
Thorsten Froehlich schrieb:
> Compatibility to MegaPOV should be of *no* concern when porting a patch 
> or feature over to official POV-Ray. Consistency and avoiding new 
> keywords when reasonable should be the primary conditions for syntax 
> decisions.
> 
>     Thorsten, POV-Team

Though I generally consider this a reasonable position, in this 
particular case there was a reason for the MegaPOV patch to use this 
particular syntax and not a different one, touching one of the very 
points mentioned: Consistency, in this case with the other 
"no_something" keywords.

So using any other syntax as that used in MegaPOV would have meant...:

- breaking consistency among the "no_something" family of keywords

- having to invent a new syntax from scratch

- with not much of a precendence case to orient on

- and with the syntax "radiosity off" already being in use for another 
very different feature.

Plus, as already mentioned, sacrificing the opportunity to use a syntax 
already familiar to the users of a very famous POV-Ray patch - which of 
course would not be sufficient alone, but I think it quite well rounds 
off the whole thing.


Post a reply to this message

From: Warp
Subject: Re: About no_radiosity and radiosity off
Date: 15 Sep 2009 18:34:00
Message: <4ab01658@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Though I generally consider this a reasonable position, in this 
> particular case there was a reason for the MegaPOV patch to use this 
> particular syntax and not a different one, touching one of the very 
> points mentioned: Consistency, in this case with the other 
> "no_something" keywords.

  Just because "no_something" is used for some features doesn't mean the
syntax is sound for all possible such features.

  Take, for instance, photon mapping. There's no "no_photons" keyword.
There is "photons { pass_through }" and "photons { collect off }", and
for good reasons.

  I see radiosity being more akin to photon mapping than to things like
no_image and no_reflection.

> - breaking consistency among the "no_something" family of keywords

  Photon mapping already "breaks consistency". Except that it doesn't.
Artificially forcing a feature to the same mold as some other feature
is not always a good idea. With photon mapping the different syntax is
justified, and IMO so it is with radiosity.

> - having to invent a new syntax from scratch

  I fail to see how that is a bad thing. If the new syntax is *better*
and easier to understand, it's definitely a *good* thing, not a bad one.

> - with not much of a precendence case to orient on

  Wrong. See photon mapping.

> Plus, as already mentioned, sacrificing the opportunity to use a syntax 
> already familiar to the users of a very famous POV-Ray patch - which of 
> course would not be sufficient alone, but I think it quite well rounds 
> off the whole thing.

  Just because an unofficial patch has made poor choices in syntax doesn't
mean those same poor choices must be replicated in the official version.

-- 
                                                          - Warp


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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