POV-Ray : Newsgroups : povray.newusers : texture_maps and patterns : texture_maps and patterns Server Time
30 Jul 2024 08:22:37 EDT (-0400)
  texture_maps and patterns  
From: Queex
Date: 4 Aug 2004 06:55:00
Message: <web.4110bfef1de0e849cf668310@news.povray.org>
#declare foo = function {
   pattern {
     checker
   }
}

.....

texture {
    foo       //replace built-in pattern with previous declaration
    texture_map {
      [0.3  pigment{Red} finish{phong 1}]
      [0.3  T_Wood11]    //this is a texture identifier
      [0.6  T_Wood11]
      [0.9  pigment{DMFWood4} finish{Shiny}]
    }
}

The above are taken from the documentation. Thanks in advance


Post a reply to this message

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