Notifications
Clear all

[Closed] max as web service

The title isn’t exactly accurate, but I’m trying to develop a website that accepts user input and then has max render out a customized movie for the user to view. The max side is simple, but I’m not so up on my web stuff and was wondering if anyone had any ideas on how to get the user’s browser to communicate with max.

I thought about using a form that generates an email, or having a form that updates a file on the server and having max (running… someplace) periodically look at that file and make the movie when appropriate, but both of these are kind of messy.

Are there any experienced web developers here who might know a simpler way?

Thank in advance.

5 Replies

I would use an asp.net form that invokes some remoting functions (or called a maxscript via remoting) using Max.NET, you can find a tutorial describing how to use remoting here: http://ephere.com/autodesk/max/external_script_tutorial.html

This way you don’t need to set up Max to periodically check anything as it would be notified of the request immediately by .net

Marsel

That’s a very helpful tutorial. I figured it was just a matter of time before I had to learn .net (though I used to be pretty good at asp back in the day). Any idea of a good place to start learning basic asp.net? Or even better, would it be possible to call the Max.net remote functions from flash?

I am not very familiar with flash/actionscript but I can think of a number of ways to make it work. There is a plethora of asp.net tutorials out there, http://www.w3schools.com/ASPNET/default.asp is a good start.

I’d set up flash to post a request to an asp.net page, which would in turn call a remoting procedure to .net from inside its onload event. Once the Max stuff is done it’d take the result and write it into output stream of the page, which you can then parse in flash and output whatever. Or if the max command takes too long you can set up an async call.

Good stuff. Thanks.

you can connect to max through com with php… and most languages…