|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contributing to CHAI 3D
Contributing code to CHAI is simple: write good, general-purpose code following our coding standards. Make sure that you include our copyright in your code, as it appears in all of the existing CHAI source files. Finally, realize that the code you contribute can be used in commercial products by anybody (without compensation to you), and that contributed code is owned (via copyright) by Francois Conti, Dan Morris, Chris Sewell, and Federico Barbagli. See detailed explanations in the following. Copyright Issues When you contribute code to CHAI, Francois Conti, Dan Morris, Chris Sewell, and Federico Barbagli own it. We are doing it this way because of logistics issues: legal decisions or modifications to the code would become completely unworkable if there were mixed copyrights. However, we do want to credit and give thanks to those people that make the effort of creating code. To do this, modify the standard copyright notice by adding an additional "author" field. If this is unacceptable to you: then either don't contribute code at all, or (optionally) we may set up a contributed code repository that we DO NOT maintain, test, or distribute, but DO reference on our web site(s). Commercialization Issues When you contribute code to CHAI, the code may be used in commercial products without condition. You will not receive any commercial gain as a result of the use of your code in a commercial product (either do we for that matter). Only contributed code meeting this condition will be accepted. Obligations to Integrate Code We often find ourselves in the position of receiving code that meet the above conditions, but are unable to integrate it into CHAI. This may be because the code is not general enough, is judged to require additional development, or does not add enough value to CHAI. If you are a contributor affected by a decision to not integrate your code into CHAI, or delay integration into CHAI, we apologize. Please recognize that we are struggling to keep the complexity of the system at a managable level, and to make sure enough testing is performed to distribute a good system. Coding Standards The CHAI coding conventions are available here. The bottom line is that all code should be in the style used for any of the main CHAI classes, e.g. cGenericObject. Please use doxygen tags before members and functions to mark up any code you submit. October 2005 - www.chai3d.org |
|||||||||||||||||||||||||||||||||||||||||||||||||||||