POV-Ray : Newsgroups : povray.binaries.images : Bathtub - take 2 : Re: Bathtub - take 2 Server Time
1 Aug 2024 12:23:13 EDT (-0400)
  Re: Bathtub - take 2  
From: Trevor G Quayle
Date: 20 Dec 2008 22:10:00
Message: <web.494db29e6655db18c67b294d0@news.povray.org>
one more correction, replace PX in the previous with:

#declare PX=pigment{  //Tile pattern x plane
      gradient x
      pigment_map{
        [  DimU/2 GrtCol]
        [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 GrtCol]
      }
      scale <TilSiz.u/BSiz.z/4,TilSiz.v/BSiz.y/3>
}


Post a reply to this message

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