POV-Ray : Newsgroups : povray.newusers : Ack! Highlights on water. : Re: Ack! Highlights on water. Server Time
31 Jul 2024 02:19:51 EDT (-0400)
  Re: Ack! Highlights on water.  
From: Christopher James Huff
Date: 4 Mar 2003 22:21:35
Message: <cjameshuff-43C5E5.22213604032003@netplex.aussie.org>
In article <3e656a2f@news.povray.org>, Tyler Eaves <tyl### [at] cg1org> 
wrote:

> The problem is readily apparent in the render, namely the blue and white 
> specks on the water surface. These do NOT occur with a black sky, but I 
> can't for the life of me figure out what's causing it. 

You are using fresnel reflection (as you should for water), which peaks 
when just grazing the surface. The white specks are simply reflections 
of the horizon. My suggestion is to dump the fog and use something more 
realistic. A finite sky helps, in reality the sky and ground are roughly 
spherical.
Also, use rgbf < 1, 1, 1, 1> for the water pigment, and color it with 
absorbing media or interior attenuation. This is much more 
realistic...water is colored by its volume, not by its surface. Doing 
this will let its color be affected by the depth of the water.

Oh, and work on your indentation scheme, it's kind of...random. 
Consistent indentation greatly improves readability, look at the code on 
these groups for examples of common indentation styles.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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