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:

    Whoever considers morality the main objective of human existence, seems to me like a person who defines the purpose of a clock as not going wrong. The first objective for a clock, is, however, that it does run; not going wrong is an additional regulative function. If not a watch’s greatest accomplishment were not going wrong, unwound watches might be the best.
    Franz Grillparzer (1791–1872)

    Don’t confuse hypothesis and theory. The former is a possible explanation; the latter, the correct one. The establishment of theory is the very purpose of science.
    Martin H. Fischer (1879–1962)

    As the purpose of comedy is to correct the vices of men, I see no reason why anyone should be exempt.
    Molière [Jean Baptiste Poquelin] (1622–1673)