POV-Ray : Newsgroups : povray.text.scene-files : Camoflage material (pov 3.1) : Camoflage material (pov 3.1) Server Time
28 Jul 2024 18:12:12 EDT (-0400)
  Camoflage material (pov 3.1)  
From: Chuck Roberts
Date: 5 Oct 1999 11:12:22
Message: <37FA15BF.5D7577FE@accn.org>
Here is a neat camo texture I came up with. See what you think.
#declare _auto_name_no_1_ = 
   texture  // Black
   {   
      pigment
      {
         bumps
         pigment_map
         {
            [0.0 color rgb <0.0, 0.0, 0.0> ]
            [1.0 color rgbt <1.0, 1.0, 1.0, 1.0> ]
         }
      }   
      scale  0.3
   }
   texture  // Brown
   {   
      pigment
      {
         bozo
         pigment_map
         {
            [0.0   
               color rgb <0.392157, 0.313725, 0.07451>
            ]
            [1.0   
               color rgbt <1.0, 1.0, 1.0, 1.0>
            ]
         }
      }   
      scale  0.3
      translate    <0.3, 0.3, 0.3>
   }
   texture  // Tan
   {   
      pigment
      {
         bozo
         pigment_map
         {
            [0.0   
               color rgb <0.827451, 0.745098, 0.572549>
            ]
            [1.0   
               color rgbt <0.827451, 0.745098, 0.572549, 1.0>
            ]
         }
      }   
      scale  0.3
      rotate    <-0.2, -0.2, -0.2>
      translate    <0.1, 0.1, 0.1>
   }
   texture  // Green
   {   
      pigment
      {
         bumps
         pigment_map
         {
            [0.0   
               color rgb <0.0, 0.501961, 0.25098>
            ]
            [1.0   
               color rgbft <0.0, 0.501961, 0.25098, 0.520833, 1.0>
            ]
         }
      }   
      scale  0.3
      translate    <0.25, 0.25, 0.25>
   }

#declare T_Camo = 
   material  // T_Camo
   {   
      texture { _auto_name_no_1_ }
   }


Post a reply to this message

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