POV-Ray : Newsgroups : povray.general : hints for line art : Re: hints for line art Server Time
19 Nov 2024 01:25:48 EST (-0500)
  Re: hints for line art  
From: Christopher James Huff
Date: 1 Jun 2002 20:01:36
Message: <pan.2002.06.01.19.03.19.457516.556@mac.com>
On Sat, 01 Jun 2002 04:25:04 -0500, htb wrote:

> i'm new here.  i have a quick question.  does anyone have any info on a
> way to render a pov-ray scene using line art?  i'd like to draw my
> scene's with hidden surface removal using only line art, no shading or
> filling.  another bonus would be to show hidden lines (edges) as dotted
> or dashed, but that's not absolutely necessary.  we'll start simple and
> work towards the whole package.

It sounds like you don't understand how POV-Ray works. POV-Ray is a
raytracer, so things like hidden surface removal, filling, and "lines"
don't apply. POV doesn't draw lines on the screen and then fill them in,
it follows paths of light through the scene, intersecting rays with
mathematical shapes.

However, MegaPOV has a patch that implements post-processing image
filters, and one of these is a "find_edges" filter that uses changes in
surface distance, normal, and color to detect edges. This can be used
with the posterize filter to produce a cartoon rendering effect, which
might be close to what you want. I think H.E. Day did a tutorial on
this...


-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/


Post a reply to this message

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