CompuServe Messages

#Inside/Out

    10-Apr-95 21:33:08
Sb: #163329-#Inside/Out
Fm: Larry Minton 74010,3076
To: David J. Marks 72172,1036
As Danny says, I would start out by testing against the object's bounding box. If inside, I would then "draw" a theoretical ray from the point. Going along that ray, count how many times that the ray passes through an object face. If the number is even, you are outside the object. If even, you are inside. For simplifying the testing of whether the ray passes through a face, I would make the ray follow one of the axes. Should be rather simple <wg>. LAM ps: <wg> = wicked grin