9.5.2
Table Of Contents
- CINEMA 4D XL
- CINEMA 4D
- End User License Agreement
- 1. Getting to Know C4D
- 2. Views and Viewports
- Edit Menu
- Zoom in/Out
- Frame Commands
- Configure
- Display Tab
- Film Move, Magnify, Zoom
- Active Object
- Inactive Object
- Filter Tab
- View Tab
- Back Tab
- Back
- World Grid
- HUD Tab
- Cameras Menu
- Scene Cameras
- Link Active Object
- Editor Camera
- Projections
- Display Menu
- Display Filter
- Default Light
- Shading Modes
- Display Tags
- Backface Culling
- Textures
- X-Ray
- View Menu
- 3. Configuration
- Configuration Dialogs
- Configuration Managers
- Graphical User Interface
- Windows
- Tabs
- Icon Palettes
- Command Manager
- Menu Manager
- Quick Access Menu
- Pin's Menu
- Preferences
- Macintosh
- Interface
- Colors
- Viewport
- View
- OpenGL Shading
- Textures
- Software Shading
- Document
- Colors
- Import/Export
- Allplan Export
- 3D Studio Import/Export
- Biovision BHV Import
- CINEMA 4D XML Export
- DEM Import
- DXF Export
- DXF Import
- Direct3D Export
- FBX Import/Export
- FBX Import Settings
- FBX Export Settings
- Additional Options
- Illustrator Import
- Lightwave Import
- Monzoom Import
- QuickDraw 3D Export
- QuickDraw 3D Import
- STL Import/Export
- Shockwave 3D Export
- Texture Export Options
- Light Options
- Animation Export Options
- Options
- Shockwave 3D Limitations
- Cameras
- UZR Export
- Filter Properties
- File
- HTML
- Integrating UZR Files in HTML
- Controlling the UZR Browser Display
- Context Menu Applet
- VRML 1 Export
- VRML 1 Import
- VRML 2 Export
- VRML 2 Import
- Wavefront Import/Export
- Material Preview
- Texture Paths
- Units
- Color Chooser
- Colors/GUI
- Project Settings
- XPresso
- 4. Workflow
- 5. File Menu
- 6. Edit Menu
- 7. Objects Menu
- Cameras Menu
- Coordinates
- Object Properties
- Primitives
- Cone
- Caps
- Cube
- Cylinder
- Slice
- Disc
- Plane
- Polygon
- Sphere
- Torus
- Capsule
- Oil Tank
- Tube
- Pyramid
- Platonic
- Figure
- Landscape
- Relief
- NURBS
- Materials for Hull, Caps, Rounding
- Spline Object
- Null Object
- Polygon Object
- Array Object
- Boole
- Instance Object
- Metaball Object
- Symmetry Object
- Construction Plane Object
- Camera Object
- Light Object
- Particles
- Deformers
- Floor Object
- Sky Object
- Environment Object
- Foreground/Background Object
- Stage Object
- Selection Object
- Sound
- Object Library
- 8. Tools Menu
- Move
- Orientation
- Snap Settings
- Scale
- Rotate
- Move/Scale/Rotate w/Mouse & Keyboard
- Magnify
- Modelling Modes
- Tweak Mode
- Auto Switch Mode
- N-gon Triangulation
- Isoline Editing
- Show Axis
- Camera
- Object
- Points
- Edges
- Polygons
- Object Axis
- Model
- Texture
- Texture Axis
- Inverse Kinematics
- Animation
- Axes
- Coordinate System
- Why HPB?
- Camera Rotation
- 9. Selection Menu
- 10. Structure Menu
- Modelling Modes
- Snap Settings
- Snapping
- Edit Spline
- Chamfer
- Cross Section
- Edge to Spline
- Project
- Round
- Split
- Add Point
- Modes
- Bridge
- Modes
- Bridge Point Mode
- Brush Tool
- Create Polygon
- Edge Cut
- Iron
- Knife
- Magnet
- Mirror
- Set Point Value
- Coordinate System
- Slide
- Stitch and Sew
- Weld
- Bevel
- Polygon Mode
- Edge Mode
- Point Mode
- Extrude
- Extrude Inner
- Matrix Extrude
- Smooth Shift
- Normal Move
- Normal Scale
- Normal Rotate
- Structure Context Menu
- 11. Functions Menu
- Make Editable
- Duplicate
- Measure & Construction
- Transfer
- Randomize
- Reset System
- Align Normals
- Move Down/Up Sequence
- Arrange
- Linear Mode
- Circle Mode
- Center
- Connect
- Current State to Object
- Reverse Normals
- Collapse
- Melt
- Optimize
- Subdivide
- Triangulate
- Untriangulate
- Retriangulate N-Gons
- Remove N-Gons
- Array
- Clone
- Disconnect
- Explode Segments
- Split
- Break Phong Shading
- Unbreak Phong Shading
- Select Broken Phong Edges
- Increase/Decrease HN Subdivision
- 12. Plugins
- 13. Rendering
- 14. Window Menu
- 15. Help Menu
- 16. Coordinate Manager
- 17. Object Manager
- CINEMA 4D Tags
- Expression Tag
- Align to Path
- Align to Spline
- Anchor
- C.O.F.F.E.E.
- Compositing
- Exclusion
- Display
- Fix
- FlashEx
- File Menu
- HyperNURBS Weight
- IK
- Kinematic
- Look at Camera
- Metaball
- Motion Blur
- Phong
- Protection
- Restriction
- Shockwave 3D Double-Sided
- Stick Texture
- Stop
- Sun
- Target
- Texture
- Vibrate
- WWW
- XPresso
- C.O.F.F.E.E. Error Tag
- Edit Menu
- Hide Objects
- Invert Object Selection
- Objects Menu
- Scene Information
- Fold All
- Unfold All
- Fix Bones
- Reset Bones
- Bake Particles
- Tags Menu
- Texture Menu
- 18. Material Manager
- File Menu
- Edit Menu
- Material List
- Function Menu
- New/Remove Material Group
- Rename
- Material Editor
- Channel Shaders
- Basic Properties
- Shader Properties
- Working With Shaders
- Color
- Noise
- Shader Properties
- Types of Noise
- Gradient
- Using Gradients
- Interpolation
- Other Properties
- Fresnel
- Render
- Filter
- Fusion
- Layer
- Using Layer Shader
- Colorizer
- Posterizer
- Chan Lum
- Shader Properties
- Backlight
- Distorter
- Falloff
- Lumas
- Specular Pages
- Anisotrophy Page
- Normal Direction
- Projector
- Proximal
- Ripple
- Spectral
- Spline
- Vertex Map
- Brick
- Checkerboard
- Cloud
- Cyclone
- Earth
- Fire
- Flame
- Galaxy
- Marble
- Metal
- Planet
- Rust
- Simple Noise
- Simple Turbulence
- Starfield
- Stars
- Sunburst
- Tiles
- Types of Tile Pattern
- Venus
- Water
- Wood
- Volumetric Shaders
- Fog
- Terrain
- Former SLA Volume Shaders
- Banji
- Transparency Page
- Banzi
- Wood Page
- Cheen
- Gradients Page
- Transparancy Page
- Danel
- Mabel
- Veining Page
- Nukel
- Fusing Page
- Alpha A Page
- Other Material Channels
- Specular Pages
- Reflection page
- Environment Page
- Ambient Page
- Roughness Page
- Anisotrophy Page
- Esotherica Page
- Illumination Page
- Assignment Page
- Texture Mapping
- 19. Timeline
- Animation Toolbar
- Animation Menu
- Context Menus
- Objects Area
- Manual Mode
- Moving Time Slider
- Layer System
- Timeline Ruler/Preview Range
- Markers
- Recording Animation
- Keyframing: Record Button
- Keyframing: Attribute Manager
- Autokeying
- Keyframing: Timeline
- Selecting Elements
- Rectangle Selection
- Selecting Vector Components
- Copy & Move With Drag & Drop
- Moving Animations Hierarchically
- Moving Tracks/Sequences/Keys
- Selection Handles
- File Menu
- Edit Menu
- View Menu
- Filter Menu
- Objects Menu
- Sequences Menu
- Layer Menu
- 20. F-Curve Manager
- 21. Attribute Manager
- 22. XPresso Editor
- 23. Structure Manager
- 24. Picture Viewer
- 25. Script Manager
- 26. Content Browser
- 27. Appendices
- Index
1180 • APPENDIX
APPENDIX • 1181
Programming plugins
The built-in XPresso node editor gives you extensive control over how CINEMA 4D objects interact with
one another. In addition to XPresso, CINEMA 4D provides you with a powerful programming language
that enables you to produce plugins that can extend the core functionality of CINEMA 4D.
The C.O.F.F.E.E. Programming Language
COFFEE, CINEMA 4D’s plugin language, is not based on macros or scripts but is a complete and
powerful programming language in its own right. It closely resembles C++ and Java so that if you
are already familiar with these languages you will immediately feel at home with COFFEE; you simply
have to learn the various functions implemented by CINEMA 4D.
To start programming you will need to get hold of the SDK (Source Development Kit) directly from
MAXON; this can be obtained from www.plugincafe.com.
What is the advantage of writing plugins in COFFEE as opposed to using C++? Well, apart from the
ease of integrating new functionality into CINEMA 4D, as you know, CINEMA 4D is a multi-platform
program. Writing plugins in COFFEE means that your new CINEMA 4D function will work immediately
on all those platforms, with no annoying re-compilation or reprogramming.
So that CINEMA 4D can nd its COFFEE programs and load them automatically, they must be placed
in the Plugins folder which should be in the root CINEMA 4D folder. If you check the contents of this
folder, you will nd some examples already there. However, you can also store COFFEE programs
elsewhere on your hard disk. If you want to load such a program into CINEMA 4D just use the File >
Open menu command — a le stored outside the Plugins folder cannot be automatically integrated
into CINEMA 4D’s menu structure.
How do you create a plugin? Simply write your COFFEE programs in any text editor or word processor
and save it as a regular ASCII text le; CINEMA 4D will happily process regular text, with no high-
ASCII characters.
The SDK
Perhaps you do not want to use COFFEE as your programming language? As usual, CINEMA 4D allows
you the exibility to do it the way you want to; if you like, you can write your applications with any
C++ compiler. Here you have access to the functionality of CINEMA 4D through pre-dened interfaces.
These interfaces are in the form of an API (Application Programming Interface) library which is part
of CINEMA 4D’s SDK. Note, however, that if you use an external compiler (as opposed to COFFEE) this
will be platform dependent and you will need to re-compile your program for each platform on which
you want your plugin to work. You may also need to do some reprogramming.
The C++ SDK is included with CINEMA 4D. You’ll nd it in CINEMA 4D’s Plugins folder.