POV-Ray : Newsgroups : povray.general : "question" about textures... : Re: "question" about textures... Server Time
19 Nov 2024 18:08:26 EST (-0500)
  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.