POV-Ray : Newsgroups : povray.general : Looking for Water Server Time
3 Jul 2024 03:35:31 EDT (-0400)
  Looking for Water (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Looking for Water
Date: 16 Aug 2015 07:42:19
Message: <55d0771b$1@news.povray.org>
Sorry for the delay.

I almost always use the following material for (outside) water which 
renders reasonably fast and looks good. See my Not Islay scene in p.b.i.

   material {
     texture {
       pigment {rgbft <0,0,0,1,1>}
       finish {
         conserve_energy
         diffuse albedo 0.2
         specular albedo 0.2
         roughness 0.001
         ambient 0
         reflection {
           0.0, 0.2
           fresnel on
           metallic off
           #if (Uber)
             roughness 0.001
           #end
         }
       }
       normal {crackle 0.15 scale <0.45*4,0.25,0.25>*4 turbulence 0.5 }
       //normal {ripples 0.15 scale <0.45,0.25,0.25>*2 turbulence 0.5 }
     }
     interior {
       ior 1.33
       media {
         method 3
         absorption 0.3
         density {rgb 1/FD}
       }
       media {
         method 3
         samples 100
         jitter 0.5
         scattering {3, 0.05}
         density {
           granite
           color_map {
             [0.30 rgb <0.2, 0.2, 0.2>]
             [0.70 rgb <0.7, 0.7, 0.7>]
           }
           scale 1/2
           //warp {turbulence <6, 0.5, 2>}
           warp {turbulence <8, 2, 2>}
           scale 2
         }
       }
     }
   }


-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Looking for Water
Date: 16 Aug 2015 07:44:38
Message: <55d077a6@news.povray.org>
You need also this before using the material:

#declare Dist    = 10; 
//determines the depth transparency of the water column
#declare FD      = -(Dist/(6*25.4))/ln(0.58);	 
//fade distance (formula by Trevor Quayle)



-- 
Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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