POV-Ray : Newsgroups : povray.off-topic : Math question (inside box) : Re: Math question (inside box) Server Time
28 Jul 2024 16:20:39 EDT (-0400)
  Re: Math question (inside box)  
From: scott
Date: 5 Aug 2013 07:35:43
Message: <51ff8e0f$1@news.povray.org>
>> Thus, only testing "one" box, and only on that single plane.
>>
>> Then again, I screwed up the last idea so badly... lol
>
> And, speaking of which.. again, I forget that the "distance" won't work
> for objects wider, or taller, than the distance... Sigh...

Make your bounding box the value of "distance" bigger than the bounding 
box of the object's geometry. That way you are checking for people 
within "distance" from the *edge* of the object, not from the centre.


Post a reply to this message

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