Thanks for the reply. I'll look into it.  I've re-thought how I'll be
creating the impact and all I'll require is a circular area where the point
of impact is the eppicentre.
This should make selecting all nearby faces easier as you simply have a
radial distance to check against.

The only problem i thought about was that should the ground geomerty be
quite sparse; detailed through textures, then id have to find a way to
'virtually cut' a section of the geometry and duplicate it using softbodies.
But first, increase the resolution of subDivisions to allow a dense
field/grid of SB particles.
That way, only the affected geometry area of impact is deformed, reducing
the amount of system number crunching, and by duplicating the selected area,
keep the original shape until impact.

On Wed, Feb 25, 2009 at 3:37 AM, ugly bob <pricee...@googlemail.com> wrote:

>
> russ from what i understand you want to select faces of the mesh
> related to an 'impact point', and then do your create / delete etc. so
> the first step would be to isolate these faces by there distance from
> a point ?. so you will need to itterate through a target mesh,
> evaluate if its distance for point is above this user 'threshold'
> amount and either add to a selectionlist or discard.
> i suggest looking through the Mit or itterator class to find the
> appropriate itteration loop... then finding either a command that will
> detect whether it is a above this threshold ... then adding to the
> list. I am not too sure what command will evaluate a faces position
> for another position but i would be suprised if they re is nt one.
>
> hope this helps ....
>
> Tom
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to