|
|
On 11/12/2010 20:53, clipka wrote:
> Maybe a good idea would be to test the volume in relation to the
> distance to the camera:
>
> if ((a*b*c) / pow(dist_to_camera,3) >= INFINITE_VOLUME) ...
I would stand by the code in the bounding box: when one dimension is big
enough, assume infinite (well, it's the opposite way: infinite object
set the bounding box to huge bound value in 3 dimensions...)
Or we can do like my national postal service: if the sum of the 3
dimensions is more than 1m, it's a non standard parcel... with added
price on the stamp.
Post a reply to this message
|
|