Blender Git Commit Log

All Blender Git commits.

Page: 163 / 8462

October 15, 2021, 13:42 (GMT)
Fix T92128: Cycles CUDA wrong hair attributes, after recent changes
October 15, 2021, 13:42 (GMT)
Fix Cycles Python error with pinned materials in properties editor
October 15, 2021, 13:42 (GMT)
Cleanup: refactor to make number of channels for shader evaluation variable
October 15, 2021, 13:42 (GMT)
Cleanup: add utility functions for packing integers
October 15, 2021, 13:42 (GMT)
Cleanup: don't copy constant memory to GPU multiple times for displacement
October 15, 2021, 13:42 (GMT)
Cleanup: refactor OptiX shadow intersection for upcoming changes
October 15, 2021, 13:42 (GMT)
Cleanup: refactor BVH2 shadow intersection for upcoming changes
October 15, 2021, 12:00 (GMT)
Prepare ground for bool and int attributes.
October 15, 2021, 11:50 (GMT)
Separate attribute and VBO types for the conversion.

Also do not promote readily all attributes to float4.
October 15, 2021, 11:39 (GMT)
Geometry Nodes: fix getting mutable geometry component

The previous code did not take into account that they geometry
component may not be mutable because it is shared between
multiple geometry sets.
October 15, 2021, 11:31 (GMT)
Merge branch 'master' into temp-abc-features
October 15, 2021, 10:38 (GMT)
Fix wrong DNA struct element lookup in versioning

The type of the element is `short`, not `int`. Harmless since this was checking
for a specific version anyway.
October 15, 2021, 10:21 (GMT)
Fix precision issues and a bug in vec_roll_to_mat3_normalized.

When the input vector gets close to -Y, y and theta becomes totally
unreliable. It is thus necessary to compute the result in a different
way based on x and z. The code already had a special case, but:

- The threshold for using the special case was way too low.
- The special case was not precise enough to extend the threshold.
- The special case math had a sign error, resulting in a jump.

This adds tests for the computation precision and fixes the issues
by adjusting the threshold, and replacing the special case with one
based on a quadratic Taylor expansion of sqrt instead of linear.

Replacing the special case fixes the bug and results in a compatibility
break, requiring versioning for the roll of affected bones.

Differential Revision: https://developer.blender.org/D9551
October 15, 2021, 10:18 (GMT)
Split and extend unit tests for vec_roll_to_mat3_normalized.

Separate the huge test into huge logical parts and add more cases
to check. Also add a utility to check that the matrix is orthogonal,
with arbitrary epsilon values and calculations in double.

A couple of tests deliberately fail, to be fixed in following commits.

Ref D9551
October 15, 2021, 10:18 (GMT)
Fix T82455: vec_roll_to_mat3_normalized returns NaN when nor close to -Y.

In this case theta is completely unsafe to use, so a different
threshold based on x and z has to be used to avoid division by zero.

Ref D9551
October 15, 2021, 10:12 (GMT)
Fix T92131: handle node declaration in material properties

The issue was that this menu was only looking at socket templates,
but not at the new node declarations. This fix is to just check those
as well. The fix comes with a small refactor that makes the memory
management a bit simpler.

Differential Revision: https://developer.blender.org/D12866
October 15, 2021, 09:54 (GMT)
UI: Fix offset of vertical scale indicators

`BLF_height_max()` uses the tallest character in the font, and many characters
in our font are taller than numbers. Use `BLF_height` with `0` as reference instead.

Fix by @harley, thanks!
October 15, 2021, 09:42 (GMT)
Cleanup: Commonize code for checking scene lights/world settings

There were several places attempting to check to see if scene lights
and world were enabled for display. This tries to find a common place
for both of these to reduce duplication.

Honestly, I couldn't find a really good spot for these and settled on
DRW_engine. It's not the best spot since they're not strictly drawing
related, but let's start here.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12658
October 15, 2021, 09:24 (GMT)
Fix T92226 EEVEE: AO misaligned on first sample

Caused by tricky state tracking. `GPU_framebuffer_bind()` is updating
the framebuffer on first time and will reset the viewport state of it.
October 15, 2021, 09:17 (GMT)
Fix is_repeat being set for in between mouse-move events
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021