C++ plugin programming resources

On 31/10/2014 at 11:01, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   16 
Platform:    Mac  ;  
Language(s) :     C++  ;   PYTHON  ;


I'm looking at having a go at figuring out how to make c++ plugins. I have a couple of personal python objectData plugins under my belt but some of my new ideas require the c++ functionality. I've also done some c++ (sort of) through openframeworks. I'm not really sure where to start with this though.

In addition to that, I've looked through the SDK and learned some things but the format and structure of a plugin in c++ is still confusing me a bit.

Does anyone know of any good learning resources for getting started with formatting and structure for C4D?



On 31/10/2014 at 13:40, xxxxxxxx wrote:

Hello and welcome Adam,

I think a very good starting point is here: Microbion's site on C4D Plugin Development
Steve, who's running the site is also a very active member on this forum. See the tutorials there.

Then there are some good articles on our blog: PluginCafe blog, some of the information got previously posted on C4D Programming (now deprecated and replaced by PluginCafe blog).
Like the ones on creating new plugin projects in Visual Studio and Xcode.

The SDK docs, you know already, and the SDK examples shouldn't be missed. Especially the examples helped me a lot, when I started plugin programming a few years ago. Find one fitting your job best. Strive through the code to get a basic understanding. Then remove the flesh and use it as a skeleton for your own one.

Then Andrew Noske is running a wiki on C4D programming:

Scott, one of our most active forum members, has a nice collection of open source demo plugins. These might help, where there's a gap in the SDK examples.

We have a GitHub site with some more examples and code snippets. In future we hope to add to this to make it an even richer resource.

If you are more of the visual character, these links might come in handy:
Introduction to Cinema 4D SDK Part 1 and Part 2

And last but not least, use the search on this forum. Our community has gathered quite a large amount of useful information, hints and problem solutions.

I hope this helps to get you started.

On 01/11/2014 at 07:29, xxxxxxxx wrote:

Amazing thanks!

On 14/09/2015 at 10:11, xxxxxxxx wrote:

GameLogicDesign has a very nice site with information on description parameters.

Or as kbar put it:
"I have put together a little website that lists all the descriptions that Cinema4D has. The idea of this site is to help you find the IDs for the descriptions that you want to change via Python or C++ instead of having to hunt through all the resource files manually yourself."

Great stuff, thanks, Kent!!!