Blender Git Loki

Kaikki Blender Git kommitit.

Page: 748 / 8462

April 8, 2021, 22:01 (GMT)
Geometry Nodes Curves: Apply scale instead of set scale
April 8, 2021, 21:38 (GMT)
USD Import: Code cleanup.

Per review for D10700, simplified conditionals when
filtering prims by purpose.
April 8, 2021, 21:33 (GMT)
Geometry Nodes Curves: Fix radius interpolation
April 8, 2021, 21:13 (GMT)
EEVEE: Depth Of Field: Fix ortho factor

When will it end? Is there some UB somewhere in cycles?
April 8, 2021, 21:11 (GMT)
EEVEE: Sampling: Add UBO containing LDS random numbers

We have many dimensions to avoid correlation between effects.
April 8, 2021, 21:08 (GMT)
USD Import: fixed conditional statement.
April 8, 2021, 21:00 (GMT)
Geometry Nodes Curves: Add "owns direct data" functions
April 8, 2021, 20:46 (GMT)
Merge branch 'master' into geometry-nodes-curve-support
Revision 500045a by Hans Goudey (master)
April 8, 2021, 19:32 (GMT)
Geometry Nodes: Support volumes in the bounding box node

Where possible, nodes in the "Geometry" category should support all
geometry component types. This adds support for volumes in the
recently added bounding box node, based on functions added in the
previous two commits.

Differential Revision: https://developer.blender.org/D10906
Revision 57fe650 by Hans Goudey (master)
April 8, 2021, 18:44 (GMT)
BKE: Refactor volume bounding box code

This commit splits of the function that generates a bounding box for a
volume into a new function, so that the min and max coordinate can
be retrieved from volume data without an object. Also some cleanup:
using the float3 type.
Revision 0e2a1ef by Hans Goudey (master)
April 8, 2021, 18:28 (GMT)
BKE: Add a utility to transform a shallow copy of a volume grid

Often you need to apply a transformation to a grid without changing the
original, and it's necessary to avoid a deep copy of the actual data.
OpenVDB has a function to do this, this commit simply adds a wrapper
to transform and use that function with blender's `float4x4` data type.

Split from D10906
Revision 223093e by Hans Goudey (master)
April 8, 2021, 18:07 (GMT)
Cleanup: Remove unused includes, use consistent order
April 8, 2021, 17:57 (GMT)
USD Import: revert custom data layer definitions.

Per review for D10700, removing custom data definitions originally
added for attribute import, as this change requires further
discussion and as additional work is required to complete
the implementation.
April 8, 2021, 17:20 (GMT)
Cycles: Partial fix for the viewport passes

Blender's addon should use same constants as the PassType.

One thing which is still not working in viewport is Emission and
Background passes when there is an object with Glass shader: the
object is still shaded. The final F12 render of the Emission and
background is correct. So not immediately clear what's the issue.
Revision 1ec9ac2 by Hans Goudey (master)
April 8, 2021, 17:19 (GMT)
Geometry Nodes: Support instances in attribute search

Previously only attributes of "real" geometry were displayed in
attribute search. This commit adds code to look through attributes
on instances and add those to the search drop-down too.

This required implementing the same sort of recursive traversal as
the realize instances code. The situation is a bit different though,
this can return early and doesn't need to keep track of transforms.

I added a limit so that it doesn't look through the attributes of
too many instanced geometry sets. I think this is important, since
this isn't a trivial operation and it could potentially happen for
every node in a large node tree. Currently the limit is set at 8
geometry sets, which I expect will be enough, since the set of
attributes is mostly not very unique anyway.

Fixes T86282

Diffrential Revision: https://developer.blender.org/D10919
Revision fd414b4 by Hans Goudey (master)
April 8, 2021, 17:00 (GMT)
Cleanup: Use const arguments for volume code

The problem was that you could getting write access to a grid from a
`const Volume *` without breaking const correctness. I encountered this
when working on support for volumes in the bounding box node. For
geometry nodes there is an important distinction between getting data
"for read" and "for write", with the former returning a `const` version
of the data.

Also, for volumes it was necessary to cast away const, since all of
the relevant functions in `volume.cc` didn't have const versions. This
patch adds `const` in these places, distinguising between "for read"
and "for write" versions of functions where necessary.

The downside is that loading and unloading in the global volume cache
needs const write-access to some member variables. I see that as an
inherent problem that comes up with caching that never has a beautiful
solution anyway.

Some of the const-ness could probably be propogated futher in EEVEE
code, but I'll leave that out, since there is another level of caching.

Differential Revision: https://developer.blender.org/D10916
April 8, 2021, 16:59 (GMT)
Fix T87232: Crash when evaluating object with unsupported modifier

Fix `nullptr` redeference when setting 'orig_data' pointers on CoW copies,
by stopping the loop also when `element_cow == nullptr`. This avoids a
crash of Blender when the original list of pointers is longer than the
CoW list of pointers.

I've also added a `BLI_assert()` that checks for equal lengths of the
two `ListBase`s, so that problems like these aren't hidden away completely.

The root cause of the crash was actually a modifier that was assigned to
an object of the wrong type (an Armature object doesn't support modifiers).
This caused the list of modifiers on the CoW copy to be shorter than the
list of modifiers on the original Object. It's still a mystery how that
object got that modifier in the first place.
April 8, 2021, 16:56 (GMT)
Small changes for debugging.
April 8, 2021, 16:51 (GMT)
VSE: Fix crash when building proxy

When video file for strip doesn't exist, building crashes on NULL
dereference.

This check was removed by 04e1feb83051.
April 8, 2021, 16:44 (GMT)
VSE: Fix building image proxies

Broken by 04e1feb83051

Caused by accidentaly moving `SEQ_proxy_rebuild_finish` outside of
`if (nseq->type == SEQ_TYPE_MOVIE)` condition in function
`SEQ_proxy_rebuild_context()`.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021