Blender Git Commits

Blender Git "master" branch commits.

Page: 346 / 5574

Revision 9a56a38 by Hans Goudey
March 16, 2021, 21:35 (GMT)
Geometry Nodes: Add initial version of mesh primitives

This commit includes nodes to build the following primitives:
- Cone
- Cylinder
- Circle
- Cube
- UV Sphere
- Ico Sphere
- Line
- Plane/Grid

In general the inputs are the same as the corresponding operators
in the 3D view.

**Line Primitive**
The line primitive has two modes-- adding vertices between two end
points, or adding vertices each at an offset from the start point.
For the former mode, there is a choice between a vertex count
and a distance between each point.

**Plane Primitive**
This commit includes the "Plane" and "Grid" primitives as one node.
Generally primitives are named after the simpler form of the shape they
create (i.e. "Cone" can make some more complex shapes). Also, generally
you want to tweak the number of subdivisions anyway, so defaulting to
plane is not an inconvenience. And generally having fewer redundant
base primitives is better.

**Future Improvements**
A following patch proposes to improve the speed of the cylinder, cone,
and sphere primitives: D10730. Additional possible future improvements
would be adding subdivisions to the cube node and rings to the cone
and cylinder nodes.

Differential Revision: https://developer.blender.org/D10715
March 16, 2021, 18:59 (GMT)
Grease Pencil: Add LineArt modifier

This adds the LineArt grease pencil modifier.

It takes objects or collections as input and generates various grease
pencil lines from these objects with the help of the active scene
camera. For example it can generate contour lines, intersection lines
and crease lines to name a few.

This is really useful as artists can then use 3D meshes to automatically
generate grease pencil lines for characters, enviroments or other
visualization purposes.

These lines can then be baked and edited as regular grease pencil lines.

Reviewed By: Sebastian Parborg, Antonio Vazquez, Matias Mendiola

Differential Revision: https://developer.blender.org/D8758
March 16, 2021, 18:42 (GMT)
make_deps: Update blender package mirror URI

Final location in SVN was slightly different
than we were planning on.
March 16, 2021, 18:14 (GMT)
Geometry Nodes: Implicit conversion add int to color

Add implicit `int32 to Color4f` conversion. Matches `int32 to float3` conversion logic.

This may not be the most useful conversion but prevents an error in the Attribute Convert node.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10686
March 16, 2021, 18:04 (GMT)
Geometry Nodes: Implicit conversion change from distance to average

Use average instead of distance when converting from float3/float2 to float. This matches behaviour of shader nodes.

See: https://developer.blender.org/T86454

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10684
March 16, 2021, 17:56 (GMT)
VSE: Automatic proxy building

Build proxies automatically when added to sequencer timeline and when
switching preview size.

This behavior can be disabled in user preferences.

Reviewed By: sergey, fsiddi

Differential Revision: https://developer.blender.org/D10363
March 16, 2021, 17:50 (GMT)
VSE: Simplify proxy settings

- Remove Full Render size from VSE preview size. Use just 100% instead.
- Add Use Proxies checkbox to control whether proxies are used globally
- Move preview size to top so it is most prominent
- Set default to 100% preview size and use proxies

Reviewed By: sergey, fsiddi

Differential Revision: https://developer.blender.org/D10362
March 16, 2021, 17:50 (GMT)
FFmpeg: Improve proxy building performance

Use h264 codec for output. This codec produces smaller files, can be
multithreaded and decodes even faster than MJPEG.

Quality setting 0-100 corresponds to "Lowest Quality" to
"Perceptually Lossless" in Blender's h264 encoding presets.

All available cores are used for decoding.
Same goes for decoding but only for codecs that supports this
(h264, vp9 seems to support this option out of th box as well).
Other decoders can probably be optimized in similar way, but threaded
encoding provides significant boost already.

I have tested variety of codecs, and all were transcoded properly.

Reviewed By: sergey, fsiddi

Differential Revision: https://developer.blender.org/D10731
March 16, 2021, 17:35 (GMT)
Outliner: Refactor: Move overrides tree items to new CPP code.

Fairly straight forwards.

Also fixes the bug from recent refactor that would not show overrides as
a tree, but as a flat list directly under IDs.
March 16, 2021, 16:26 (GMT)
Dopesheet Context Menu updates

Dopesheet context menu rearranging to include proper operators for Grease Pencil submode

Before:
{F9828095}

After:
{F9828096}

Reviewed By: antoniov, pablovazquez

Differential Revision: https://developer.blender.org/D10502
March 16, 2021, 16:08 (GMT)
CMake/deps: Updated deps build requirements prompt for macOS arm64

Building deps on macOS arm64 has slightly different requirements.
Belongs to 4b3dcd80698a
March 16, 2021, 16:08 (GMT)
Libraries: Fix deps build on macOS arm64

Minor adjustments that were missing when D10598 landed.
March 16, 2021, 15:57 (GMT)
LibOverride: tweak log messages, fix crash in log code.

One of the log call could use freed memory.
March 16, 2021, 15:57 (GMT)
LibOverride: Resync: Fix too many objects being rooted in master collection.

No need to instantiate systematically the root object if it is already
instantiated in the scene...

Issue reported by the studio.
March 16, 2021, 15:57 (GMT)
LibOverride: Resync: Fix most remaining 'overrides in master collection' issues.

Problem is, when a collection is excluded from the scene, none of its
objects are technically instantiated.

This should not happen when *creating* an override, but can be fairly
common during resync process.

For now, use a lesser precise check in resync case, only relying on
object usercount. This might lead to some objects being left without any
collection in some rare weird case, but this cannot really be avoided
currently.
March 16, 2021, 15:48 (GMT)
Python GPU: Improve the Python GPU API documentation

This fixes some errors of continuity and consistency of formatting on
https://docs.blender.org/api/current/gpu.html

This also details the description of some parameters.

Differential Revision: https://developer.blender.org/D10531
March 16, 2021, 14:31 (GMT)
Fix T86612 EEVEE: Wrong AmbientOcclusion on refractive materials

This is because the refractive materials were using the deferred AO
computation instead of tracing their own.
March 16, 2021, 14:08 (GMT)
Cleanup: NULL -> nullptr.
March 16, 2021, 14:03 (GMT)
Cleanup: Remove unimplemented declarations.
March 16, 2021, 14:03 (GMT)
Cleanup: Removed commented out code.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021