POV-Ray : Newsgroups : povray.general : Polygon outline Server Time
5 Aug 2024 06:14:04 EDT (-0400)
  Polygon outline (Message 1 to 4 of 4)  
From:
Subject: Polygon outline
Date: 8 Dec 2002 07:48:59
Message: <3df33fbb@news.povray.org>
Hi everybody,

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?

Best regards,

Alex

_______________________________


Ale### [at] gmxde
http://www.it99.org/axl
+49 (0) 1 75/ 410 72 68
ICQ# 36765668
_______________________________


Post a reply to this message

From: Warp
Subject: Re: Polygon outline
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

From: Florian Brucker
Subject: Re: Polygon outline
Date: 9 Dec 2002 09:02:04
Message: <3df4a25c@news.povray.org>
hey guys

i just wondered if this would be possible using the new f_triangle-function
in abx' popov (http://abx.art.pl/pov/popov/) ?

greetings,
florian


Post a reply to this message

From: Leroy Whetstone
Subject: Re: Polygon outline
Date: 12 Dec 2002 23:42:11
Message: <3DF97F3E.28B41DCF@joplin.com>
What I'd do since your using polygons.(or so I think) I'd use very thin prizms
the same shape as the polygons you've got with the centers cut out
and colored back.

--
Have Fun!


Post a reply to this message

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