Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 27-02-2006 , 10:08 PM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095

sel borderVerts and move them to [0 Y Z]

when borderselecting vertices from an object - a halfside modeled face for example - how can I move every single vertex from this selection to 0 (zero) on the X axis?

this is what I came up with until now (reading through the script from Dirk Bialluch at https://www.lightstorm3d.com/download...intToGrid.htm:


rename tmpOrig_1;
ConvertSelectionToVertices;
SelectPolygonSelectionBoundary;
doMenuComponentSelection("tmpOrig_1", "vertex");

/////////////////////////
// deselecting CVs from eye and nose //
/////////////////////////


// filter selected points
string $selPoints[] = `filterExpand -fullPath 1 -expand 1-sm 31`;


// snap points
for( $point in $selPoints )
{
setAttr "tmpOrig_1.pnts[1].pntx" 0;
}





// poor, isnĀ“t it? //

any help or hint in any direction would be greatly appreciated!


Last edited by Falott; 28-02-2006 at 01:27 AM.
# 2 28-02-2006 , 01:35 AM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095
what is it?


I need to store the border verts somewhere (array?) to recall them later for performing an action on them.

is it a procedure?

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off