POV-Ray : Newsgroups : povray.newusers : shapes and colors : Re: shapes and colors Server Time
28 Jul 2024 18:25:17 EDT (-0400)
  Re: shapes and colors  
From: Leroy
Date: 2 Dec 2007 22:43:26
Message: <47537B18.6040906@joplin.com>
Thanu wrote:
> Is there a way to fill a shape with one color and give the shape's outer line a
> different color?
> 
> ex: I need to have a blue color box with its lines(which show the edges of the
> shape surfaces) in red color.
> 

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?


Post a reply to this message

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