POV-Ray : Newsgroups : povray.general : diffuse and ambient Server Time
8 Aug 2024 14:16:31 EDT (-0400)
  diffuse and ambient (Message 26 to 35 of 35)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 16:40:40
Message: <chrishuff-D383F1.16422211012001@news.povray.org>
In article <3A5DE21E.13B70413@aetec.ee>, Vahur Krouverk 
<vah### [at] aetecee> wrote:

> Just a thought:
> If dust from this discussion is settled down and common ground is found,
> then perhaps someone could summarize it and put it available (e.g. as
> guideline for rule-of-thumb)?

As mentioned, pretty much everyone has their own "rule of thumb", and 
you will have to just develop your own. However, this is how I do 
things, but note that much of this applies to MegaPOV only:

Make sure ambient+diffuse+reflection <= 1
(I don't include specular in this, because it only applies to certain 
angles relative to each light_source...just adjust it until you get the 
highlights you want. I never use phong highlights. If you use 
iridescence, that should probably go into the above calculations.)

metallic on
reflect_metallic on
conserve_energy on
Use Fresnel reflection function if applicable (a surprisingly large 
number of situations).

I get best results with ambient 0 and radiosity. A high ambient robs the 
scene of contrast and depth, so the only times I use an ambient other 
than 0 is when I have a glowing object or have an object that just needs 
to show up (I sometimes use ambient 1 cylinders aligned along each axis 
for orientation). For test renders, I usually don't use radiosity, but I 
put a light_source at the position of the camera. This helps illuminate 
dark shadows but doesn't destroy the depth cues like ambient does.

Also, I always use "filter", never "transmit" for transparence. When I'm 
going for a realistic transparent material, I use a filter value of 1 
and use absorbing media or fade_color (using the "realistic attenuation" 
function) to tint the glass to the right color. This makes thick areas 
dark and very thin areas almost invisible, which is how things work in 
reality.
Dispersion can add a very nice touch, and photons can really add to your 
scene if you have reflective/refracting objects and something they can 
cast light on (mainly dull surfaces or media, anything you would notice 
light caustics on normally).

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Ron Parker
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 16:58:57
Message: <slrn95sb53.bnv.ron.parker@fwi.com>
On Thu, 11 Jan 2001 16:42:22 -0500, Chris Huff wrote:
>Also, I always use "filter", never "transmit" for transparence. When I'm 
>going for a realistic transparent material, I use a filter value of 1 
>and use absorbing media or fade_color (using the "realistic attenuation" 
>function) to tint the glass to the right color. This makes thick areas 
>dark and very thin areas almost invisible, which is how things work in 
>reality.

Transmit has a different purpose.  Transmit is supposed to be used for
things like gauze or nylon fabric or tracing paper or other things that 
are transparent because they have a bunch of tiny subpixel holes in them 
rather than because they are made of a semitransparent material.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Chris Huff
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 17:36:50
Message: <chrishuff-51A371.17383311012001@news.povray.org>
In article <slr### [at] fwicom>, ron### [at] povrayorg 
wrote:

> Transmit has a different purpose.  Transmit is supposed to be used for
> things like gauze or nylon fabric or tracing paper or other things that 
> are transparent because they have a bunch of tiny subpixel holes in them 
> rather than because they are made of a semitransparent material.

True...there are exceptions to that rule. None of them are completely 
rigid...but that would be a good addition to that rule, and I will keep 
it in mind from now on.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: David Fontaine
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 19:44:18
Message: <3A5E523E.7F1476DD@faricy.net>
Ron Parker wrote:

> Ambient is equivalent to "diffuse reflection from unknown light sources" and
> as such should probably also be included in the sum.  I always include it in
> the sum, at any rate.

That is what I find odd in the lighting model as there is also an
"ambient_light" global setting. Ambient background light is still diffusely
reflected light, versus an object's own ambience.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Francois Labreque
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 21:13:18
Message: <3A5E6795.2FCC0C2B@videotron.ca>
Tom Melly wrote:
> 
> "Francois Labreque" <fla### [at] videotronca> wrote in message
> news:3A5DCD94.E1942106@videotron.ca...
> >
> > I personally prefer setting ambient to 0 and let radiosity take care of
> > all this stuff.  But then again, I have the horsepower necessary for it,
> > so ymmv.
> >
> 
> I personally prefer it if people don't rub my nose in the fact that a P90 is
> not the ideal rendering platform - particularily if they're french ;)

Does it help my case if I told you that we share the same Queen?

-- 
Francois Labreque | Unfortunately, there's no such thing as a snooze
    flabreque     | button on a cat who wants breakfast.
        @         |      - Unattributed quote from rec.humor.funny
   videotron.ca


Post a reply to this message

From: Francois Labreque
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 21:16:02
Message: <3A5E6839.BC77AF67@videotron.ca>
Ron Parker wrote:
> 
> On Thu, 11 Jan 2001 10:06:23 -0500, Francois Labreque wrote:
> >
> >
> >Ron Parker wrote:
> >>
> >> If I were to propose a rule of thumb, I would say ambient and diffuse
> >> should be roughly the same number, and that ambient shouldn't be included
> >> in the requirement that filter+transmit+reflection+diffuse+specular <= 1.
> >
> >Even though, you hint on it in the next paragraph, you should point out
> >that this formula is only valid if you are not using radiosity.
> 
> From a purely theoretical standpoint, I fail to see why this should be
> the case for objects that don't emit their own light (other than the
> reflection/specular thing.)  Could you elaborate?

Sorry, I was refering to the diffuse=ambient part of your statement, not
the rest of the formula, which I agree with.

There.  Better?

-- 
Francois Labreque | Unfortunately, there's no such thing as a snooze
    flabreque     | button on a cat who wants breakfast.
        @         |      - Unattributed quote from rec.humor.funny
   videotron.ca


Post a reply to this message

From: Francois Labreque
Subject: Re: diffuse and ambient
Date: 11 Jan 2001 21:17:31
Message: <3A5E6892.FBEA5BB9@videotron.ca>
Tom Melly wrote:
> 
> 3. Don't use ambient, use radiosity. With media. And isosurfaces. On a 386.

In the snow.  Uphills.

-- 
Francois Labreque | Unfortunately, there's no such thing as a snooze
    flabreque     | button on a cat who wants breakfast.
        @         |      - Unattributed quote from rec.humor.funny
   videotron.ca


Post a reply to this message

From: Alan Kong
Subject: Re: diffuse and ambient
Date: 12 Jan 2001 01:38:20
Message: <dd9t5t02hhqm0l1c19b8onjad5mvvo4b9l@4ax.com>
On Thu, 11 Jan 2001 16:42:22 -0500 Chris Huff wrote:

>I get best results with ambient 0 and radiosity. A high ambient robs the 
>scene of contrast and depth, so the only times I use an ambient other 
>than 0 is when I have a glowing object or have an object that just needs 
>to show up (I sometimes use ambient 1 cylinders aligned along each axis 
>for orientation).

  Chris, do you use the ambient 0 setting with both MegaPOV and the
official POV-Ray?

-- 
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer


Post a reply to this message

From: Tom Melly
Subject: Re: diffuse and ambient
Date: 12 Jan 2001 04:28:50
Message: <3a5ece52$1@news.povray.org>
"Francois Labreque" <fla### [at] videotronca> wrote in message
news:3A5E6795.2FCC0C2B@videotron.ca...
>
> Does it help my case if I told you that we share the same Queen?
>

Going for the sympathy vote, eh?


Post a reply to this message

From: Chris Huff
Subject: Re: diffuse and ambient
Date: 12 Jan 2001 06:44:41
Message: <chrishuff-45252C.06462412012001@news.povray.org>
In article <dd9t5t02hhqm0l1c19b8onjad5mvvo4b9l@4ax.com>, Alan Kong 
<ako### [at] povrayNO-SPAMorg> wrote:

>   Chris, do you use the ambient 0 setting with both MegaPOV and the
> official POV-Ray?

Yes, when I use the official version (most of my renders are tests of my 
patches or require MP)...but I don't use the radiosity in the official 
version, just a dim (around rgb 0.2 or 0.3) light source at the camera 
position.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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