|
![](/i/fill.gif) |
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] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
![](/i/fill.gif) |