POV-Ray : Newsgroups : povray.binaries.utilities : Checkers of textures : Re: Checkers of textures Server Time
29 Jun 2024 02:08:37 EDT (-0400)
  Re: Checkers of textures  
From: Ken
Date: 19 Feb 2000 03:02:14
Message: <38AE4DB7.DACC22A1@pacbell.net>
Eitan Tal wrote:
> 
> huh? that sphere he mentioned worked here.
> is there some difference between metals and woods? because as long as I can
> use
> texture....

You can use textures inside a texture statement like the one example
that Peter provided.

This IS OK - texture { checker texture{...} texture{....} }

You cannot use textures inside a pigments statement like the example
you provided.

This is NOT OK - pigment { checker texture{....} texture{....} }

 If you need to use different pigment patterns inside a pigment statement
you could do it like this this example illustrates -


#declare Pig1 = pigment{checker color rgb 0 color rgb 1}
#declare Pig2 = pigment{hexagon color red 1 color green 1 color blue 1}

box { -1,1
           pigment { checker
                     pigment { Pig1 scale .5 }
                     pigment { Pig2 rotate 90*x scale .5 }
                   }
    }

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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