THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2011 at 08:23, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Mac ;
Language(s) : C++ ;
Ok i've to start to use c++ but i use a mac so what's the best way to do that?
what program can i use to code and compile?
On 28/08/2011 at 08:31, xxxxxxxx wrote:
XCode 3.2. Use the cinema4dsk project in the Cinema 4D install's plugins folder as the template for your plugin project. For Windows, you'll need Visual Studio 2005.
Depending upon what you want to achieve, you may gain more benefit from the recent Python API in Cinema 4D. No need for compilers and two disparate OSes.
On 28/08/2011 at 08:54, xxxxxxxx wrote:
I agree with Robert on this. As a new plugin developer you'll find it easier to make COFFEE/Python plugins until you get the hang of the SDK (I know I did).
Only other point to make is that Xcode 4 is not regarded as stable enough by Maxon for development yet.
You can also use Visual Studio 2010 Express on Windows. It was a painless automatic conversion from the old project. I just had to tell the linker to output a "cdl" or "cdl64" respectively.
On 28/08/2011 at 12:48, xxxxxxxx wrote:
so python is best for c4d plugin? more function, more properties and so on?
Ok python! how can i start? some enviorment to develope, debug and compile c4d plugin using python?
On 28/08/2011 at 13:16, xxxxxxxx wrote:
There is actually no *best* way. It always depends what you intend to do. Python is still pretty restricted and it is hard to get into it due to the bad documentation. On the other hand you can start to code right away within Cinema and test code on the fly. Portability is also given with Python/COFFEE.
If it needs to be fast or a shader or if you need access to the layer-shader (ie. inserting something) or if you want to do something with PLA data, and so on.. you will need C++.
C++ is really well documented and was for me a lot easier to get into, due to those many working examples.
COFFEE too, can do some things, Python can't and vice versa. So best choose your language based on your intent and of course knowledge of the languages.
On 28/08/2011 at 14:51, xxxxxxxx wrote:
thanks for your answer