POV-Ray : Newsgroups : povray.newusers : shapes and colors : Re: shapes and colors Server Time: 24 Jul 2008 09:18:51 GMT
  Re: shapes and colors  
From: Tim Attwood
Date: 3 Dec 2007 04:06:21
> The others have give you good advice. But, how about a simple way.
>
> box{-1,1 pigment{boxed color_map{[.1 Red][.1 Blue]}scale 1.01}}
>
>  or have I missed the boat?

Your example is red on the whole surface of the box.
Other sized boxes will have at most two sides that
have a blue field with red outline using that pigment.


Post a reply to this message

Copyright 1991-2004 POV-Team™