POV-Ray : Newsgroups : povray.newusers : Outline of a bicubic patch? : Re: Outline of a bicubic patch? Server Time
31 Jul 2024 06:14:58 EDT (-0400)
  Re: Outline of a bicubic patch?  
From: Christopher James Huff
Date: 8 Dec 2002 15:19:08
Message: <chrishuff-FE492A.15160708122002@netplex.aussie.org>
In article <3df2c57b@news.povray.org>,
 "The \"D\"" <dav### [at] gmxnet> wrote:

> Hmmm.... if I can't get away with a solid object I might try something like
> that. But this method and the one below seem a bit more work than I want to
> put in to what I'm doing at the moment. Though this particular one doesn't
> seem to too bad. And if I want a coloured outline could I render the object
> with color x and ambient 1 and do the same thing?

If you want a different color with this method, your best bet is to just 
modify the final outline image. Once you have a solid black outline, 
modifying to be a different color should be easy.


> Threshold command? Is this in povray or in some image editor? And would I
> blur in povray or my image editor ?

It's a common filter in image editors. You'd do the blurring in an 
editor as well. The idea is that you start out with an image that is 
white where the object is and black everywhere else, then blur it to get 
"in-between" areas at the boundaries. Then you replace the black with 
white (or the other way around), and use a threshold filter to make the 
edge area solid.

You could do it in POV, but it takes more work. If you give us some more 
information on what you are trying to do, we might be able to suggest a 
better way.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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