cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAXSCRIPT: Add meshop.transform() method

MAXSCRIPT: Add meshop.transform() method

I would like a new MAXScript function meshop.transform() that will transform a mesh by the given Matrix3 value. This method should have the following parameters:

 

meshop.transform <matrix3>matrix <vertlist>verts:undefined <facelist>faces:undefined <Boolean>normals:true <Boolean>smooth:true <mesh>parm1

 

When verts or faces is defined, limit the results to only those sub-objects that are passed. When normal is set to true, transform all explicit normals in the mesh for the selected sub-objects (or all normals). If normals are set to false, do not transform explicit normals but instead clear them and only use smoothing groups. If normals is false and smooth is true, calculate smoothing groups to match results of the mesh had it kept the normals (as close as possible).

 

The method should be multi-threaded.

1 Comment
lightcube
Advisor

In case it isn't clear, I should have added this to the body: This is for transforming the mesh vertices AND the normal. I thought it would be understood that it is for both but I'm clarifying.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea