Commit Graph

8652 Commits

Author SHA1 Message Date
Campbell Barton
9df1e54079 Cleanup: style 2018-07-19 16:06:37 +10:00
Brecht Van Lommel
3d67819a17 Merge branch 'master' into blender2.8 2018-07-18 14:13:16 +02:00
L. E. Segovia
5078b9d2d0 Cycles: add Principled Hair BSDF.
This is a physically-based, easy-to-use shader for rendering hair and fur,
with controls for melanin, roughness and randomization.

Based on the paper "A Practical and Controllable Hair and Fur Model for
Production Path Tracing".

Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google
Summer of Code 2018.
2018-07-18 13:59:06 +02:00
Stefan Werner
bdda0964e0 Compositor: Cryptomatte compositing node.
This patch adds a new matte node that implements the Cryptomatte specification.
It also incluces a custom eye dropper that works outside of a color picker.
Cryptomatte export for the Cycles render engine will be in a separate patch.

Reviewers: brecht

Reviewed By: brecht

Subscribers: brecht

Tags: #compositing

Differential Revision: https://developer.blender.org/D3531
2018-07-18 13:03:34 +02:00
Clément Foucault
8cd7828792 GWN: Port to GPU module: Replace GWN prefix by GPU 2018-07-18 11:49:15 +02:00
Brecht Van Lommel
644fadf2f0 Render: add "OpenGL" render engine.
This is intended for quick renders for previsualization, animation previews
or sequencer previews. It provides the same settings as found in the 3D view
Shading popover in solid display mode, but in the scene render properties.

The "Workbench" engine was removed, and this name no longer appears in the
user interface, it's purely an internal name. We might come up with a better
name for this OpenGL engine still, but it's good to be consistent with the
OpenGL Render operator name since this has a similar purpose.
2018-07-17 16:46:09 +02:00
Brecht Van Lommel
f8e2dba7fe UI: move specular light settings to Lights tab in user preferences. 2018-07-17 14:59:07 +02:00
Brecht Van Lommel
117a5c0ac7 Fix Python error removing studio lights in user preferences. 2018-07-17 14:59:07 +02:00
Brecht Van Lommel
6d8e36b723 Fix inconsistent shade smooth naming in object and edit mode. 2018-07-17 14:59:07 +02:00
Jeroen Bakker
8d53b72b81 World: Added 'Viewport Display' panel
The Properties->World tab had no Viewport Display panel. The world color
itself was hidden when the 'use_node_tree' was enabled.

Also renamed the World.horizon_color to World.color as it has nothing to
do with the color of the horizon (old BI feature)
2018-07-17 12:39:03 +02:00
Vuk Gardašević
84d4037363 UI: Single-column and flow layout for Scene properties
See D3532
2018-07-17 12:17:42 +02:00
Vuk Gardašević
273482749e UI: Minor fixes to separators on menus
Closes D3547
2018-07-17 11:59:24 +02:00
Pablo Vazquez
dc3b3d9453 UI: Lamp -> Light for the object type visibility operators
Spotted in a live stream by Emilton Mendoza, thanks!
2018-07-17 00:45:56 +02:00
Campbell Barton
b29b73a67e Gizmo: update Python templates 2018-07-15 19:51:11 +02:00
Campbell Barton
b457cae397 Cleanup: use variable names based on term gizmo 2018-07-15 14:35:33 +02:00
Pablo Vazquez
f8537a5d0d UI: Camera Display panel rename to Viewport Display
Matches all other panels with Viewport properties
2018-07-15 02:35:33 +02:00
Pablo Vazquez
d2b28a8bf1 UI: Use icon for Material Link
Communicates the same by giving more room to the Material datablock name
2018-07-15 01:22:33 +02:00
Pablo Vazquez
b6a97baa0e UI: Use full width for ID blocks in World, Light, Camera, Texture
Also close Preview panel for lights by default and move World custom props last
2018-07-15 01:22:33 +02:00
Pablo Vazquez
92a6b0ad6f UI: Hide Preview panel by default on Material properties
And move Custom Properties panel last
2018-07-15 00:13:35 +02:00
Campbell Barton
fdcd9103cc WM: rename manipulator to gizmo in the toolbar 2018-07-14 23:58:07 +02:00
Campbell Barton
89299f6620 WM: rename manipulator to gizmo in Python API 2018-07-14 23:55:54 +02:00
Campbell Barton
5ebebcfbff WM: rename manipulator to gizmo internally 2018-07-14 23:49:00 +02:00
Campbell Barton
cd16004132 WM: rename files, manipulator -> gizmo
Edit doxy files and header guards only.
2018-07-14 23:16:34 +02:00
Campbell Barton
fc7c934cfc UI: rename manipulator to gizmo
This is a common, short, distinctive term often used for this purpose.

Changes to internal API's still needed.
2018-07-14 22:29:35 +02:00
Campbell Barton
bb2c47a329 Keymap: reduce right shift in 2.7x keymap 2018-07-14 11:46:18 +02:00
Campbell Barton
f9aab3b091 Keymap: reduce right shift in generated keymaps 2018-07-14 11:46:16 +02:00
Campbell Barton
9dbee5ccc2 Merge branch 'master' into blender2.8 2018-07-14 10:27:07 +02:00
Campbell Barton
ceba8e28b7 Rename operator property from last commit
Restore operator had same option named differently.
2018-07-14 10:20:27 +02:00
Campbell Barton
50e3cd0bb3 Keymap: option to export all keymaps
Useful to store a snapshot of the current keymap state
so changes to the default keymap are ignored.

Also useful for testing keymap export works properly.
2018-07-14 10:15:46 +02:00
Campbell Barton
0f340a1fa2 Cleanup: f-string use 2018-07-14 09:32:52 +02:00
Campbell Barton
9d1ad27fdc Merge branch 'master' into blender2.8 2018-07-14 09:31:52 +02:00
Campbell Barton
43973410f3 Cleanup: use f-string for addon_utils 2018-07-14 09:30:59 +02:00
Campbell Barton
7d73ba904e Cleanup: minor change for f-string use 2018-07-14 09:30:50 +02:00
Campbell Barton
9ca8f40790 Keymap: remove double space in tool-keymap 2018-07-14 09:02:36 +02:00
Pablo Vazquez
bc12c6f542 UI: Align Lighting sub-panel of the Shading popover
This better aligns the matcap/hdri browser, rotation/background sliders and
preferences/flip matcap button.

The remaining sub-panels are not perfeclty aligned yet, once the sub-panels
separation is more prominent (and they can be collapsed) we can align those.

Thanks devtalk forum for feedback!
2018-07-13 20:12:06 +02:00
Campbell Barton
cca87ccc75 UI: remove space/region from popover args
Instead use global panel-type list.
2018-07-13 19:16:35 +02:00
Brecht Van Lommel
4ca2983096 Fix missing panels in texture properties with image texture. 2018-07-13 18:21:58 +02:00
Brecht Van Lommel
dc00d66c89 UI: only show API defined custom properties when Developer Extras is on.
These are intended to behave just like any other builting property, so
no to always show them in the Custom Properties panels for regular users.
2018-07-13 18:21:58 +02:00
Pablo Vazquez
7774ad7dd3 UI: Wider Dyntopo popover to fit all settings
Suggested by kostex_mb on IRC
2018-07-13 17:58:31 +02:00
Campbell Barton
b2d8f83444 Keymap: run search by its key in tools popup
The button & key are displayed here, so its best if the shortcut works.
2018-07-13 09:18:46 +02:00
Campbell Barton
8a429b03e1 Cleanup: style 2018-07-13 08:42:34 +02:00
Campbell Barton
5aff20dfd5 UI: add toggle fullscreen to window context menu 2018-07-12 15:25:05 +02:00
Campbell Barton
75d69eab69 Minor cleanup to last commit
No need to make attr-lists with the current layout logic.
2018-07-12 10:54:53 +02:00
Campbell Barton
77928c2a09 UI: Group geometry in object visibility popover
Makes it easy to quickly hide all non-geometry.
2018-07-12 10:51:00 +02:00
Campbell Barton
21b6983b9d UI: minor edits to overlay popover
- Rename "Viewport Info" to "Text Info".
  Name was too vague, nearly everything is information,
  this currently only controls overlay text.

- Swap text-info & 3D-cursor, making 3D-cursor less prominent.
2018-07-12 10:14:19 +02:00
Campbell Barton
963da9ff6e UI: 4-state icon for view visibility popover
This is a quick way to see if some of the object types in the
scene are hidden or unselected.

Icon design may change.
2018-07-12 09:39:41 +02:00
Campbell Barton
d28d202fd1 PyAPI: remove bpy.utils.register_module
Remove bpy.utils.register_module() & logic tracked RNA classes.
2018-07-11 23:13:37 +02:00
Campbell Barton
09aa799e53 PyAPI: Use annotations for RNA definitions
- Logical use of fields since they define type information.
- Avoids using ordered-dict metaclass.

Properties using regular assignments will print a warning and load,
however the order is undefined.
2018-07-11 22:18:09 +02:00
Pablo Vazquez
4880b71d54 UI: Flip Overlays/Shading position
This brings the Object Visibility dropdown closer to overlays which
also controls visibility of elements int he viewport, so it makes more
sense there. Also placing the Overlays settings closer to the viewport.
2018-07-11 20:10:27 +02:00
Campbell Barton
4b57bb0387 UI: overlay, remove redundant 'object' term 2018-07-11 19:01:10 +02:00