I'm a MEL noob, so be kind! I'm wondering whether it's possible to create vertices in Maya using a MEL script. I want to be able to use a mathematical formula (like x^2*(y-1)^2/x^2+y^2) to create a load of vertices and then join them together to form a surface.
From using Maya I know that most (if not all) complex objects are created using primitive objects and warping, joining, culling, etc. them to get the desired object. So would it be better to create a surface, say a plane, with regularly spaced grid-like vertices and then move them? Or can a create "points" and join them together somehow?
The polyAppendVertex command is very similar. The values for the point flags is where your formula will come in I suppose and you could use a 'for' or 'while' loop to cycle the process.
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