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
1098 • CHAPTER 22
XPRESSO EDITOR • 1099
Example
Suppose you are using an Object List iterator with seven cubes (see example
picture above). Now suppose you want to reposition all of the cubes except
the third one. “Well, just chuck the third cube out of the object list,” you might
suggest. That’s one solution, certainly. However, a more interesting way — and
in some cases perhaps the only way — is to use an ObjectIndex node instead.
Connect the Index output port to a Compare node and set the Compare node’s
Function to ‘!=’ and its Input 2 to ‘2’ (an index list starts with ‘0’, hence ‘2’
corresponds to the third sphere).
Next, connect the Compare node’s output to the input port of the node that
sets the position for the cubes (see above). Now, when the index reaches ‘2’
during the iteration, the Compare node will switch off the position assignment
and the third cube won’t have its position changed.
Point
Here the node outputs two values: the object’s total number of points (here, eight) and the position of
the point whose index value is 4.
This node gives you direct access to an object’s number of points and their positions and point
normals. First create an Object node for the object whose point data you want to access. Click the
Object node’s outputs menu (red square) and choose Object from the menu to create an Object port.
Connect this Object port to the Point node’s Object port.
The point normal vector is exactly one unit in length and is always perpendicular to the point. The
direction is calculated using the positions of the surrounding surfaces. Hence if the object has no
surfaces, the point normals cannot be calculated accurately.
The Point node works with global or local point coordinates, depending on the Matrix Mode setting
in the Attribute manager.
To read the position of a point:
Connect an Object node to the Point node as described above, via the Object
port.
Pass the number of the point that should be output to the Point Index port.
This index number corresponds to the numbering shown in the Structure
manager.
The Position Port will output the point’s position as a vector.