This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with
complex objects.
Hi, i want, if possible, to user the Math functions of Mental Ray into my scripts MEL. how to call, for example, the function: void mi_vector_neg( miVector *r). please, help me!!
I don't think you can do that. Maybe with python... not sure.
But for basic vector math you can just use operators (+, -, *, /, etc). There are also special commands for things like dot and cross product. Check the docs under Commands -> By Category -> Language -> Maths...
I'm pretty sure you cannot do that kind of stuff (directly) without plugins. Of course you could script it by programming the maths manually using lower level commands, but it probably wouldn't be efficient enough.
At work we have a MEL extension library (a set of new mel commands) which is written for things like this (and much more). If you're up to it, maybe start looking into the Maya API and learn how to create custom MEL commands? It's not too hard once you get into it. The maya API itself already contains the most common vector / matrix etc stuff.
Edit: I'm not too familiar with python but as Maya now has python bindings to the API, you could go that route too...
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