Today MAXON released ResEdit’s source code on GitHub under Apache license.
The source code is released as is. No special preparation was done prior to its release.
There won’t be any support. You may use it as is. Maybe you can learn from it.
You may also improve it and fork from this project. If you feel like sharing your changes
with MAXON for reintegration, MAXON would certainly be grateful. But this is by no means a must.
The included project files are for VisualStudio 2012. The project got (superficially) tested
in Cinema 4D R16. Simply put the project folder into Cinema 4D’s plugins folder (in program
directory) and load the ResEdit.sln into VisualStudio 2012.
With Cinema 4D R17 the legacy support for the old pre-R15 C++ API will be dropped. The __LEGACY_API define will no longer be available. This means after two years of time for transition you will finally have to switch to the new API in order to compile plugins for R17. This step is not taken lightly, but was necessary to proceed with Cinema 4D’s internal development. A guide how to transition your plugin can be found in the SDK documentation.
Most of the needed changes can be done with simple search & replace operations. Only very few changes need your attention and manual adjustment of code.
MAXON is aware, that this means additional work for external developers. We apologize for this.
The Cinema 4D R17 C++ SDK will also require newer IDE versions:
Windows: Visual Studio 2013
Mac: Xcode 6 (any subversion will work, tested 6.0 to 6.4)
If you need any assistance in handling the transition, please feel free to contact the SDK Support Team, either in Plugin Café forums or via e-mail (firstname.lastname@example.org).
A new Melange SDK for Cinema 4D R15+ has been released.
- fix memory leaks in ConvertParameters()
- minor fix TextureTag Restriction string parameter uninitialized (which was returning long type instead of String)
- minor typo fix for render progress definitions
With the next major version Cinema 4D R17 (SP1 to be precise) we will move from Python 2.6.4 to Python 2.7.9.
From then on Python 2.6.4 will not be used anymore.
The reason for this decision were minor issues in Python 2.6 and increased compatibility with other 3D packages.
In most cases this change should be no problem. Tests with existing scripts/plugins showed, almost
all scripts, plugins, etc. are compatible with Python 2.7. Only in very rare cases adjustments need to be made.
If a plugin is based on a Python C-module, this module needs to be recompiled. Latest Xcode version and Visual Studio 2012 SP4 should be used for this.
We have updated the C++ and Python documentation to match Cinema 4D R16 SP3 (16.050).
The online SDK documentation is the latest available content. For former versions, look for the package in the download section.
first time around?
Pick the right API for the right jobThe very first thing you will need to do is choose which API will suit your needs.
Cinema 4D has... four APIs, the first three may be used to add functionality and are part of the product's distribution:
The C++ SDK is what is used internally by the development team to write all our product's functionalities. It is robust reliable and the obvious choice for commercial plugins. The C++ SDK offers the most extended capabilities of all APIs. Yet, if you are new in software development the learning curve may be a bit too steep. Then you probably want to have a look at the scripting languages.
- Python and COFFEE
Python and COFFEE are scripting languages. They are a good choice for TDs, easier, more flexible to use than the C++ API, but the feature set exposed is a bit less extended. In general both provide the means for very rapid development. On the other hand your sources are harder to protect in Python and COFFEE, your algorithms are easily exposed to all for reading. Nowadays you will probably prefer Python over COFFEE.
Mélange is a bit different, as it provides means to exchange data with the "outside world". It can be downloaded on this site.