THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/05/2006 at 11:55, xxxxxxxx wrote:
Cinema 4D Version: 9.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; C++ ;
Hallo! I'am newbie in Cinema plugins. I need to create new Object (for example cube) in C++ (vs) because i would like to create dll plugin for cinema. I have read SDK help but there is no example (or i was unable to find it??) how to create some object through adding points. I have found some example in COFFEE but i cant translate it to C++. Could any one help me by translating body of that function or writing some example? I will be very thankful for help.
On 08/05/2006 at 13:07, xxxxxxxx wrote:
in the Cinema 4D Plugins folder is a Cinema4DSDK folder, filled with examples for almost all plugin types available. You should start by studying them and extend them.
On 10/05/2006 at 06:39, xxxxxxxx wrote:
Is there anywhere some comment files to sdk sources? Pure code is in some cases not enough.
On 10/05/2006 at 07:36, xxxxxxxx wrote:
The sources are not commented (and there are no comment files). You should rather get into C++ before you get into C++ programming. Generally a good advice. Otherwise, you have no other choice than the good ol´ "trial & error".
On 10/05/2006 at 09:04, xxxxxxxx wrote:
Besides getting to know the language, the documentation along with the SDK examples is a good combination. This will help you understand what the class methods are doing and put together at least a rudimentary understanding of what a particular example is doing (and why). Think of the documentation as generalized commentary.
On 10/05/2006 at 10:59, xxxxxxxx wrote:
I know C++ but it is difficult to find out what author is trying to do in some places. Studying all help files to find out what all the functions are for, takes very much time which can be used for something more intresting. That's why normally it is a good habbit to comment code. One short description can say more about meaning code than two pages of function descriptions.
On 10/05/2006 at 15:23, xxxxxxxx wrote:
all had a hard time getting into it. And nothing takes no time, even commented code can be hard to read. But you gotta live with the facts. So go play with the SDK.