POV-Ray : Newsgroups : povray.windows : some problems about finish Server Time: 17 Jan 2019 03:08:07 GMT
  some problems about finish (Message 1 to 2 of 2)  
From: CAS
Subject: some problems about finish
Date: 27 Feb 2014 06:45:01
Message: <web.530ede532d562d916a92a3a00@news.povray.org>
I want to ask how should I set the value of ambient and diffuse ?
"pigment {color rgb spectral}" I only used the reflection of object . I do not
need to consider the ambient and diffuse ,but I want to ask whether  need I to
set the parameters of ambient and diffuse ?If need, "#default{ finish{ ambient
0.1 diffuse 0.9 }}"is OK?


Post a reply to this message

From: Alain
Subject: Re: some problems about finish
Date: 1 Mar 2014 00:54:34
Message: <53112fca@news.povray.org>
Le 14-02-27 01:42, CAS a écrit :
> I want to ask how should I set the value of ambient and diffuse ?
> "pigment {color rgb spectral}" I only used the reflection of object . I do not
> need to consider the ambient and diffuse ,but I want to ask whether  need I to
> set the parameters of ambient and diffuse ?If need, "#default{ finish{ ambient
> 0.1 diffuse 0.9 }}"is OK?
>
>
>

For a purely refflective surface, ambient and diffuse are usualy set to 
zero. Most also set the diffuse and ambient lower for transparent textures.
A good starting diffuse value for a reflective object may be set as 
(when starting from the default diffuse and ambient values):
0.7*(1-reflection).
For ambient, you can try 0.1*(1-reflection).

A diffuse value of 0.9 is OK only for the brightest, extremely high 
albedo, objects. Normaly, the default of 0.7 is very good.




Alain


Post a reply to this message

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