POV-Ray : Newsgroups : povray.newusers : intersection makes grainy picture : Re: intersection makes grainy picture Server Time
31 Jul 2024 06:26:15 EDT (-0400)
  Re: intersection makes grainy picture  
From: Erwin Kalvelagen
Date: 27 Nov 2002 14:58:27
Message: <3de523e3@news.povray.org>
Thanks a lot for the help!
--
-----------------------------------------------------------------------------
Erwin Kalvelagen
GAMS Development Corp., http://www.gams.com
erw### [at] gamscom, http://www.gams.com/~erwin
-----------------------------------------------------------------------------


"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
> In article <3DE3BF44.19C72988@gmx.de>,
>  Christoph Hormann <chr### [at] gmxde> wrote:
>
> > That's because one of your inside vectors is badly chosen, try using:
> >
> > inside_vector  <0.5, 0.51, 0.5>
> >
> > for the last mesh.
>
> To be more specific, the mesh insideness algorithm counts the
> intersections with a ray from the point being tested in the direction
> given to inside_vector. If there are an odd number of intersections, the
> point is considered inside the mesh. If that direction is parallel to a
> surface, precision errors will give false intersections and the count
> will be off, making it impossible to decide if the point is inside or
> not. It is the same type of problem as coincident surfaces, you can also
> see it if in some conditions if you have a light source that shines just
> parallel to a surface.
> A good inside_vector will not be parallel to any triangle in the mesh.
>
> --
> Christopher James Huff <cja### [at] earthlinknet>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: chr### [at] tagpovrayorg
> http://tag.povray.org/


Post a reply to this message

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