Testing if a point is inside an object

Is there a way to test if a point (in world space coordinates) is inside or outside of the objects in a scene. I think I know how to test this for convex polygons, but what about more complex (and useful) constructs?

Thanks,
MechaRoach

No very usefull way im afraid... this is one deliberate limitation of sufrace modellers (as opposed to solid modellers). A surfce modeleer realy doesent have in or out just surfeces.

it is howver possible to shoot a ray and test if its on the side of the normal or not to determine this.... offcourse thei doesent take intto account such thing as faulty geometry, non manifold surfaces etc.

Or the ray could calculate times passed inside the object if the result is uneven its inside.

none of theese are very practical tough!

some kinda a method where you progressively partion space, a bsp kinda thing? im just flailing about here really, hoping to stimulate some more ideas. we could all really do w a plug or quick proc that would do this! perhaps the ray implementatn could be jigged into practicality...

Bsp tree is a wonderfull thing if you do need 100 of theese ops it makes the intersection calcs faster but you still need to doa ray thingy! Altough to be honest the bsp tree can have pre calculated voxels (but then you would basicaly do this on creation time)!