POV-Ray : Newsgroups : povray.general : Problem using inside() with prism : Re: Problem using inside() with prism Server Time
2 Aug 2024 00:13:11 EDT (-0400)
  Re: Problem using inside() with prism  
From: Slime
Date: 19 Feb 2005 13:38:06
Message: <4217878e$1@news.povray.org>
> There seems to be a bug when testing inside() with some prisms and a point
> on the bisector of an angle

The prism insidedness test probably uses a trick that looks at how many
edges are to the left or right of the point being tested, and checks if that
number is odd. If there's a vertex of the prism along that line, then it
might not work right. So try translating the prism a tiny bit along the z
axis.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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