Blender Git Commits

Blender Git "master" branch commits.

Page: 377 / 5574

February 22, 2021, 11:20 (GMT)
Fix i18n messages extraction tool after update to support py 3.10.

The new defferred approach broke existing way to access items from
struct definition...

See T85872.
February 22, 2021, 10:20 (GMT)
Fix missing NULL check on macOS when system-python isn't found

Regression from cafd6b519c5f5c4b67d0dfe3d453cd4223b38716.

D10494 by @ysano with edits.
February 22, 2021, 09:29 (GMT)
Cleanup: unused variable
February 22, 2021, 03:11 (GMT)
Added a cast needed to shut up an error in last commit.
February 21, 2021, 23:22 (GMT)
Fix Cycles world volume scattering missing light in some cases

With very large distances there were precision / overflow errors, normalize
the average albedo to avoid that. This was causing test failures on macOS
Arm, but also other architectures had slightly wrong results.

Ref T78710
February 21, 2021, 22:57 (GMT)
Change Exact Boolean modifier to skip round trip through BMesh.

The Exact modifier code had been written to avoid using BMesh but
in the initial release the modifier still converted all Meshes to
BMeshes, and then after running the boolean code on the BMeshes,
converted the result back to a Mesh.
This change skips that. Most of the work here is in getting the
Custom Data layers right. The approach taken is to merge default
layers from all operand meshes into the final result, and then
use the original verts, edges, polys, and loops to copy or interpolate
the appropriate custom data layers from all operands into the result.
February 21, 2021, 16:34 (GMT)
CMake/Deps: OpenEXR 2.5.5
February 21, 2021, 16:32 (GMT)
UI: Correct the text alignment in the quick setup (splash screen) dialog

The "quick setup" dialog is actually a 'menu', and the "splash screen" block
contains the UI_BLOCK_LOOP flag which causes the buttons' text to align
to the left, however, usually regular buttons have centered text.

As a workaround, add the UI_BLOCK_QUICK_SETUP flag which prevents
the text from being left-aligned.

Differential Revision: https://developer.blender.org/D10486

Reviewed by: Julian Eisel
Revision e6b7905 by Julian Eisel
February 21, 2021, 16:32 (GMT)
Fix memory leak when loading previous preferences from splash screen

When opening a Blender version for which there are no preferences, the splash
shows a button like "Load 2.92 Settings". Using this could cause a memory leak
of the storage for recently opened files.
February 21, 2021, 11:37 (GMT)
PyAPI: use postponed annotations to support Python 3.10

Support Python 3.10a5 or 3.9x with support explicitly enabled.

- Enable Python's postponed annotations for Blender's RNA classes
types registered on startup.

- Using postponed annotations has implications for how they are defined,
since they must evaluate in the modules name-space instead of the
classes name-space. See changes to annotations in `release/scripts`.

- Use `from __future__ import annotations` at the top of the module
to ensure the script will run with Python 3.10.

- Old logic is kept since it could be used if PEP-649 is supported.

Resolves T83626

Ref D10474
February 21, 2021, 10:15 (GMT)
PyAPI: expose bpy_prop_deferred function & keywords

While not needed for Blender, Animation Nodes uses this information,
expose this information for scripts to access that need it.
February 21, 2021, 09:55 (GMT)
Cleanup: remove unused layers property from template

Also remove unused imports.
February 21, 2021, 08:48 (GMT)
Cleanup: remove duplicate settings from operator_mesh_add template

Also move align items into the enum call as there is no need to have
this accessible from the class.
February 21, 2021, 00:52 (GMT)
Fix T85714 Crash when Viewport Rending an image using EEVEE.

Was caused by non initialized render_timesteps.
February 21, 2021, 00:33 (GMT)
EEVEE: Ambient Occlusion: Refactor

- Fix noise/banding artifact on distant geometry.
- Fix overshadowing on un-occluded surfaces at grazing angle producing "fresnel"
like shadowing. Some of it still appears but this is caused to the low number
of horizons per pixel.
- Improve performance by using a fixed number of samples and fixing the
sampling area size. A better sampling pattern is planned to recover
the lost precision on large AO radius.
- Improved normal reconstruction for the AO pass.
- Improve Bent Normal reconstruction resulting in less faceted look on
smoothed geometry.
- Add Thickness heuristic to avoid overshadowing of thin objects.
Factor is currently hardcoded.
- Add bent normal support to Glossy reflections.
- Change Glossy occlusion to give less light leaks from lightprobes.
It can overshadow on smooth surface but this should be mitigated by
using SSR.
- Use Bent Normal for rough Glossy surfaces.
- Occlusion is now correctly evaluated for each BSDF. However this does make
everything slower. This is mitigated by the fact the search is a lot faster
than before.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Remove SSR variant with AO

AO is always on in this case.
February 21, 2021, 00:33 (GMT)
EEVEE: Planar Reflections: Fix regression

Fix regression with roughness not masking reflections when not using
Screen Space raytracing.

The trick was to only evaluate one planar per pixel, the one with
the most influence. This should not be too limiting since this is what
we do for SSR.

Also change evaluation order do not apply occlusion on planars probes.
February 21, 2021, 00:33 (GMT)
GPU: Add RGB10_A2 format support

Nice format to output high definition normals or normalized colors.
February 21, 2021, 00:33 (GMT)
GPU: Add define to ouput more context lines for GLSL errors

This is work in progress, but it is very useful even as it is.
February 21, 2021, 00:33 (GMT)
EEVEE: Ambient Occlusion Node: Support inverted and distance parameters

This adds an approximation of inverted AO by reversing the max horizon
search (becoming a min horizon). The horizons are correctly clamped in
the reverse direction to the shading and geometric normals.

The arc integration is untouched as it seems to be symetrical.

The limitation of this technique is that since it is still screen-space
AO you don't get other hidden surfaces occlusion. This is more
problematic in the case of inverted AO than for normal AO but it's
better than no support AO.

Support of distance parameter was easy thanks to recent AO refactor.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021