POV-Ray : Newsgroups : povray.newusers : Ambient Settings? : Re: Ambient Settings? Server Time
5 Sep 2024 18:22:29 EDT (-0400)
  Re: Ambient Settings?  
From: Leroy Whetstone
Date: 3 Feb 2000 00:16:09
Message: <38992A17.EF0E2C25@janics.com>
<HTML>
What I am trying to do is use 'ambient' to make an object's shadow stand
out.
<BR> If you set up the pigment of an object then find that a shadow
isn't right.
<BR>So you add 'ambient' to the finish to get the shadow right then the
pigment is to bright.
<BR>To get the new pigment(in shadow) the way ya want and the new pigment
(out of shadow) to match the old pigment (out of shadow) you need a formula.
I used the program above to try and find one.
<BR>When I got the ruff data in I found that the it was not simple to add
or subtract a number from the pigment.
<BR>I have come up with a formula:
<BR> #declare AV=AmbientValue;
<BR> #declare PA= -.422*pow(AV,3)+1.305*pow(AV,2)-1.62*AV+1.17
<BR>Now if I have a pigment I want to adjust the shadow all I have to do
is mutiply by PA and change the Ambient value.
<BR>I haven't try this 'filter' and 'transmit' and it problily won't with
'defuse'
<BR>Thanks for the formula it'll help in exploring these showdows.
<BR> </HTML>


Post a reply to this message

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