POV-Ray : Newsgroups : povray.binaries.images : Problem with depth_thresh, Cartoon Tut! Server Time
2 Oct 2024 08:18:11 EDT (-0400)
  Problem with depth_thresh, Cartoon Tut! (Message 1 to 8 of 8)  
From: DEPerere
Subject: Problem with depth_thresh, Cartoon Tut!
Date: 25 May 2000 18:26:11
Message: <392DA9CB.ADC2C195@infomaniak.ch>
In he first image, depth_thresh of find_edges is set to 1:
find_edges {1,.03,1,1.33,1,rgb 1}
	    ^
and in the second, it is set to 10000 and so the big odd colored areas
are disapearing, but to the detriment of some edges.

See "Cartoon Tut!" in p.t.tutorials

DEPerere


Post a reply to this message


Attachments:
Download 'ionic5_pp_nga.jpg' (17 KB) Download 'ionic5_pp_ngb.jpg' (15 KB)

Preview of image 'ionic5_pp_nga.jpg'
ionic5_pp_nga.jpg

Preview of image 'ionic5_pp_ngb.jpg'
ionic5_pp_ngb.jpg


 

From: DEPerere
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 25 May 2000 18:30:14
Message: <392DAAAF.A5C9DC26@infomaniak.ch>

> 
> In he first image, depth_thresh of find_edges is set to 1:
> find_edges {1,.03,1,1.33,1,rgb 1}
>             ^
> and in the second, it is set to 10000 and so the big odd colored areas
> are disapearing, but to the detriment of some edges.
> 
> See "Cartoon Tut!" in p.t.tutorials
> 
> DEPerere
> 
>   

I forget to say that I did used "Ionic5", Persistence Of Vision
raytracer version 3.0 sample file.

DEPerere


Post a reply to this message

From: Bill DeWitt
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 25 May 2000 18:56:46
Message: <392dafae@news.povray.org>
Could you, as an example, post the non-cartoon version of this picture?


Post a reply to this message

From: Nathan Kopp
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 25 May 2000 21:33:11
Message: <392dd457@news.povray.org>
DEPerere <per### [at] infomaniakch> wrote...
> In he first image, depth_thresh of find_edges is set to 1:
> find_edges {1,.03,1,1.33,1,rgb 1}
>     ^
> and in the second, it is set to 10000 and so the big odd colored areas
> are disapearing, but to the detriment of some edges.

The optimal value of the depth threshold is very dependant on the size of
the scene geometry.  For example, in this scene, the geometry is rather
large.  Because of the size, two neighboring pixels that are on the same
surface may differ in depth by more than 1.0, causing an incorrect edge
detection.  This perticular scene contains rather large objects.  A depth
threshold of 6.0, for example, will detect the depth edges but not cause
those 'shadows'.

-Nathan


Post a reply to this message

From: DEPerere
Subject: Re: Problem with depth_thresh, [22k]
Date: 26 May 2000 18:19:24
Message: <392EF6AC.D3B4539@infomaniak.ch>

> 
> Could you, as an example, post the non-cartoon version of this picture?

This image is a bit different on the lower part, but more similar of the
original made by Mike Miller.

DEPerere


Post a reply to this message


Attachments:
Download 'ionic5.jpg' (22 KB)

Preview of image 'ionic5.jpg'
ionic5.jpg


 

From: DEPerere
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 26 May 2000 18:19:25
Message: <392EF99C.5BDDFA9A@infomaniak.ch>

 
> The optimal value of the depth threshold is very dependant on the size of
> the scene geometry.  For example, in this scene, the geometry is rather
> large.  Because of the size, two neighboring pixels that are on the same
> surface may differ in depth by more than 1.0, causing an incorrect edge
> detection.  This perticular scene contains rather large objects.  A depth
> threshold of 6.0, for example, will detect the depth edges but not cause
> those 'shadows'.
> 
> -Nathan

Thanx for the explanation. 2.5 is a quite good value here. There's still
same little pieces of edges missing, but without shadows.

If I'm changing the scales of the objects, do I've to change the
depth_thresh too?

DEPerere


Post a reply to this message

From: Nathan Kopp
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 27 May 2000 13:08:52
Message: <39300124$1@news.povray.org>
DEPerere <per### [at] infomaniakch> wrote...
> 
> Thanx for the explanation. 2.5 is a quite good value here. There's still
> same little pieces of edges missing, but without shadows.
> 
> If I'm changing the scales of the objects, do I've to change the
> depth_thresh too?

Yes.

-Nathan


Post a reply to this message

From: Lewis
Subject: Re: Problem with depth_thresh, Cartoon Tut!
Date: 27 May 2000 16:16:47
Message: <39303AC5.2E62DBF0@netvision.net.il>
I would love to see an animation of this

DEPerere wrote:
> 
> In he first image, depth_thresh of find_edges is set to 1:
> find_edges {1,.03,1,1.33,1,rgb 1}
>             ^
> and in the second, it is set to 10000 and so the big odd colored areas
> are disapearing, but to the detriment of some edges.
> 
> See "Cartoon Tut!" in p.t.tutorials
> 
> DEPerere
> 
>   ------------------------------------------------------------------------
>  [Image]  [Image]


Post a reply to this message

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