POV-Ray : Newsgroups : povray.binaries.images : Antialias problem with PP_Find_Edges (Toon-shader) Server Time
14 Nov 2024 04:29:02 EST (-0500)
  Antialias problem with PP_Find_Edges (Toon-shader) (Message 1 to 6 of 6)  
From: JSR
Subject: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 12 Feb 2007 04:20:01
Message: <web.45d0305983633262d8ef73430@news.povray.org>
Hi,
I try to achieve a non-photorealistic render like it can be done with Toon
Shaders, the problem is the aliased result obtained with the function:
PP_Find_Edges. I can't adjust the paramenters in order to improve the
result.
There is a way to get better results?

Regards,

Joel.


Post a reply to this message


Attachments:
Download 'toon-shader.jpg' (221 KB)

Preview of image 'toon-shader.jpg'
toon-shader.jpg


 

From: Thibaut Jonckheere
Subject: Re: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 12 Feb 2007 06:17:54
Message: <45d04ce2$1@news.povray.org>

> Hi,
> I try to achieve a non-photorealistic render like it can be done with Toon
> Shaders, the problem is the aliased result obtained with the function:
> PP_Find_Edges. I can't adjust the paramenters in order to improve the
> result.
> There is a way to get better results?
> 

I had the same problem when I tried PP_Find_Edges. I think the only real 
solution is to render a (much) larger image, and then to scale it down. 
But as find_edges is rather slow, I found this rather unpractical.

A recent thread on various methods one can use to get edges is there:
http://news.povray.org/povray.general/thread/%3C448ebdc1%40news.povray.org%3E/?mtop=9

For the kind of picture you're interested in, using a "edge find" filter 
of a graphical program (The Gimp, Corel Photopaint, etc...) could also 
be a very efficient method (see 
http://www.lightning-generator.org/newsgroup.php?id=84&group=povray.images&first=1&last=25#84

if you understand French)

Thibaut


Post a reply to this message

From: Alain
Subject: Re: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 12 Feb 2007 19:16:13
Message: <45d1034d$1@news.povray.org>
JSR nous apporta ses lumieres en ce 12-02-2007 04:16:
> Hi,
> I try to achieve a non-photorealistic render like it can be done with Toon
> Shaders, the problem is the aliased result obtained with the function:
> PP_Find_Edges. I can't adjust the paramenters in order to improve the
> result.
> There is a way to get better results?
> 
> Regards,
> 
> Joel.
> 
> 
> ------------------------------------------------------------------------
> 
You may try using a dark gray, like rgb 0.1 or rgb 0.05, instead of black (rgb 
0). You may try using a smaller value for Sharpness.
Lowering the aa treshold and increasing the level to 4 or 5 could help.
Using +am2 can help in some case.

-- 
Alain
-------------------------------------------------
Don't kiss an elephant on the lips today.


Post a reply to this message

From: JSR
Subject: Re: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 13 Feb 2007 05:35:01
Message: <web.45d193ed4eccc44ad8ef73430@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> You may try using a dark gray, like rgb 0.1 or rgb 0.05, instead of black (rgb
> 0). You may try using a smaller value for Sharpness.
> Lowering the aa treshold and increasing the level to 4 or 5 could help.
> Using +am2 can help in some case.

The result is better, but render time is very high...
Thanks for suggestions.

Joel.


Post a reply to this message

From: EagleSun
Subject: Re: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 13 Feb 2007 09:05:01
Message: <web.45d1c4d84eccc44a87ea6da70@news.povray.org>
"JSR" <jsr### [at] gmailcom> wrote:
> Hi,
> I try to achieve a non-photorealistic render like it can be done with Toon
> Shaders, the problem is the aliased result obtained with the function:
> PP_Find_Edges. I can't adjust the paramenters in order to improve the
> result.
> There is a way to get better results?
>
> Regards,
>
> Joel.

Try +am2 in the command line, that is an anti-alias option 2 function, and
it might get you better results with the lines.... for a rendering cost.


Post a reply to this message

From: Alain
Subject: Re: Antialias problem with PP_Find_Edges (Toon-shader)
Date: 13 Feb 2007 20:23:03
Message: <45d26477$1@news.povray.org>
JSR nous apporta ses lumieres en ce 13-02-2007 05:33:
> Alain <ele### [at] netscapenet> wrote:
>> You may try using a dark gray, like rgb 0.1 or rgb 0.05, instead of black (rgb
>> 0). You may try using a smaller value for Sharpness.
>> Lowering the aa treshold and increasing the level to 4 or 5 could help.
>> Using +am2 can help in some case.

> The result is better, but render time is very high...
> Thanks for suggestions.

> Joel.

Increasing the sampling depth will obviously increase the render time. Lowering 
the aa treshold will do the same by forcing supersampling more often.
+am2 enable adaptive supersampling, potentialy saving some time some of the 
time: you may not always reatch the full depth and usualy don't sample every 
potential sub-pixels.

-- 
Alain
-------------------------------------------------
A short cut is the longest distance between two points.


Post a reply to this message

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