Home Technical Talk

Maya Pelting tools plugin - Help needed

polycounter lvl 10

Replies

  • Jay Evans
    Offline / Send Message
    Jay Evans polycounter lvl 18
    I don't know anythign about the pelting pluging, but you should check out roadkill for maya sometime, If you havent already. Makes unwrapping weird shapes very easy.

    http://www.pullin-shapes.co.uk/page8.htm
  • CastratedWeasel
  • throttlekitty
    Offline / Send Message
    throttlekitty ngon master
    This isn't something I've ran across before. Does it work properly if you route slightly around those edges? i.e. the top-left-most circled area, the triangle inside the quad, try using the outer side of that quad instead. Also, it looks a bit like a smoothing error in that area, the nearly black triangle, almost as if there's some bad welds inside the mesh, or a secondary edge.
  • BeatKitano
    Offline / Send Message
    BeatKitano polycounter lvl 16
    Looks like you have some double edges in there, you should make a clean up of any non manifold geo.
  • CastratedWeasel
  • CastratedWeasel
  • throttlekitty
    Offline / Send Message
    throttlekitty ngon master
    Is there a way to check for non manifold geometry. Ive had a good look at the model and cant see any double edges. This model is a high poly from mudbox reduced in meshlab if that makes any difference.

    And it works if i route around the affected edges but id stilll rather be able to choose the seams that i need.

    Thx guys
    Mesh>Cleanup
    For a first go, check Select rather than cleanup, it will point out problem areas. Good to hear about roadkill :)
  • PolyHertz
    Offline / Send Message
    PolyHertz polycount lvl 666
    The cleanup function doesnt take care of double edges, for me at least.

    If you find thats true for yourself heres a script I threw together few days ago. It saves your selection so it can be used at any time during the modeling process, though is a little finicky with edge selections sense it changes their order when performed.

    (Why arn't code tags working?)


    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    //Script name: EdgeSeal
    //Author: Greg Gardner (aka PolyHertz)
    //Contact: garder.GJ@gmail.com
    //Last update: Jul/17/2009
    //Version: 1.0
    //Comments:
    //Currently because of point order changes, edge selections that are 2 or less edge lengths away from either a
    //border or any double edges will sometimes not store correctly. Thankfuly the point order changes do not affect face
    //selections, so I have used a combination of component conversion and the shrink/grow function to regain the
    //original selection. But this method as mentioned doesnt fully solve the problem and is a temporary fix until I can
    //determin a more accurate way of re-selecting them.
    //
    //Also, If anyone knows of a way to select components based on their x/y/z position alone please let me know.
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


    //stores the current selection based on point order for later.
    string $curSubSel[] = `ls -sl`;

    global proc EdgFxGlobe()
    {
    //stores the current object name
    string $curSelObj[] = `ls -sl`;
    //selects all the objects verts via object-vert conversion
    PolySelectConvert 3;
    //splits and re-merges verts
    polySplitVertex;
    polyMergeVertex -d 0.0001;
    //deselects the verts and the object and reselects it
    select -cl;
    selectMode -o;
    select -r $curSelObj;
    }

    global proc myCurEdgs()
    {
    //converts selected edges into verts then faces and saves the selection
    PolySelectConvert 3;
    PolySelectConvert 1;
    $theConvFaces = `ls -sl`;
    //deselects the faces, goes into object mode, and calls the EdgFxGlobe global procedure
    select -cl;
    selectMode -o;
    EdgFxGlobe;
    //re-selects the faces from before, converts them to edges, and shrinks to get original edge selection
    selectMode -co;
    selectType -pe true;
    select $theConvFaces;
    PolySelectConvert 2;
    PolySelectTraverse 2;
    }

    //for when an object is selected but is not in a component mode
    if(`selectMode -q -o`)
    {
    EdgFxGlobe;
    }

    //for when in vert component mode
    else if(`selectType -q -pv`)
    {
    select -cl;
    selectMode -o;
    EdgFxGlobe;
    selectMode -co;
    selectType -pv true;
    select -r $curSubSel;
    }

    //for when in face component mode
    else if(`selectType -q -pf`)
    {
    select -cl;
    selectMode -o;
    EdgFxGlobe;
    selectMode -co;
    selectType -pf true;
    select -r $curSubSel;
    }

    //for when in edge component mode
    else if(`selectType -q -pe`)
    {
    myCurEdgs;
    }
Sign In or Register to comment.