POV-Ray : Newsgroups : povray.general : Polygon outline : Re: Polygon outline Server Time
5 Aug 2024 04:18:32 EDT (-0400)
  Re: Polygon outline  
From: Warp
Date: 8 Dec 2002 08:59:05
Message: <3df35029@news.povray.org>

> in my POV-Ray project I have a lot of polygons to draw. They all look
> similar (color) so I wanted to paint a black outline around every polygon to
> visually separate them. Unfortunately I found nothing about that in the
> documentation (I thought it would be possible to add something to the
> texture definition). Is there a way to do this in POV-Ray?

  A raytracer can't draw lines. (Doing so is a completely different
algorithm, a very basic scanline rendering one.)

  You could put thin cylinders at each edge of the polygon.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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