POV-Ray : Newsgroups : povray.text.scene-files : wall, ceiling, floor textures Server Time
25 Dec 2024 23:13:47 EST (-0500)
  wall, ceiling, floor textures (Message 1 to 1 of 1)  
From: Bob Hughes
Subject: wall, ceiling, floor textures
Date: 30 Apr 1999 04:56:01
Message: <372961C7.45AB520@aol.com>
Not a great work here, and rather old stuff, but may make for a starter point for some
people. I've long since nearly ceased entirely predefining textures and such, doing
individual new ones anymore. Bad habit.
The color definitions used aren't needed as is of course, pigments can be changed.

//BEGIN
//  MATERIAL
// by Bob Hughes v96.7
#declare Material_Inc_Temp = version
#version 2.0

// Paint
#declare Paint_E =
texture { pigment { rgb 1 }
        finish { ambient 0.2
                 diffuse 0.5
                 specular 0.35
                 roughness 0.09
                 }
        }

// Paint
#declare FlatPaint_E =
texture { pigment { rgb 1 }
        finish { ambient 0.1
                 diffuse 0.3
                 specular 0.4
                 roughness 0.2
                 }
        }

// Paint
#declare GlossPaint_E =
texture { pigment { rgb 1 }
        finish { ambient 0.35
                 diffuse 0.85
                 specular 0.45
                 roughness 0.025
                 }
        }

// Wall
#declare PlainWall_E =
texture { pigment { color red 0.95 green 0.90 blue 0.68 }
        finish { ambient 0.6
                 diffuse 0.15
                 specular 0.3
                 roughness 0.3
                 }
        }

// Wall
#declare StuccoWall_E =
texture { pigment { color red 0.95 green 0.90 blue 0.68 }
        finish { ambient 0.6
                 diffuse 0.15
                 specular 0.3
                 roughness 0.3
                 }
        normal { wrinkles 1 scale 2 }
        }

// Ceil
#declare PlainCeil_E =
texture { pigment { color red 0.97 green 0.93 blue 0.89 }
        finish { ambient 0.8
                 diffuse 0.25
                 specular 0.1
                 roughness 0.05
                 }
}

// Ceil
#declare StuccoCeil_E =
texture { pigment { color red 0.97 green 0.93 blue 0.89 }
        finish { ambient 0.4
                 diffuse 0.25
                 specular 0.1
                 roughness 0.1
                 }
        normal { wrinkles 1 scale 2 }
}

// Ceil
#declare AcoustCeil_E =
texture { pigment { color red 0.89 green 0.93 blue 0.97 }
        finish { ambient 0.8
                 diffuse 0.25
                 specular 0.1
                 roughness 0.05
                 }
        normal { dents 0.9 scale 0.4 }
        }

// Floor
#declare PlainFloor_E =
texture { pigment { color red 0.99 green 0.83 blue 0.70 }
        finish { ambient 0.2
                 diffuse 0.3
                 specular 0.2
                 roughness 0.3
                }
 }

// Floor
#declare CarpetFloor_E =
texture { pigment { color red 0.99 green 0.83 blue 0.70 }
        finish { ambient 0.2
                 diffuse 0.3
                 specular 0.2
                 roughness 0.3
                 crand 0.15
                }
        normal { wrinkles 0.2 scale 0.8 }
 }

// Floor
#declare RWTileFloor_E =
texture { tiles {
                texture {
pigment
 {marble
  turbulence 0.7
  color_map
   {[0.000, 0.155   color rgb <0.686, 0.235, 0.282>
                    color rgb <0.686, 0.235, 0.282>]
    [0.155, 0.328   color rgb <0.686, 0.235, 0.282>
                    color rgb <0.494, 0.243, 0.294>]
    [0.328, 0.474   color rgb <0.494, 0.243, 0.294>
                    color rgb <0.769, 0.329, 0.373>]
    [0.474, 0.647   color rgb <0.769, 0.329, 0.373>
                    color rgb <0.769, 0.329, 0.373>]
    [0.647, 0.810   color rgb <0.769, 0.329, 0.373>
                    color rgb <0.686, 0.235, 0.282>]
    [0.810, 0.922   color rgb <0.686, 0.235, 0.282>
                    color rgb <0.792, 0.388, 0.427>]
    [0.922, 1.001   color rgb <0.792, 0.388, 0.427>
                    color rgb <0.686, 0.235, 0.282>]
   }
 }
 finish {crand 0.03}
                 normal { wrinkles 0.1 scale 7 }}
                 tile2  texture {
 pigment
  {marble
   turbulence 1
   color_map
    {[0.0, 0.8  color red 0.9 green 0.9 blue 0.9
                color red 0.5 green 0.5 blue 0.5]
     [0.8, 1.01 color red 0.5 green 0.5 blue 0.5
                color red 0.2 green 0.2 blue 0.2]
    }}
   finish {diffuse 0.53 specular 0.2 roughness 0.06 phong 0.27 phong_size 80}

                 normal { wrinkles 0.1 scale 7 }}
                     }
 }

// Floor
#declare GBTileFloor_E =
texture { tiles {
                 texture {
pigment
 {marble
  turbulence 0.7
  color_map
   {[0.000, 0.168   color rgb <0.824, 0.725, 0.584>
                    color rgb <0.514, 0.584, 0.533>]
    [0.168, 0.301   color rgb <0.514, 0.584, 0.533>
                    color rgb <0.298, 0.376, 0.318>]
    [0.301, 0.398   color rgb <0.298, 0.376, 0.318>
                    color rgb <0.263, 0.337, 0.282>]
    [0.398, 0.558   color rgb <0.263, 0.337, 0.282>
                    color rgb <0.431, 0.506, 0.451>]
    [0.558, 0.655   color rgb <0.431, 0.506, 0.451>
                    color rgb <0.529, 0.631, 0.471>]
    [0.655, 0.735   color rgb <0.529, 0.631, 0.471>
                    color rgb <0.333, 0.376, 0.318>]
    [0.735, 0.823   color rgb <0.333, 0.376, 0.318>
                    color rgb <0.298, 0.376, 0.318>]
    [0.823, 0.876   color rgb <0.298, 0.376, 0.318>
                    color rgb <0.416, 0.376, 0.318>]
    [0.876, 0.929   color rgb <0.416, 0.376, 0.318>
                    color rgb <0.416, 0.376, 0.318>]
    [0.929, 1.001   color rgb <0.416, 0.376, 0.318>
                    color rgb <0.824, 0.725, 0.584>]
   }
 }
                  normal { wrinkles 0.1 scale 7 }}
                   tile2  texture {
pigment
 {bozo
  turbulence 1.1
  color_map
   {[0.00, 0.05   color rgbf <0.34, 0.32, 0.30, 0.1>
                  color rgbf <0.28, 0.30, 0.32, 0.1>]
    [0.05, 0.26   color rgbf <0.28, 0.26, 0.32, 0.1>
                  color rgbf <0.12, 0.15, 0.17, 0.1>]
    [0.26, 0.28   color rgbf <0.22, 0.25, 0.27, 0.1>
                  color rgbf <0.24, 0.28, 0.27, 0.1>]
    [0.28, 0.32   color rgbf <0.14, 0.18, 0.17, 0.2>
                  color rgbf <0.23, 0.22, 0.22, 0.2>]
    [0.32, 0.71   color rgbf <0.24, 0.28, 0.22, 0.2>
                  color rgbf <0.18, 0.16, 0.20, 0.2>]
    [0.71, 0.79   color rgbf <0.20, 0.18, 0.22, 0.1>
                  color rgbf <0.26, 0.28, 0.27, 0.1>]
    [0.79, 0.89   color rgbf <0.26, 0.28, 0.27, 0.1>
                  color rgbf <0.22, 0.25, 0.27, 0.1>]
    [0.89, 0.98   color rgbf <0.22, 0.21, 0.25, 0.1>
                  color rgbf <0.28, 0.32, 0.31, 0.2>]
    [0.98, 1.01   color rgbf <0.28, 0.29, 0.30, 0.2>
                  color rgbf <0.33, 0.32, 0.29, 0.2>]
   }
 }
        finish{ambient 0.15 diffuse 0.57 specular 0.72 roughness 0.003
          phong 0.2 phong_size 30 reflection 0.15}
                    normal { wrinkles 0.1 scale 7 }}
                     }
 }

#version Material_Inc_Temp
//END

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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