POV-Ray : Newsgroups : povray.binaries.images : Glaze texture : Glaze texture Server Time
14 Aug 2024 22:24:54 EDT (-0400)
  Glaze texture  
From: R  Suzuki
Date: 3 Sep 2002 06:27:43
Message: <3d748e9f@news.povray.org>
Here is an image created with a function pattern.
The source of the texture is following.  FN is a cyclic 
function in this case (0<=FN(x,y,z)<1). 

texture{ 
  pigment{ function {FN(x,y,z)+abs(f_noise3d(x*12,y*12,z*12)-0.5)*0.8}
      color_map{
         [0   color <0,0.3,0.5>*.35] [.25 color <1,1,1>*.4]
         [.5  color <1,0.8,0.6>*.6]   [.75 color <0.6,1,0.8>*.8]
         [1   color <0.5,0.3,0.7>*.75]
      }     
  }
  normal{ function {FN(x,y,z)}
      slope_map{
        [0,   <0,1>]  [0.5, <1,-1>]  [1,   <0,1>]
      }     
  }            
  finish{phong 0.60 phong_size 90}  
}

R. Suzuki


Post a reply to this message


Attachments:
Download '020901dftest6.jpg' (56 KB)

Preview of image '020901dftest6.jpg'
020901dftest6.jpg


 

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