MEL > Plugin?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 06 June 2003   #1
Lightbulb MEL > Plugin?

Hi all,

I have a tool I have been working on for a few years but at the moment it is a series of scripts.

How do I convert them to a plugin file? (.mll)...Thats if its possible...

Thanks !
__________________
 
Old 06 June 2003   #2
Re: MEL > Plugin?

Quote: Originally posted by Anchuvi
Hi all,

I have a tool I have been working on for a few years but at the moment it is a series of scripts.

How do I convert them to a plugin file? (.mll)...Thats if its possible...

Thanks !


You could compile a pluign and have it execute the MEL code as sort of a protection if that is what you are after.. I do not think there is any conversion..at least not an automatic one..
__________________
blah blah blah
 
Old 06 June 2003   #3
How do I compile a plug-in?

__________________
 
Old 06 June 2003   #4
Quote: Originally posted by Anchuvi
How do I compile a plug-in?



With a compiler.. I guess you need to consider learning some C++
__________________
blah blah blah
 
Old 06 June 2003   #5
Take a look at Complete Maya Programming - by David Gould - this is the best (and only) book on the Maya API at the moment....


Why do you want to convert the scripts to a plugin? To make the run faster? Or to stop people finding out how you did what you did?

If it's the first, then gmask's original idea won't work, as it would actually run slower. If it's the second, then gmask's idea will work for the general user, but if anyone really wants to find out how your code works, they wouldn't have much of a problem (there are programs that will extract strings from a binary file, and the MEL commands would all be stored as strings)

The only other option here is to completely re-write it using the API's system - this would take a long time, though - especially if the tool has taken you two years so far....

The third option is just to trust people
__________________
Hugh Macdonald
nvizible
 
Old 06 June 2003   #6
>>>Why do you want to convert the scripts to a plugin? To make the run faster? ...If it's the first, then gmask's original idea won't work, as it would actually run slower.


I never said MEL scripts would run faster from a compiled plugin? Theoretically if you rewrote the functions in the API it would.
__________________
blah blah blah
 
Old 06 June 2003   #7
sorry - that question was directed at Anchuvi, not you - I was sure that you understood the differences
__________________
Hugh Macdonald
nvizible
 
Old 06 June 2003   #8
Quote: Originally posted by Hugh
sorry - that question was directed at Anchuvi, not you - I was sure that you understood the differences


Sorry I didn't mean to be pedantic ;-)
__________________
blah blah blah
 
Old 06 June 2003   #9
The reason I am looking to convert to a plugin is because I am hoping to sell these tools via the web...

I suppose I will just have to trust people...
__________________
 
Old 06 June 2003   #10
Well, you could always convert them to a plugin that just calls MEL scripts...

However, this would (probably) run slower than the MEL scripts straight off, and the code would still be accessible.....
__________________
Hugh Macdonald
nvizible
 
Old 06 June 2003   #11
What do these MEL script tools do?

Just curious..
__________________
steven blake - senior visualiser | designer
stevenblake.tumblr.com - homepage
@pandachilli - twitter
 
Old 01 January 2006   #12
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:20 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.