POV-Ray : Newsgroups : povray.binaries.images : Added trace() to Clutter macro : Re: Added trace() to Clutter macro Server Time
18 Aug 2024 08:25:32 EDT (-0400)
  Re: Added trace() to Clutter macro  
From: David Fontaine
Date: 8 Jul 2001 22:56:56
Message: <3B491BAA.D960DBD0@faricy.net>
Bill DeWitt wrote:
> 
>     Well, thinking about it (and admitting that I have no skill at such
> things) it would seem that the radius of the object would normally be
> enough. If the object is unusually shaped it might be a problem, but for the
> most part, if you place an object on an irregular surface, the points where
> it touches are what determine the orientation, not the point under the
> center.

Hmm, actually then, rather than averaging normals, it would probably be
better to actually use the plane that goes through or best fits the
points around the edge.  With three points it's simple vcross
calculations, with six you could probably just use two interlaced sets
of three and average them.

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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