• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: V Appendix > Intro to the API: Writing a Deformer

Intro to the API: Writing a Deformer

Maya's API is an object-oriented API, written in C++, and built on the design principle of class factories. When using an API (in any language, not just C++), it is quite important to be familiar with the paradigms that the language is based on.

If you are not familiar with object-oriented programming or the concept of inheritance, overloading, or virtual functions, I will give a brief explanation. In fact, the following explanation should be generalized and brief enough to give you a very basic idea of C++ and what object-oriented programming is. It also should give you enough information to write a deformer node, but that will be all. I strongly suggest that you read a couple really good C++ books—and maybe even take a class or two at a community college—if you really want to write a powerful plug-in that incorporates true principles of object-oriented design. Keep in mind that there are genius programmers out there who can also help you learn C++ if you ask the right questions. If you are familiar with C++ and object-oriented programming, feel free to skip this next section. A couple good books on C++ are C++: How to Program, by Harvey M. Deitel and Paul J. Deitel (good for beginners), or The C++ Programming Language (Special 3rd Edition) (Addison-Wesley, 200) , by Bjarne Stroustrup (good for experienced programmers).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint