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:

    I envy neither the heart nor the head of any legislator who has been born to an inheritance of privileges, who has behind him ages of education, dominion, civilization, and Christianity, if he stands opposed to the passage of a national education bill, whose purpose is to secure education to the children of those who were born under the shadow of institutions which made it a crime to read.
    Frances Ellen Watkins Harper (1825–1911)

    Of what significance the light of day, if it is not the reflection of an inward dawn?—to what purpose is the veil of night withdrawn, if the morning reveals nothing to the soul? It is merely garish and glaring.
    Henry David Thoreau (1817–1862)

    In the present civil war it is quite possible that God’s purpose is something different from the purpose of either party.
    Abraham Lincoln (1809–1865)