1
00:00:00,400 –> 00:00:03,567
Let’s examine the magnet SOP.
2
00:00:03,567 –> 00:00:15,667
The magnet SOP is an extremely
powerful operator in Touch
Designer, but it can also be
difficult to understand and
implement properly.
3
00:00:15,667 –> 00:00:19,967
A magnet SOP must work in
conjunction a metaball,
4
00:00:19,967 –> 00:00:31,233
and the relationship between the
metaball and the magnet will
determine the nature of the
effect generated by the magnet
SOP.
5
00:00:31,233 –> 00:00:38,100
In this example we will deform a
sphere SOP with a magnet SOP.
6
00:00:38,100 –> 00:00:50,100
The transform parameters of the
metaball SOP are the primary
influences used to drive the
effectiveness of the magnet SOP.
7
00:00:50,100 –> 00:00:57,767
The core operators in this
tutorial network are the sphere,
metaball, and magnet.
8
00:00:57,767 –> 00:01:03,800
The additional operators are
simply for visualization
purposes.
9
00:01:03,800 –> 00:01:16,367
We want to see the effect the
magnet has on the input sphere,
and at the same time, see the
metalball which is driving the
effect.
10
00:01:16,367 –> 00:01:26,567
I’ve wired the outputs of the
magnet and the metaball to point
SOPs, and changed their display
parameters.
11
00:01:26,567 –> 00:01:37,500
I’ve changed their colors, and
reduced their alphas, so that
when we render the SOPs we can
see them as they overlap.
12
00:01:37,500 –> 00:01:43,533
I’ve created a TOP network
starting with a render TOP.
13
00:01:43,533 –> 00:01:53,333
I’ve added a camera and a light,
as well as an over TOP, so we
can place the render on a white
background.
14
00:01:53,333 –> 00:01:59,467
It can be challenging to locate
and visualize objects in 3d
space.
15
00:01:59,467 –> 00:02:06,233
By adjusting the parameters of
this network, we can keep track
of the effects of the magnet
SOP.
16
00:02:06,233 –> 00:02:15,633
I use a slider component to
uniformly adjust the scale of
the metaball in 3 dimensions.
17
00:02:15,633 –> 00:02:21,633
As I boost the scale, we can
immediately see the effect of
the magnet.
18
00:02:21,633 –> 00:02:30,333
The magnet, which is effectively
the input sphere, is green. The
metaball is purple.
19
00:02:30,333 –> 00:02:40,367
The relationship between the
transforms of the magnet and
metaball create the deformations
of the input sphere.
20
00:02:40,367 –> 00:02:49,567
As with a physical magnet, the
input geometry can be partially
or completely transformed.
21
00:02:49,567 –> 00:03:00,500
For the magnet SOP to work, the
relationship between the magnet
and metaball must be at least
slightly offset.
22
00:03:00,500 –> 00:03:13,967
As you can see, adjusting this
offset in either the metaball or
the magnet, will create
variations of the magnet’s
deformation of the input sphere.
23
00:03:13,967 –> 00:03:26,900
As I adjust the offset of the
magnet, the metaball scale will
cause the input sphere to be
deformed in the direction of the
magnet.
24
00:03:26,900 –> 00:03:36,633
A transform X offset of positive
.1 will cause the sphere to move
or deform to the right.
25
00:03:36,633 –> 00:03:46,967
An offset of 0 will have no
effect, as there is no
relational offset between the
magnet and metaball.
26
00:03:46,967 –> 00:03:52,000
The smaller the offset, the
smaller the effect.
27
00:03:52,000 –> 00:03:54,000
—