Blender Git Loki

Kaikki Blender Git kommitit.

Page: 253 / 8462

September 11, 2021, 20:38 (GMT)
Dyntopo sculpt: fix bug with boundary flags
Revision 1540568 by Hans Goudey (master)
September 11, 2021, 20:00 (GMT)
Cleanup: Remove no-op/unused code
Revision b9febb5 by Hans Goudey (master)
September 11, 2021, 18:54 (GMT)
Geometry Nodes: Support modifier on curve objects

With this commit, curve objects support the geometry nodes modifier.

Curves objects now evaluate to `CurveEval` unless there was a previous
implicit conversion (tessellating modifiers, mesh modifiers, or the
settings in the curve "Geometry" panel). In the new code, curves are
only considered to be the wire edges-- any generated surface is a mesh
instead, stored in the evaluated geometry set.

The consolidation of concepts mentioned above allows remove a lot of
code that had to do with maintaining the `DispList` type temporarily
for modifiers and rendering. Instead, render engines see a separate
object for the mesh from the mesh geometry component, and when the
curve object evaluates to a curve, the `CurveEval` is always used for
drawing wire edges.

However, currently the `DispList` type is still maintained and used as
an intermediate step in implicit mesh conversion. In the future, more
uses of it could be changed to use `CurveEval` and `Mesh` instead.

This is mostly not changed behavior, it is just a formalization of
existing logic after recent fixes for 2.8 versions last year and two
years ago. Also, in the future more functionality can be converted
to nodes, removing cases of implicit conversions. For more discussion
on that topic, see T89676.

The `use_fill_deform` option is removed. It has not worked properly
since 2.62, and the choice for filling a curve before or after
deformation will work much better and be clearer with a node system.

Applying the geometry nodes modifier to generate a curve is not
implemented with this commit, so applying the modifier won't work
at all. This is a separate technical challenge, and should be solved
in a separate step.

Differential Revision: https://developer.blender.org/D11597
September 11, 2021, 18:16 (GMT)
Knife: Moved code to world space

This patch migrates the knife tool code to use world space coordinates instead of object space.
This is required to implement the ability to cut across multiple objects at once and the ability to use the geometry of other objects as a cutting reference.

This introduces precision errors for objects with very large scale or location, however it may be possible to add a switch between world space and object space coordinates depending on whether the user is in multi-object edit mode or not.
September 11, 2021, 16:07 (GMT)
Calm Warning: Unused Variable

Calms warning for unused variable in `constraint_copy_to_selected_poll`
by using UNUSED_VARS.

See D12453 for further details

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

Reviewed by Campbell Barton
September 11, 2021, 13:42 (GMT)
Compositor: Full frame previews

Adds full frame implementation to PreviewOperation.

Part of T88150.
September 11, 2021, 13:42 (GMT)
Compositor: Fix crash when hashing unconnected operations

It was causing some tests to fail when enabling Full Frame mode.
September 11, 2021, 13:16 (GMT)
Compositor: Fix crash when hashing unconnected operations

It was causing some tests to fail when enabling Full Frame mode.
September 11, 2021, 13:16 (GMT)
Compositor: Full frame previews

Adds full frame implementation to PreviewOperation.

Part of T88150.
September 11, 2021, 11:23 (GMT)
LineArt: Cleanup trimming patch.
September 11, 2021, 11:07 (GMT)
LineArt: Cleanup smooth patch.
September 11, 2021, 11:05 (GMT)
Geometry Nodes: add field support for socket inspection

Since fields were committed to master, socket inspection did
not work correctly for all socket types anymore. Now the same
functionality as before is back. Furthermore, fields that depend
on some input will now show the inputs in the socket inspection.

I added support for evaluating constant fields more immediately.
This has the benefit that the same constant field is not evaluated
more than once. It also helps with making the field independent
of the multi-functions that it uses. We might still want to change
the ownership handling for the multi-functions of nodes a bit,
but that can be done separately.

Differential Revision: https://developer.blender.org/D12444
September 11, 2021, 10:41 (GMT)
Cleanup: use nullptr
September 11, 2021, 09:55 (GMT)
Fix: Deselecting edges in sticky vertex mode

Fixes the bug where deselecting an UV edge in sticky vertex mode would
deselect the UV vertices as well.
September 11, 2021, 09:43 (GMT)
Functions: store cursors to previous instructions

Now an instruction knows the cursors where it is inserted instead
of just the instruction that references it. This has two benefits:
* An instruction knows when it is the entry instruction.
* The cursor can contain more information, e.g. if it is linked to the
true or false branch of a branch instruction.

This also simplifies updating the procedure in future optimization
passes.
September 11, 2021, 09:13 (GMT)
LineArt: Better smoothing algo.
September 11, 2021, 06:27 (GMT)
Fix memory leak in non primitive collision shape

- The previous commit didn't fix the leak as the mesh data was not being freed every draw call
- Now the mesh is generated during evaluation along with the physics shape.
- The collisions shape draw data mesh is stored in the shared struct, along with the physics references
September 11, 2021, 05:09 (GMT)
Merge branch 'temp-lineart-contained' into lineart-shadow
September 11, 2021, 05:08 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
Revision 6ae8de4 by Hans Goudey (master)
September 11, 2021, 04:21 (GMT)
Cleanup: Rename variables, simplify logic

Mostly renaming the variables to improve line wrapping.
But also the "foreach_attribute" loops look simpler now.
Also use `Spline::copy_base_settings` and don't bother
with an extra call to reallocate the attribute arrays.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021