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
1112 • CHAPTER 22
XPRESSO EDITOR • 1113
C.O.F.F.E.E.
This node enables you to integrate C.O.F.F.E.E. code with your XPresso expression. You can add any
number of input ports to the node and rename them via the node’s context menu. However, you
cannot change the type of a port. If you add a port of the wrong type, you must delete it (double-click
it) and add a new port of the correct type.
The input ports are declared automatically as variables — there is no need to declare them in the node.
For example, the default C.O.F.F.E.E. node has two input ports (Input 1 and Input 2) that are used in
the code without rst being declared. As with the input ports, you can add output ports of varying
type and you can rename them freely.
You can enter the expression directly into the Script box in the Attribute manager, or for more space
you may prefer to use the C.O.F.F.E.E. editor instead. To open the C.O.F.F.E.E. editor, in the Attribute
manager, click the Open C.O.F.F.E.E. Editor button. From this editor, you can also compile the program
and run it.
The Protect button enables you to protect your expression by means of a password. The contents will
then be hidden. Only by entering the correct password can the user gain access to the contents of
the XGroup. If you’re the type of person who doesn’t like remembering passwords, why not just keep
your own unprotected copy of the expression?
Keep in mind that some restrictions apply when using C.O.F.F.E.E. programs in C.O.F.F.E.E. nodes. In
particular, neither the project nor the objects in the scene can be accessed directly by the C.O.F.F.E.E.
code. Instead, pass the desired information — such as an object’s position — to the C.O.F.F.E.E. node
via another node.
The C.O.F.F.E.E. node is designed primarily for evaluating math expressions and for adding simple
programming structures to the XPresso expression, such as the if/then/else statement. Complex
expressions should be written as standard C.O.F.F.E.E. expressions instead.
For more information on C.O.F.F.E.E., visit www.plugincafe.com.