File: canvas.rst

package info (click to toggle)
blender-doc 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 253,604 kB
  • sloc: python: 13,030; javascript: 322; makefile: 113; sh: 107
file content (290 lines) | stat: -rw-r--r-- 8,107 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
.. _bpy.types.DynamicPaintCanvasSettings:

******
Canvas
******

.. reference::

   :Panel:     :menuselection:`Physics --> Dynamic Paint`
   :Type:      Canvas

The Canvas type makes object receive paint from Dynamic Paint brushes.


Settings
========

.. figure:: /images/physics_dynamic-paint_canvas_main-panel.png
   :align: right

   Canvas main panel.

Paint Surface
   A :ref:`list <ui-list-view>` of Dynamic Paint surfaces.
   These surfaces are basically layers of paint, that work independently from each other.
   You can define individual settings for them and bake them separately.

   Is Active
      The checkbox toggles whether surface is active at all.
      If not selected no calculations are done.

Below you can set surface type and adjust quality and timing settings.

Format
   Each surface has a certain format and type.
   Format determines how data is stored and outputted.

   :Vertex:
      Dynamic Paint operates directly on mesh vertex data.
      Results are stored by point cache and can be displayed in viewports.
      However, using vertex level also requires a highly subdivided mesh to work.
   :Image Sequences:
      Dynamic Paint generates UV wrapped image files of defined resolution as output.

      Resolution
         You can adjust the output image dimensions for the *Image Sequences* surface type.
         For example using 256 will lead to 256×256 image output.
         Doubling the resolution will likely quadruple the baking time and vice versa.
      Anti-Aliasing
         :term:`Anti-Aliasing` to smooth paint edges using a 5× multisampling method.

Frame Start, End
   Defines surface processing start and end frame.

Sub-Steps
   Extra samples between frames. They are usually required when there is a very fast brush.


Surface
=======

.. reference::

   :Type:      Canvas
   :Panel:     :menuselection:`Physics --> Dynamic Paint --> Surface`

.. TODO2.8:
   .. figure:: /images/physics_dynamic-paint_canvas_advanced-panel.png

      Canvas advanced panel.

From *Surface* panel you can adjust surface type and related settings.


Surface Type
------------

Each surface has a "type" that defines what surface is used for.


Paint
^^^^^

.. figure:: /images/physics_dynamic-paint_canvas_surface-type-paint.jpg
   :width: 320px

   Paint Surface.

Paint is the basic surface type that outputs color and wetness values.
In case of vertex surfaces, results are outputted as Color Attributes.

A wetmap is a black-and-white output that visualizes paint wetness. White being maximum wetness,
black being completely dry. It is usually used as mask for rendering.
Some "paint effects" affect wet paint only.

Dry
   Completely disable drying is useful for indefinitely spreading paint.

   Color Dry
      It can be used to define wetness level when paint colors start to shift to surface "background".
      Lower values can be useful to prevent spreading paint from becoming transparent as it dries,
      while higher values give better results in general.


Displace
^^^^^^^^

.. figure:: /images/physics_dynamic-paint_canvas_surface-type-displace.jpg
   :width: 320px

   Displace Surface.

This type of surface outputs intersection depth from brush objects.

Incremental
   A new displace is added cumulatively on top of an existing displace.
Max Displace
   The maximum level of intersection depth, larger values will be clamped to this value.
Displace Factor
   The multiplier for the intersection depth.
   You can use it to adjust final displace strength or use negative values to paint bumps.

.. tip::

   If the displace output seems too rough it usually helps to add
   a Smooth Modifier after Dynamic Paint in the modifier stack.


Waves
^^^^^

.. figure:: /images/physics_dynamic-paint_canvas_surface-type-waves.jpg
   :width: 320px

   Waves Surface.

This surface type produces simulated wave motion. Like displace,
wave surface also uses brush intersection depth to define brush strength.

Open Borders
   Allows waves to pass through mesh "edges" instead of reflecting from them.
Timescale
   Directly adjusts simulation speed without affecting simulation outcome.
   Lower values make simulation go slower and otherwise.
Speed
   Affects how fast waves travel on the surface.
   This setting is also corresponds to the size of the simulation.
   Half the speed equals surface double as large.
Damping
   Reduces the wave strength over time. Basically adjusts how fast wave disappears.
Spring
   Adjusts the force that pulls water back to "zero level".
Smoothness
   Limits the maximum steepness of the wave slope between simulation points.
   This greatly helps getting rid of the "noise" that occurs
   when using objects with sharp edges (like cubes) as a brush.
   The default value should be enough to only get rid of the sharpest spikes,
   in order to get even smoother waves use higher values at the expense of reduced detail.

.. tip::

   In some cases the wave motion gets very unstable around brush.
   It usually helps to reduce wave speed, brush "wave factor" or even the resolution of mesh/surface.


Weight
^^^^^^

.. figure:: /images/physics_dynamic-paint_canvas_surface-type-weight.jpg
   :width: 320px

   Weight Surface.

This is a special surface type only available for vertex format.
It outputs vertex weight groups that can be used by other Blender modifiers and tools.

.. tip::

   It is usually preferred to use "proximity" based brushes for
   weight surfaces to allow smooth falloff between weight values.


Common Options
--------------

For each surface type there are special settings to adjust.
Most types have the settings *Dissolve* and *Brush*:

Dissolve
   Used to make the surface smoothly return to its original state during a defined *Time* period.
Brush Collection
   Used to define a specific collection to pick brush objects from.
Influence Scale, Radius Scale
   For tweaking brush settings individually for each surface.


Cache
=====

.. reference::

   :Type:      Canvas
   :Panel:     :menuselection:`Physics --> Dynamic Paint --> Cache`

.. TODO2.8:
   .. figure:: /images/physics_dynamic-paint_canvas_cache-panel.png

      Canvas cache panel.

This panel is currently only visible for *Vertex* format surfaces.
You can use it to adjust and bake point cache.


Effects
=======

.. reference::

   :Type:      Canvas
   :Panel:     :menuselection:`Physics --> Dynamic Paint --> Effects`

.. TODO2.8:
   .. figure:: /images/physics_dynamic-paint_canvas_effects-panel.png

      Effects panel.

This is a special feature for "Paint" type surface.
It generates animated movement on canvas surface.

.. (TODO) each of these effects has its own settings

Effects
   Spread
      Paint slowly spreads to surrounding points eventually filling all connected areas.
   Drip
      Paint moves in specific direction specified by Blender force fields,
      gravity and velocity with user-defined influences.
   Shrink
      Painted area slowly shrinks until disappears completely.

For spread and drip effects, only "wet paint" is affected, so as the paint dries,
movement becomes slower until it stops.


Initial Color
=============

.. reference::

   :Type:      Canvas
   :Panel:     :menuselection:`Physics --> Dynamic Paint --> Initial Color`

Allows you to define the initial color of the canvas. (Todo 2.62)

- None
- Color
- UV Texture
- Vertex Color


Output
======

.. reference::

   :Type:      Canvas
   :Panel:     :menuselection:`Physics --> Dynamic Paint --> Output`

.. TODO2.8:
   .. figure:: /images/physics_dynamic-paint_canvas_output-panel.png

      Canvas Output panel.

From Output panel you can adjust how surface outputs its results.


Vertex
------

For *Vertex* format surfaces, you can select a mesh data layer
(color/weight depending on surface type) to generate results to.
You can use the "+"/"-" icons to add/remove a data layers of given name.
If layer with given name is not found, it is shown as red.


Image Sequence
--------------

For *Image Sequence* surfaces,
you can define used UV maps and output file saving directory, filenames and image format.