Although it's not Maya specific, this group is good for getting theoretical guidance for things like this: http://groups.google.com/group/comp.graphics.algorithms/topics
(Although I see they have a bunch of spam posted there now :( ) On Apr 2, 2009 7:31am, Thom Wickes <[email protected]> wrote: > Ok, I need to find a way of distinguishing whether points sit inside > or outside a mesh - I have an idea how to do it with convex meshes, > but not with non-convex. > so in this photo > 3278/3406312071_8ca8aa4df8_o.jpg" > target="_blank">http://farm4.static.flickr.com/ > 3278/3406312071_8ca8aa4df8_o.jpg"> > I want to select the locators that don't penetrate the mesh surface, > so all the ones outside and inside the cup, but not the ones under the > surface. > I have a feeling this involves some ray casting style stuff and I had > a look at the MFnMesh class, but I don't really know any method of > doing this, let alone how to implament it. > Any help/suggestions would be greatly appreciated. > Thanks > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
