RobynsVeil opened this issue on May 30, 2008 · 267 posts
renderdog2000 posted Tue, 03 June 2008 at 3:05 AM
Quote - If it could support MAX script, not just Python, then that would really boost its versitility!
DPH
My plan is to have it support anything you can code an API for - anything at all. The plan is pretty simple actually, the program will have a built in TCP/IP server that can be turned on or off. When it's turned on, it will listen at a TCP Port that you specify for commands, and when it recieves a command from a valid source ( you can specify IP masks, etc) then it will act on that command.
I'd like to make it so that any action you can perform from the console or any information the program has is accessible though this TCP/IP server. That way it will be a simple matter of writing some sever code and an API's for various languages so that any of them could technically interact with the program. Python, Java, C++ - you name it. As far as Maxscript is concerned, it shouldn't be hard to do an external C++ or Java or even python app that would allow you to read Maxscript and send the appropriate commands to FAST, then react to the response as Maxscript would, of course that would be a much later revision and something that would be much further down the road than even the first release, but totally feasible in the future.
You could use any programming language you choose, be it Python, C++, Java, Perl, etc - as long as they could establish a tcp/ip socket and send and recieve info that way. In this manner I don't have to worry about the limitations of embedding a scripting language, and any programmer can pretty much easily tie in his programming language of preference.
Initially of course I'll probably just release an SDK with all of the various commands you can send to the server and it's responses - but at some point I'll actually sit down and code an API for Python, Java and C++ that will take care of all the tcp/ip stuff and just give folks a nice easy API to work with, provided of couse somebody else doesn't beat me to the punch (the real beauty of open source).
But by doing it this way anyone can use any programming language they'd care to and interact with FAST - and they would never be limited by what libraries were embedded with an internal scripting language, etc.
-Never fear, RenderDog is near! Oh wait, is that a chew toy? Yup. ok, nevermind.. go back to fearing...