PDA

View Full Version : mel to load object file


stuh505
01-15-2005, 05:51 AM
im thinking about using mel to write a plugin to load object file data from an unsupported format as a subdiv surface...what commands should i look into if this is possible? cant figure out how i would go about creating complex geometry. thanks

stuh505
01-18-2005, 03:46 PM
so, is this even possible to do with mel or must the maya api be used?

tsdorsey
01-18-2005, 05:59 PM
Can you do it in MEL? Maybe.
Should you? You can try
Would it be easier with the API? probably

I would recomend writing something like that with the API.

But if you want to try to tackle it in MEL the commands to look into would be:

fOpen;
fRead;
polyCreateFacet;

Good luck and let us know how you do.

Later,
Trevor

mhovland
01-18-2005, 06:50 PM
If this is to write an importer for the Silo format, you can do it in MEL, it just might be a little slow depending on the size of the file to import.

I'm working on getting the documentation for the file format from Jamchild, so I should be able to start looking into this soon.

CGTalk Moderation
01-20-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.