|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Folks:
Help!
Why is the color of the sphere lighter under water than it is
above water? Is there any way that I can fix this?
Aaron
Aaron Gillies
New York City
x3rxes[^]yahoo.com
Post a reply to this message
Attachments:
Download 'water.JPG' (11 KB)
Preview of image 'water.JPG'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Source perhaps?
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Slime" <slm### [at] slimelandcom> wrote in message news:3d8cb23e$1@news.povray.org...
> Source perhaps?
It's nothing exotic ... just basic stuff:
camera {
location <0, 0, -30>
look_at <0, 0, 0>
rotate <5, 0, 0>
}
light_source {
<-10000, 10000, -10000>
rgb 2
}
// Sky
background {
color rgb <.25, .5, 1>
}
// Water
plane {
y, 0
texture {
pigment { color rgb 1 filter 1 }
finish { reflection { 0, 1 } }
normal { bozo 2 }
}
}
// Ocean Floor
plane {
y, -1000
texture { pigment { color rgb .25 } }
}
// Sphere
sphere {
0, 10
texture { pigment { color rgb .5 } }
}
Aaron
Aaron Gillies
New York City
x3rxes[*]yahoo.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Aaron Gillies wrote:
>
> Why is the color of the sphere lighter under water than it is
> above water? Is there any way that I can fix this?
>
Adding 'conserve_energy' to your water finish probably helps.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Erm, yes ...
That pretty much fixed it. :)
Thanks.
Aaron
Aaron Gillies
New York City
x3rxes[*]yahoo.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Adding 'conserve_energy' to your water finish probably helps.
Mathematically, what does this keyword do?
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Slime wrote:
>
> > Adding 'conserve_energy' to your water finish probably helps.
>
> Mathematically, what does this keyword do?
>
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> See Docs: '6.7.3.5 Conserve Energy for Reflection'
It says...
"When conserve_energy is enabled, POV-Ray will multiply the amount filtered
and transmitted by what is left over from reflection (for example, if
reflection is 80%, filter/transmit will be multiplied by 20%)."
So what does it mean when "reflection is 80%"? When does that occur? Is it
talking about "when variable reflection causes only 80% of the maximum
reflection to occur", or "when you use reflection .8", or "when the color of
the light reflected is <.8,.8,.8>?" Or what?
AFAIK, reflection can't be measured in percentages; it's merely the color of
the light coming from the reflected direction multiplied by some value, and
added onto the color of the object at that point. The color of the incoming
light could be any value from negative to positive infinity. I see no way to
represent that as a percentage.
So, basically, here's how I believe reflection and transmittance is normally
calculated:
color_of_object_at_point_a =
color_caused_by_pigment_of_object_and_light_sources_at_point_a
+
incoming_light_at_reflected_angle * reflection_amount_at_point_a
+
incoming_transmitted_light * transmission_amount_at_point_a
Am I right or wrong? If I'm right, how is this equation modified to take
conserve_energy into account?
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |