COFFEE (Cinema 4D) - Purpose

Purpose

Like most scripting languages, COFFEE is used to extend or modify the functionality of the host software. This technique is preferable to writing a so-called plug-in module using a traditional language such as C for a number of reasons, among them:

  • The scripting language implicitly handles memory management on the user's behalf, where C does not;
  • The language interpreter does not require programs to be compiled as a separate step before they can be used;
  • A purpose-built scripting language can be tailored so that it lends itself to its intended usage. For example, COFFEE has built-in mathematical functions that are necessary for 3D graphics programming.

There are several different aspects of CINEMA 4D's operation that can be customised using COFFEE scripts, notably additions to the user interface and extensions for reading and writing new file formats and creating texture shaders. Almost all the main functionality of the application can be accessed from a COFFEE program, and so customised features can look and behave much like those supplied as standard.

Read more about this topic:  COFFEE (Cinema 4D)

Famous quotes containing the word purpose:

    For the purpose of knowledge, one must know how to use that inner current that draws us to a thing, and then the one that, after a time, draws us away from it.
    Friedrich Nietzsche (1844–1900)

    Man, her last work, who seemed so fair,
    Such splendid purpose in his eyes,
    Who rolled the psalm to wintry skies,
    Who built him fanes of fruitless prayer,

    Who trusted God was love indeed
    And love Creation’s final law—
    Though Nature, red in tooth and claw
    With ravine, shrieked against his creed—
    Alfred Tennyson (1809–1892)

    I don’t like to be idle; in fact, I often feel somewhat guilty unless there is some purpose to what I am doing. But spending a few hours—or a few days—in the woods, swamps or alongside a stream has never seemed to me a waste of time.... I derive special benefit from a period of solitude.
    Jimmy Carter (James Earl Carter, Jr.)