POV-Ray : Newsgroups : povray.binaries.images : Another post_process: find_edges - find_edges.jpg (1/1) Server Time
2 Oct 2024 16:26:33 EDT (-0400)
  Another post_process: find_edges - find_edges.jpg (1/1) (Message 11 to 20 of 44)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: ddombrow
Subject: Re: find_edges take two - find_edges2.jpg (1/1)
Date: 26 Apr 2000 00:11:12
Message: <39066c60$1@news.povray.org>
wondering how it would look anti-aliased.

--
Dan D.

"Through the Eye of a Needle"
http://fbox.vt.edu/D/ddombrow/


Post a reply to this message

From:
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 05:30:47
Message: <3906b747@news.povray.org>
Chris Huff wrote:
>This one was inspired by the "cartoon" post process, although it doesn't
>share any of that code.(Thanks to TonyB for getting me started on this!)
>It finds the edges using two methods: finding sharp differences in
>surface normal, and finding sharp differences in depth. It takes 3
>parameters: a threshold for each of the edge finding algorithms, and a
>line color. This is an example of the output of the filter:

I think this is a very good idea. Could you antialias the lines (or are they
antialiased already)?
Also it'd be great if the edges weren't always black but could take the
color from the quickcolor of the objects.

Jide


Post a reply to this message

From: Warp
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 05:49:11
Message: <3906bb97@news.povray.org>
You should figure out how to make the lines antialiased.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Chris Huff
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 08:52:50
Message: <chrishuff_99-8498E3.07555026042000@news.povray.org>

<juh### [at] kolumbusfi> wrote:

> I think this is a very good idea. Could you antialias the lines (or 
> are they antialiased already)?

I don't know...I can try to smooth them out.


> Also it'd be great if the edges weren't always black but could take the
> color from the quickcolor of the objects.

The edges can be any color you want. It is currently impossible to make 
per-object filters, that portion of the code is not finished.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Chris Huff
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 08:56:17
Message: <chrishuff_99-DE54E5.07591626042000@news.povray.org>
In article <3906bb97@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   You should figure out how to make the lines antialiased.

It might be possible to fake that...I could make it so the transmit and 
filter values in the line color let the original image show through, so 
the lines are like an overlay. Then you could apply two find_edges 
filters, one with the thresholds adjusted for heavier lines and with a 
partly transparent color, and another one with finer lines and an opaque 
color.
It might also be possible to smooth out the lines by checking to see how 
close a point is to the threshold values.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Bill DeWitt
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 10:04:31
Message: <3906f76f$1@news.povray.org>
"Bob Hughes" <per### [at] aolcom?subject=PoV-News:> wrote in message
news:390651e8@news.povray.org...
> There's something so perverse about such a thing as this,
> none the less I suppose you're going to intrigue many people who've
> been looking to ray trace cartoons.  sigh
>

    Why the sigh?

    The thing about raytracing cartoons (for those who have never see
Animaniacs) is that since realism with human figures just isn't here ("here"
being the free raytracing crowd), and raytraced non-realistic figures don't
usually look right, raytraced comics fills the gap. For some reason when the
viewer sees the black line around the figure, all sorts of oddities can be
easily accepted. Forgiveness just blossoms...

    So having done that (gained artistic forgiveness), one can make animated
figures that can be reused and reposed and developed into real animations in
3d environments with real stories...


Post a reply to this message

From: Bill DeWitt
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 10:08:49
Message: <3906f871@news.povray.org>
"Chris Huff" <chr### [at] yahoocom> wrote in message
news:chrishuff_99-26AA29.20413825042000@news.povray.org...
> This one was inspired by the "cartoon" post process,

    Just to make sure I understand, this is the MegaPov "postprocess"
command in the raytracer, right? Not a filter for Photoshop or what ever...?


Post a reply to this message

From: Chris Huff
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 10:32:53
Message: <chrishuff_99-37EF1B.09355226042000@news.povray.org>
In article <3906f871@news.povray.org>, "Bill DeWitt" 
<the### [at] earthlinknet> wrote:

>     Just to make sure I understand, this is the MegaPov "postprocess"
> command in the raytracer, right? Not a filter for Photoshop or what 
> ever...?

Right. It is a post_process filter, like the new focal blur.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: TonyB
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 10:56:49
Message: <390703b1@news.povray.org>
>Could you be more specific about the parts that need work?
>The one thing I see is the poor control of line thickness, I have a
>couple ideas for counteracting that, but I haven't tried any of them yet.

I was reffering to that, and to the lack of lines between the spheres at the
points they touch.


Post a reply to this message

From: Chris Huff
Subject: Re: Another post_process: find_edges - find_edges.jpg (1/1)
Date: 26 Apr 2000 11:03:45
Message: <chrishuff_99-E379A4.10064426042000@news.povray.org>
In article <390703b1@news.povray.org>, "TonyB" 
<ben### [at] panamac-comnet> wrote:

> I was reffering to that, and to the lack of lines between the spheres 
> at the points they touch.

That is partly fixed by the addition of color edge detection. 
Fortunately, the three methods of edge detection tend to complement each 
other: one is often strongest in the exact areas where the others are 
weakest.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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