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
_______________________________
> 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 -
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!