SuperRune
10-20-2009, 08:44 AM
Hi,
I have a script that is running pretty slow, and integral to the script is a function that checks distance from a point to a line segment. Now I was thinking, that if this function could be made into a maxscript command through the SDK, the speed increase should be massive. And also, writing a maxscript command should be a doddle compared to writing, say, a modifier? Especially when it's just a simple trigonometric command?
But I can't find where to start! Inside the Plugin Wizard there are no categories for maxscript, and I can't seem to find any samples inside the SDK either. I only see a curve controller, an activex thingy, a dotNet thing, and then a folder of general functions (which I assume is used by the other ones?).
Could anyone point me in the right direction, so that I at least can have the framework for such a plugin up and running?
I have a script that is running pretty slow, and integral to the script is a function that checks distance from a point to a line segment. Now I was thinking, that if this function could be made into a maxscript command through the SDK, the speed increase should be massive. And also, writing a maxscript command should be a doddle compared to writing, say, a modifier? Especially when it's just a simple trigonometric command?
But I can't find where to start! Inside the Plugin Wizard there are no categories for maxscript, and I can't seem to find any samples inside the SDK either. I only see a curve controller, an activex thingy, a dotNet thing, and then a folder of general functions (which I assume is used by the other ones?).
Could anyone point me in the right direction, so that I at least can have the framework for such a plugin up and running?
