|
|
Leroy nous apporta ses lumieres en ce 2007/12/02 22:42:
> 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?
>
It will only work for an almost square superellipsoid, and the lines will be
rounded.
In the case of a box, all faces are at the same distance from the reference
planes, and the boxed pattern behave the same. The result: all the faces receive
a constant plain colour.
--
Alain
-------------------------------------------------
You know you've been raytracing too long when you have ever said "I don't need
no steenking modellers!!!"
Stephan Ahonen
Post a reply to this message
|
|