POV-Ray : Newsgroups : povray.advanced-users : Test against all objects? : Re: Test against all objects? Server Time
29 Jul 2024 14:22:28 EDT (-0400)
  Re: Test against all objects?  
From: Leroy Whetstone
Date: 29 Jan 2002 00:49:47
Message: <3C565371.23B349BB@joplin.com>
I just have to throw my two cent in, with every one so far saying 'no way!'
If you had every object in the scene minimum and maximum points in an array
(using 'min_extent' and 'max_extent' in POV3.5beta) Then a quick search through
the array would do the trick. This would tell ya easily if an object is in a
'zone' of another. Being that 'min_extent' and 'max_extent give a square around
an object you could then use 'trace' to make sure they hit.
 I know this is no solution if the scene contains thousands of objects but
should work for smaller secnes.

--
Have Fun!


Post a reply to this message

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