POV-Ray : Newsgroups : povray.general : Radiosity Q and small feature request... Server Time
5 Nov 2024 20:15:22 EST (-0500)
  Radiosity Q and small feature request... (Message 1 to 5 of 5)  
From: Xplo Eristotle
Subject: Radiosity Q and small feature request...
Date: 31 Mar 1999 22:24:53
Message: <3702E5D0.21B54B0D@infomagic.com>
First the question(s): how is radiosity calculated? Is it just based on the
total of direct and ambient light on a given surface, or are there some kind
of light-independent variables involved? Is it affected by
reflection/transparency, and if so, how? How does it vary by distance (or DOES
it)? I have a good idea of what it does, but almost no idea how it does it,
and the dox are terribly uninformative.

Second, the feature request (though gods know when this feature, if added,
will do ME any good): why not make "metallic" a variable, instead of a simple
property, so that you could define the amount of "metallicness"? Compared to
some of the things people ask for, implementing this one ought to be child's play...

-Xplo


Post a reply to this message

From: Bob Hughes
Subject: Re: Radiosity Q and small feature request...
Date: 1 Apr 1999 03:45:10
Message: <370331FB.73420752@aol.com>
From the 7.6.3.3.3 section of the older 3.02 DOCS help:

"The metallic keyword may be follow by a numeric value to specify the
influence the above effect has (the default value is one)."

This doesn't mean I know whether it still does this or not, I've just
always used a float with metallic unless intended to be 1 anyway. I
noticed that neither version of the DOC showed 'metallic n' when I went
to check. Anyone know why?


Xplo Eristotle wrote:
> 
> why not make "metallic" a variable, instead of a simple
> property, so that you could define the amount of "metallicness"? Compared to
> some of the things people ask for, implementing this one ought to be child's play...
> 
> -Xplo

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: Lance Birch
Subject: Re: Radiosity Q and small feature request...
Date: 1 Apr 1999 03:51:59
Message: <370333af.0@news.povray.org>
I thought it was just an operator... like, it just switches it on, it
doesn't have a value supplied...  I also thought that the metallic keyword
sets the shading mode of the object, so it can't reallt have a float
associated with it anyway... but I could be wrong on that one.

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Ron Parker
Subject: Re: Radiosity Q and small feature request...
Date: 1 Apr 1999 08:13:51
Message: <3703710f.0@news.povray.org>
On Thu, 1 Apr 1999 18:49:00 +1000, Lance Birch <lan### [at] usanet> wrote:
>I thought it was just an operator... like, it just switches it on, it
>doesn't have a value supplied...  I also thought that the metallic keyword
>sets the shading mode of the object, so it can't reallt have a float
>associated with it anyway... but I could be wrong on that one.

Use the source, Luke!  I've pasted the part of parstxtr.c that parses
this below.  Briefly, when POV sees the word "metallic" it sets the 
"metallicness" of the texture to one, then looks to see if the next
token is a number.  If it is, it sets the "metallicness" to that number;
otherwise, it puts the next token back and ignores it.  If the docs 
don't mention this, then it was omitted and the docs should be fixed.

CASE (METALLIC_TOKEN)
  New->Metallic = 1.0;
  EXPECT
    CASE_FLOAT
      New->Metallic = Parse_Float();
      EXIT
    END_CASE

    OTHERWISE
      UNGET
      EXIT
    END_CASE
  END_EXPECT
END_CASE


Post a reply to this message

From: Lance Birch
Subject: Re: Radiosity Q and small feature request...
Date: 1 Apr 1999 22:07:03
Message: <37043457.0@news.povray.org>
Ahh, OK, so it DOES accept a float!!!  COOOOOOOOOLLLL!!!!!!!!!!!!!  :-))))

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

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