C4D Programming

Developing plugins and scripts for CINEMA 4D

Tag: Basics

NodeData – what is it good for?

by .

If you’re new to programming for CINEMA 4D, you might have wondered what’s the deal with NodeData and its derivatives (e.g. ObjectData, TagData, ShaderData, et cetera).
When you are writing a plugin object, which is a BaseObject, why do you have to derive your plugin class from ObjectData instead of BaseObject? What is the connection between NodeData and the GeListNode derivatives (BaseObject, BaseTag, BaseShader, et cetera)?
In this article, you’re going to find out.
Read the rest of this entry »

Advertisements

Non-recursive hierarchy iteration

by .

In this article we’ll take a look at how to crawl through a hierarchy of objects in CINEMA 4D, without using a recursion.
Read the rest of this entry »

Creating a new plugin project in Xcode

by .

For the newbies among our fellow readers, here is a complete step by step walkthrough for creating a new plugin project in Apple Xcode. The screenshots show Xcode 4.5, but it works the same in any version of Xcode 4.
Read the rest of this entry »

Creating a new plugin project in Visual Studio

by .

For the newbies among our fellow readers, here is a complete step by step walkthrough for creating a new plugin project in Microsoft Visual Studio. The screenshots show Visual Studio 2005, but it still works exactly the same way in Visual Studio 2010.
Read the rest of this entry »

Goes without saying: Crash safety

by .

CINEMA 4D is known for its stability. While other 3D packages sometimes tend to randomly crash on you several times a day, CINEMA 4D runs stable and does not crash very often.

When you develop plugins for CINEMA 4D, you want to add functionality without making the whole application instable.
Read the rest of this entry »

Pages: 1 2 3 4

Recursive hierarchy iteration

by .

In this article we’ll take a look at how to recursively crawl through a hierarchy of objects in CINEMA 4D. Starting with a very basic and simple function, we will extend the functionality step by step until we have a function that can do anything with a hierarchy, using callback functions.
Read the rest of this entry »