POV-Ray : Newsgroups : povray.general : "question" about textures... : Re: "question" about textures... Server Time
6 Aug 2024 19:25:25 EDT (-0400)
  Re: "question" about textures...  
From: Tom Melly
Date: 29 Jan 2002 04:55:59
Message: <3c5671af$1@news.povray.org>
"gemelli david" <d.g### [at] xlstudiocom> wrote in message
news:3C5### [at] xlstudiocom...

<snip>

Nothing to stop you putting it in a macro, but you shouldn't need to. The
following code works....

#local Count = 0;
#declare Tex1 =
texture{
  pigment{
    bozo scale 0.1
    pigment_map{
      #while(Count < 10)
        [Count/10 rgb Count/10]
        #local Count = Count + 1;
      #end
    }
  }
}


Post a reply to this message

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