A01 - Lesson04 - C4D Xpresso 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

C4D XPRESSO 2

Going deeper into Xpresso

Rigging
1
OBJECTIVES
1. Understand how to work with Xpresso in C4D
2. Able to do simple rigs with Xpresso

Rigging
2
LESSON CONTENT
1. More Xpresso Nodes
2. Logic in Xpresso

Rigging
LESSON CONTENT
1. More Xpresso Nodes
2. Logic in Xpresso

Rigging
MORE XPRESSO NODES
Time Node
● Basic node for getting the project time & related settings
○ Time → output in seconds
○ Frame → output the frame number
○ Frames Per Second → output the frame rate

● Useful for using time to drive an animation


○ No need for keyframe

● Use FloatMath node to multiply the Time output to change the speed

Rigging
5
DEMO

Time Node
01 Clock.c4d

Rigging
6
MORE XPRESSO NODES
Range Mapper Node
● Changes an input range to an specified output range
○ Eg input 0-100 → output 100-1000
● Input and output range can be of different type
○ Angles & %

● Useful when using sliders to control a property


○ Eg animate 0-100%, but output 0-360 deg

● If the input value goes beyond the specified range


○ option to clamp to the min/max values

Rigging
7
DEMO

Range Mapper Node


02 Lift Doors.c4d

Rigging
8
DEMO

Range Mapper Node


03 Lever Bubbles.c4d

Rigging
9
DEMO

Range Mapper Node


04 Ball Bounce.c4d

Rigging
10
MORE XPRESSO NODES
Noise Node
● Outputs a random value
○ Based off a noise pattern
○ Useful for adding random animation to objects
● Can be animated with a Time input
○ Connect a Time node to control the noise animation
● The default noise output a specific range
○ -0.5 → 0.5

● Noise pattern can be adjusted


○ Scale → Size of the noise pattern
○ Frequency → Speed of the noise pattern changing
○ Amplitude → Range size of the output
○ Seed → Changes the noise pattern

Rigging
11
DEMO

Noise Node
05 Wind Vane.c4d

Rigging
12
DEMO

Noise Node
06 Boat.c4d

Rigging
13
DEMO

Noise Node
07 Console.c4d

Rigging
14
MORE XPRESSO NODES
Trigonometric Node
● Provides a trigonometry functions
○ More useful for Sine function
○ Sine is the default function
● Useful for creating back and forth motion

● Use Time node to control the animation of the sine function


○ Outputs -1 → 1
● Use FloatMath node to multiply the range of the output

Rigging
15
DEMO

Trigonometric Node
08 Metronome.c4d

Rigging
16
DEMO

Trigonometric Node
09 Car.c4d

Rigging
17
LESSON CONTENT
1. More Xpresso Nodes
2. Logic in Xpresso

Rigging
LOGIC IN XPRESSO
Condition Node
● Mainly used to send a selected output from an available list of inputs
○ Connect all option to each input
○ Can add as many inputs as needed

● Use the Switch to choose the input to send out


○ Switch only uses number input to control
○ Counts from 0
○ ie. 0 → Input 1, 1 → Input 2, 2 → Input 3, etc

● Remember to choose the correct Data Type!

Rigging
19
DEMO

Condition Node
09 Car.c4d

Rigging
20
LOGIC IN XPRESSO
Compare Node
● Compares 2 inputs and sends a True/False output
● Multiple comparison methods
○ == → Is equals to
○ < → Is less than
○ <= → Is less than or equals to
○ > → Is more than
○ >= → Is more than or equals to
○ != → Is not equals to

● If the comparison is true


○ Outputs True / 1
○ If not output False / 0

● Useful to trigger something based on a check

Rigging
21
DEMO

Compare Node
10 Gauge.c4d

Rigging
22
THANK YOU!

Rigging 23

You might also like