Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

C++ plugin programming resources

 Post Reply Post Reply
Author
Message
supergeordie View Drop Down
Member
Member
Avatar

Joined: 2010 Oct 28
Online Status: Offline
Posts: 69
Post Options Post Options   Quote supergeordie Quote  Post ReplyReply Direct Link To This Post Topic: C++ plugin programming resources
    Posted: 2014 Oct 31 at 11:01am

User Information:

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

---------

Hello.

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?

Thanks

Adam
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Online
Posts: 1268
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2014 Oct 31 at 1:40pm
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.



Edited by Andreas Block - 2015 Jan 20 at 12:37pm
Cheers,
Andreas
SDK Support Engineer
Back to Top
supergeordie View Drop Down
Member
Member
Avatar

Joined: 2010 Oct 28
Online Status: Offline
Posts: 69
Post Options Post Options   Quote supergeordie Quote  Post ReplyReply Direct Link To This Post Posted: 2014 Nov 01 at 7:29am
Amazing thanks!
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Online
Posts: 1268
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2015 Sep 14 at 10:11am
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!!!
Cheers,
Andreas
SDK Support Engineer
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.