Posted: Jul 10, 2009
Category:
|
The 3ds Max SDK comes with an AppWizard, for generating template C++ plug-in projects, which some people seem to like, but from what I can tell even more people
dislike. I recently uncovered a neat trick: if you open the project file in the AppWizard folder (e.g. C:\Program Files\Autodeskds Max 2010
SDK\maxsdk\howtodsmaxPluginWizarddsmaxPluginWizard.vcproj) it can't be compiled, but you will see a list of .cpp files for each of the different kinds of plug-ins supported by
Autodesk (well most of them at least).
These files are interesting, because if we do a bit of search and replace (e.g. [!output CLASS_NAME] -> YourClassName) you have almost the complete source code
for a plug-in. I wouldn't suggest doing this unless you know what you are doing, but if you are like me, you may find it an interesting exercise at least to browse the source
code generated by AppWizard.
Postscript: I'd like to hear your comments about AppWizard do you use it? Do you dislike it? Would you rather see a set of blank template projects?
|
In order to post any comments, you must be logged in!
|
|
Posted by Christopher Diggins on Jul 16, 2009 at 04:16 PM
|
Thanks a lot for you comments. I am glad you find the "TODO" macros convenient (they were added by an ADN support specialist by the way!).
The Autodesk SDK support program, Autodesk Developer Network (ADN or ADN Sparks) is an excellent program in my opinion. I know one of the support specialists for 3ds Max quite
well and he is extremely knowledgeable about 3ds Max, and a very competent programmer.I think the debug builds of 3ds Max alone make it worth the price.
As for a "sorry we don't know" response, well that is always a possibility: nobody can answer every question.
|
|
|
Posted by remigiusz on Jul 13, 2009 at 06:24 AM
|
What alternative do we have? :) I doubt anyone tries setting everything up by hand. The "TODO" macros are quite convenient by the way.
I also have a question: do you know how good the Autodesk SDK support program actually is? Precisely who is resolving plugin developers' issues? Is there a possibility I could
simply get a "sorry we don't know" response?
|