POV-Ray : Newsgroups : povray.unofficial.patches : pigment_pattern : Re: pigment_pattern Server Time
2 Sep 2024 04:12:42 EDT (-0400)
  Re: pigment_pattern  
From: Nathan Kopp
Date: 23 May 2000 16:40:47
Message: <392aeccf@news.povray.org>
Mike Wilson <maw### [at] iastateedu> wrote...
> I'm still confused.  If this example doesn't work, what needs to be done
to
> make it right?  Is this just a mistake in the docs?  I'd really appreciate
a
> working example.

Yes, the docs are incorrect.  Below is what it should look like.  Also, a
working example is available in the demos zip file.

-Nathan

box{
   <-1, -1, -1>,
   <1, 1, 1>
   scale <10.0, 10.0, 0.1>
   texture
      pigment
      {
         pigment_pattern
         {
            checker White,Black
            scale 2
            turbulence .15
         }
         pigment_map{
           [0, checker Red,Green scale .5]
           [1, checker Blue,Yellow scale .2]
         }
      }
   }
}


Post a reply to this message

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