File: overlays.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 (512 lines) | stat: -rw-r--r-- 16,125 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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
.. _bpy.types.View3DOverlay:
.. |overlays-icon| image:: /images/editors_3dview_display_overlays.png

*****************
Viewport Overlays
*****************

.. reference::

   :Mode:      All Modes
   :Header:    |overlays-icon| :menuselection:`Overlays`

Clicking the icon toggles all overlays in the 3D Viewport.

.. note::

   Cameras outline & :ref:`passepartout <bpy.types.Camera.show_passepartout>` are not considered Viewport overlays.

The drop-down button displays a popover with more detailed settings, which are described below.

Depending on the current :doc:`object interaction mode </editors/3dview/modes>`,
there may be a second button with yet more settings, which are also described here.


General
=======

The following options are always present, independent of the current mode.
Some of the overlays can be customized in the
:doc:`Viewport Preferences </editors/preferences/viewport>`.


Guides
------

Grid
   Show grid in orthographic side view.
Floor
   Show the ground plane in perspective view.
Axes
   Show the X, Y and/or Z axis lines.

Scale
   The distance between lines in the grid/floor.
Subdivisions
   The number of subdivisions between grid lines.

Text Info
   Show various bits of information in the top left corner of the viewport.

   - **View Perspective** --
     Name of the :doc:`View Perspective </editors/3dview/navigate/projections>`,
     such as "Top Orthographic" or "User Perspective."
   - **Playback Frame Rate (FPS)** --
     Displays the Frames Per Second at which the animation is playing.
     By default, Blender goes through every single frame, which may result in an FPS that's lower than
     intended (and the animation playing slower than realtime); the FPS turns red in this case.
     You can change this behavior in the Playback popover of the :doc:`Timeline </editors/timeline>`.
   - **Object Info** --
     Shows the current frame in parentheses, followed by the names of the selected
     :doc:`Collection </scene_layout/collections/index>` and the :ref:`active object <object-active>`.
     When applicable, also shows the selected :doc:`Shape Key </animation/shape_keys/introduction>`
     and (in angle brackets) the :doc:`Marker </animation/markers>` on the current frame.
     If the object has a keyframe on the current frame, the Object Info is displayed in yellow.
   - **Grid Resolution** --
     When the view is aligned to a world axis (see :doc:`/editors/3dview/navigate/viewpoint`),
     the Text Info additionally shows the smallest distance between two parallel grid lines.

Statistics
   Show information about the amount of objects and geometry.
   Note that the counters depend on the current selection.
   For example, selecting a mesh gives info on the number of vertices, edges, and faces,
   while selecting a light shows the number of lights in the scene.

   - **Objects** -- Number of the selected objects and the total count.
   - **Geometry** -- Displays information about the current scene depending on the mode and object type.
     This can be the number of vertices, faces, triangles, or bones.

.. _bpy.types.View3DOverlay.show_camera_guides:

Camera Guides
   Show Camera guides
   (:ref:`Safe Areas <bpy.ops.safe_areas>` & :ref:`Composition Guides <bpy.types.Camera.show_composition>`),
   only available in :ref:`camera view <bpy.ops.view3d.view_camera>`.

HDRI Preview
   Show two spheres, one glossy and one diffuse, to preview the HDRI that's being used for world lighting.
   While HDRIs can be used in both the *Material Preview* and *Rendered*
   :doc:`shading modes </editors/3dview/display/shading>`, the HDRI Preview overlay
   is only available in the former.
3D Cursor
   Show the :doc:`3D Cursor </editors/3dview/3d_cursor>`.
Annotations
   Show :doc:`annotations </interface/annotate_tool>`.


Objects
-------

Extras
   Show objects that don't have geometry (such as empties, cameras and lights).

.. _bpy.types.View3DOverlay.show_light_colors:

Light Colors
   Shades the outline of light objects to the color the light produces.

.. _bpy.types.View3DOverlay.show_relationship_lines:

Relationship Lines
   Show dashed lines indicating parent or constraint relationships.
Outline Selected
   Show an outline around selected objects.
Bones
   Show Bones.
Motion Paths
   Show the :doc:`motion path </animation/motion_paths>` overlay.
Origin
   Show the :doc:`origins </scene_layout/object/origin>` of the selected objects.
Origin (All)
   Show the origins of all objects.

.. _bpy.types.View3DOverlay.bone_wire_alpha:

Bone Wireframe Opacity
   The maximum opacity used for bones drawn in the *Wireframe*
   :doc:`shading mode </editors/3dview/display/shading>` (or in *Solid* shading mode with X-Ray active).
   This is helpful when it is necessary to reduce clutter and focus on the mesh rather than bones.


Geometry
--------

.. _bpy.types.View3DOverlay.wireframe_threshold:
.. _bpy.types.View3DOverlay.show_wireframes:

Wireframe
   Display mesh edges. Similar to :ref:`Wireframe Shading <3dview-shading-rendered>`,
   but displays edges on top of existing shading.
   The value slider adjusts which edges to display:
   lower values hide edges on surfaces that are almost flat, while a value of 1 shows all edges.

   .. _bpy.types.View3DOverlay.wireframe_opacity:

   Opacity
      The opacity of the displayed edges, from 0 (invisible) to 1 (fully opaque).

.. _bpy.types.View3DOverlay.fade_inactive_alpha:
.. _bpy.types.View3DOverlay.show_fade_inactive:

Fade Inactive Geometry
   In modes other than Object Mode, fade out objects that you're not working on.
   The slider controls how much they're faded out.

.. _bpy.types.View3DOverlay.show_face_orientation:

Face Orientation
   Show faces whose normal is pointing towards the camera in blue,
   and faces whose normal is pointing away from the camera in red.
   This lets you quickly check for faces that are oriented incorrectly:
   the outside surface of an object should typically be all blue.


.. _3dview-overlays-view_node:

Viewer Node
-----------

Visualizes :doc:`/modeling/geometry_nodes/attributes_reference`
connected to the :doc:`/modeling/geometry_nodes/output/viewer`.

.. _bpy.types.View3DOverlay.show_viewer_attribute:

Viewer Node
   Visualize the value of the attribute connected to the *Viewer Node* as a greyscale color.

   .. _bpy.types.View3DOverlay.viewer_attribute_opacity:

   Color Opacity
      Opacity of the attribute that is currently visualized.

.. _bpy.types.View3DOverlay.show_viewer_text:

Attribute Text
   Show attribute values as text in viewport.


.. _bpy.types.SpaceView3D.show_reconstruction:

Motion Tracking
---------------

Show the :doc:`motion tracking </movie_clip/tracking/introduction>` overlay.

Camera Path
   Show the reconstructed camera path.
Marker Names
   Show the names for reconstructed track objects.

Tracks
   Change the display of the reconstructed tracks:
   plain axes, arrows and so on.

Size
   Change the display size of the reconstructed tracks.


.. _3dview-overlay-mesh_edit_mode:

Mesh Edit Mode Overlays
=======================

The following options are available when in Mesh Edit Mode.

Faces
   Highlight selected faces. Affects all selection modes.
Center
   Show face center points in solid shading modes. (They're always shown in wireframe shading mode.)

   Only affects face selection mode.
Creases
   Display edges marked with a crease
   for the :doc:`Subdivision Surface Modifier </modeling/modifiers/generate/subdivision_surface>`.
Sharp
   Display sharp edges, used with the :doc:`Edge Split modifier </modeling/modifiers/generate/edge_split>`.
Bevel
   Display weights created for the :doc:`Bevel Modifier </modeling/modifiers/generate/bevel>`.
Seams
   Display the :doc:`UV unwrapping seams </modeling/meshes/uv/unwrapping/seams>`.


Shading
-------

.. _bpy.types.View3DOverlay.show_retopology:

Retopology
   This overlay is useful when you have a sculpted mesh with the desired shape and
   want to recreate it with better topology. It makes the edited mesh see-through
   (so that you can see the sculpted mesh underneath it) and optionally renders it
   in front of nearby geometry (so that you can see it underneath the sculpted mesh).

   .. _bpy.types.View3DOverlay.retopology_offset:

   Offset
      Distance to "move the edited mesh towards the camera." Use this to display the
      mesh in front of other objects that would normally occlude it.

.. _bpy.types.View3DOverlay.show_weight:

Vertex Groups Weights
   Visualize the weights of the active vertex group,
   much like in :doc:`Weight Paint </sculpt_paint/weight_paint/introduction>` mode.

   .. _bpy.types.ToolSettings.vertex_group_user:

   Zero Weights
      Display unreferenced and zero-weighted areas in black.
      This helps to identify areas with very low weights that have been painted onto.

      :None: Vertices are displayed in the usual way.
      :Active: Vertices are shown in black if they have no weight in the active vertex group.
      :All: Vertices are shown in black if they have no weight in any vertex group.


Mesh Analysis
-------------

Show the :ref:`modeling-mesh-analysis` overlay.


Measurement
-----------

Show numerical measures of the selected elements.
The :ref:`bpy.types.UnitSettings` can be set in the Scene properties.

Edge Length
   Show the length of selected edges.
Edge Angle
   Show the angle of selected edges between two faces.
Face Area
   Show the area of selected faces.
Face Angle
   Show the angle of selected face corners.

.. tip::

   Geometry connected to the selection is shown while transforming,
   allowing you to move a vertex and see the connected edge lengths for example.

.. note::

   These values respect the :ref:`Transform Space <modeling-mesh-transform-panel>`
   in the Sidebar. Use *Global* if you want the object's scale to be applied to the measurements.


.. seealso::

   The :doc:`Measure </editors/3dview/toolbar/measure>` tool for measuring
   arbitrary distances and angles.


.. _mesh-display-normals:

Normals
-------

- Display vertex normals
- Display face normals at vertices (split normals)
- Display face normals

Size
   The size to show the selected normals.

   .. _bpy.types.View3DOverlay.use_normals_constant_screen_size:

   Constant Screen Size Normals
      Keep the size of normals constant in relation to the zoom level.


Developer
---------

These overlays are only available if *Developer Extras* is enabled
in the :doc:`Interface Preferences </editors/preferences/interface>`.

Indices
   Display the indices of selected vertices, edges, and faces.


Freestyle
---------

These settings apply to the :doc:`Freestyle </render/freestyle/introduction>`
line art renderer.

Edge Marks
   Display Freestyle edge marks.
Face Marks
   Display Freestyle face marks.


Sculpt Mode Overlays
====================

Mask
   Show :ref:`Masks <sculpt-mask-menu>` as overlays on an object. The opacity of the overlay can be adjusted.
Face Sets
   Show :ref:`Face Sets <sculpting-editing-facesets>` as overlays on an object.
   The opacity of the overlay can be adjusted.


Vertex Paint Overlays
=====================

.. _bpy.types.View3DOverlay.vertex_paint_mode_opacity:

Stencil Mask Opacity
   Does nothing. (Stencil masks are only available for texture painting.)
Show Wire
   Display mesh edges in white (unlike the *Wireframe* overlay which shows them in black).


Weight Paint Overlays
=====================

Opacity
   The opacity of the overlay.
Zero Weights
   Display unreferenced and zero-weighted areas in black.
   This helps to identify areas with very low weights that have been painted onto.

   :None: Vertices are displayed in the usual way.
   :Active: Vertices are shown in black if they have no weight in the active vertex group.
   :All: Vertices are shown in black if they have no weight in any vertex group.

Show Weight Contours
   Show contour lines formed by points with the same interpolated weight.

   This visualizes weight variations too small to be seen from colors and can be useful for judging
   the smoothness and consistency of gradients, e.g. when using smoothing tools and brushes.

Show Wire
   Display mesh edges in white (unlike the *Wireframe* overlay which shows them in black).


Texture Paint Overlays
======================

.. _bpy.types.View3DOverlay.texture_paint_mode_opacity:

Stencil Mask Opacity
   Opacity of the :doc:`stencil mask </sculpt_paint/texture_paint/tool_settings/mask>` overlay.


Pose Mode Overlays
==================

Fade Geometry
   Show the bones on top and face other geometry to the back.
   The opacity can be controlled with the slider.
   Only available in Pose Mode.


.. _3dview-overlay-grease-pencil:

Grease Pencil
=============

These overlays are available when a :doc:`/grease_pencil/index` object is selected.

.. _bpy.types.View3DOverlay.use_gpencil_onion_skin:

Onion Skin
   Show ghosts of the keyframes before and after the current frame.
   If :doc:`Multiframe </grease_pencil/multiframe>` is enabled,
   ghosts of the selected keyframes are shown instead.
   See :doc:`/grease_pencil/properties/onion_skinning`.

.. _bpy.types.View3DOverlay.use_gpencil_fade_layers:
.. _bpy.types.View3DOverlay.gpencil_fade_layer:

Fade Inactive Layers
   Decrease the opacity of all the layers in the object other than the active one.
   The opacity factor can be controlled with the slider.

.. _bpy.types.View3DOverlay.use_gpencil_fade_objects:
.. _bpy.types.View3DOverlay.gpencil_fade_objects:

Fade Inactive Objects
   Cover all of the viewport except the active Grease Pencil object with a full color layer to improve visibility
   while drawing over complex scenes.

   .. _bpy.types.View3DOverlay.use_gpencil_fade_gp_objects:

   Fade Grease Pencil Objects
      Include or exclude Grease Pencil objects.

.. _bpy.types.View3DOverlay.use_gpencil_edit_lines:

Edit Lines :guilabel:`Edit, Sculpt, Weight Paint, or Vertex Paint Modes` :kbd:`Shift-Q`
   Shows a line between points on top of other geometry when editing strokes.

.. _bpy.types.View3DOverlay.use_gpencil_multiedit_line_only:

Only in Multiframe :kbd:`Shift-Alt-Q`
   When Multiframe is enabled and keyframes other than the current frame are selected,
   strokes on those keyframes are displayed as just their edit lines -- the strokes themselves are hidden.
   Note that this does not affect Onion Skinning.

.. _bpy.types.View3DOverlay.use_gpencil_show_directions:

Stroke Direction :guilabel:`Edit`
   Toggle the display of the selected strokes' start points (green) and end points (red) to visualize their direction.

.. _bpy.types.View3DOverlay.use_gpencil_show_material_name:

Material Name :guilabel:`Edit`
   Show material name next to the selected strokes.

.. rubric:: Vertex Paint

.. Vertex Opacity :guilabel:`Vertex Paint`
..    Opacity for vertices (points) and edit lines in Edit and Sculpt Mode.

.. _bpy.types.View3DOverlay.gpencil_vertex_paint_opacity:

Vertex Paint Opacity :guilabel:`Vertex Paint`
   The opacity of the vertex color overlay in Vertex Paint Mode and Draw Mode.
   Note that in Draw Mode, vertex paint is only visible in the *Material Preview*
   and *Rendered* shading modes by default. To see it in *Solid* mode, you either
   need to use Vertex Paint Mode, or set the :doc:`Color </render/workbench/color>`
   shading setting to *Attribute*.


.. _bpy.types.View3DOverlay.use_gpencil_grid:

Canvas
------

Display a grid over the Grease Pencil drawing plane.

.. _bpy.types.View3DOverlay.gpencil_grid_opacity:

Canvas Grid Opacity
   The opacity of the grid.

.. _bpy.types.View3DOverlay.use_gpencil_canvas_xray:

Canvas X-Ray
   Objects are drawn behind the canvas grid.

.. _bpy.types.View3DOverlay.gpencil_grid_subdivisions:

Subdivisions
   The number of subdivisions between grid lines.

.. _bpy.types.View3DOverlay.gpencil_grid_color:

Grid Color
   The color of the grid lines.

.. _bpy.types.View3DOverlay.gpencil_grid_scale:

Scale X/Y
   The horizontal/vertical size of the grid.

.. _bpy.types.View3DOverlay.gpencil_grid_offset:

Offset X/Y
   The amount to shift the grid up/down and left/right.