![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3Cweb.45d0305983633262d8ef73430%40news.povray.org%3E/toon-shader.jpg?ttop=443866&toff=4000&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Alain <ele### [at] netscape net> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"JSR" <jsr### [at] gmail com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
JSR nous apporta ses lumieres en ce 13-02-2007 05:33:
> Alain <ele### [at] netscape net> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |