POV-Ray : Newsgroups : povray.binaries.images : Problem with depth_thresh, Cartoon Tut! : Re: Problem with depth_thresh, Cartoon Tut! Server Time
2 Oct 2024 06:27:29 EDT (-0400)
  Re: Problem with depth_thresh, Cartoon Tut!  
From: Nathan Kopp
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

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