POV-Ray : Newsgroups : povray.general : textures.inc : textures.inc Server Time
30 Jul 2024 02:25:51 EDT (-0400)
  textures.inc  
From: Sabrina Kilian
Date: 17 Jan 2010 02:26:03
Message: <4b52bb8b@news.povray.org>
Looking at the PinkAlabaster stone texture in said file, am I mistaken
or is the second texture layer not even attached? It seems to be the
case in both the 3.6 and 3.7 packages. I figure the fact that the file
is from the 3.5 era may have something to do with it. See below for
modified version as a material.






#declare PinkAlabaster =
material {
  // Underlying surface is very subtly mottled with bozo
  texture {
      pigment {
          bozo
          turbulence 0.25
          color_map {
              [0 rgb <0.9, 0.75, 0.75>]
              [1 rgb <0.6, 0.6,  0.6 >]
          }
      scale 0.4
      }
      finish{ ambient 0.25 }
  }

  // Second layer texture has some transmit values, yet a fair amount of
color
  // Viening is kept quite thin in color map and by the largish scale.
  texture {
      pigment {
          granite
          color_map {
              [0.0 rgbt <0.52, 0.39, 0.39, 1.0>]
              [0.9 rgbt <0.52, 0.39, 0.39, 0.5>]
              [0.9 rgbt <0.42, 0.14, 0.55, 0.0>]
          }
      scale 2
      }
      finish {
          specular 1
          roughness 0.0001
          phong 0.25
          phong_size 75
          brilliance 4
      }
  }
}


Post a reply to this message

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