Blender Git Loki

Kaikki Blender Git kommitit.

Page: 285 / 8462

August 30, 2021, 08:47 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
August 30, 2021, 07:20 (GMT)
Cycles-X: Change viewport update system to be time based rather than sample based on fast devices

The viewport update speed when rendering with infinite samples has been changed to work based primarily on time since render start rather than sample count.

This change has been made because if you have a device fast enough to exceed 32 samples in 0.1 seconds, then the next viewport update you'll observe is 2 seconds after `render start` which can be annoying for anyone wishing to quickly iterate on fine details as `render start` is usually a 1 sample per pixel image meaning fine detail is lost in noise or overly blurred by a denoiser.

This change was made possible with help from Will Rusthon (a friend) and Blender developers.

Here is an example video of the issue (some of the "viewport changes" you see are due to compression artifacts to keep the video small):
{F10290321}

And here is my fix tested (the second demo with the caustics is there to show that the viewport updates reduce as time goes on. It's easier to see in the caustics scene due to the fireflies. This is important because reduced viewpoint updates means faster ray tracing. The difference is that with this patch the slow viewport update (once every 2 seconds) has been moved to after rendering for 8 seconds rather than occurring at 32 samples which could happen really quickly with simplistic scenes. Also the denoiser stopping at the end of the video has been fixed and is currently in the patch available for review):
{F10290508}

Reviewed By: sergey, leesonw

Differential Revision: https://developer.blender.org/D12265
August 30, 2021, 05:28 (GMT)
Merge branch 'master' into subdivision_work
August 30, 2021, 04:27 (GMT)
Geometry Nodes: Curve Fill Node

This node takes a curve geometry input and creates a filled mesh at Z=0
using a constrained Delaunay triangulation algorithm. Because of the
choice of algorithm, the results should be higher quality than the
filling for 2D curve objects.

This commit adds an initial fairly simple version of the node, but more
features may be added in the future, like transferring attributes when
necessary, or an index attribute input to break up the calculations
into smaller chunks to improve performance.

Differential Revision: https://developer.blender.org/D11846
Revision 41eb337 by Hans Goudey (master)
August 30, 2021, 03:12 (GMT)
Cleanup: Add comment about suspicious O(n^3) loop
August 30, 2021, 03:08 (GMT)
Geometry Nodes: Enhance the cube mesh primitive as a cuboid

This mesh primitive enhances the Cube mesh primitive and allows the
creation of a cuboid with a configurable size and number of vertices
in all 3 directions. The Cube primitive is now similar to the Grid
primitive except that it works in 3 dimensions.

Previously it was possible to create a cube and scale it arbitrarily
along each axis. You could also subdivide the mesh, but the number of
subdivisions was equal along all axes. This meant that making the basic
frame for something like modular buildings wasn't trivial.

Inspired by tutorials and files for modular building creation.

The cuboid is created as a `Mesh` so that large meshes with millions of
faces are created quickly. Though edge calculation could be faster if
implemented here, edges are calculated using `BKE_mesh_calc_edges`
to reduce complexity, and in hopes that they may be calculated lazily
for `Mesh` in the future like vertex normals.

See the differential revision for more information.

Differential Revision: https://developer.blender.org/D11810
August 29, 2021, 23:05 (GMT)
Sculpy dyntopo: fixed various topology bugs

* Fixed crash in dyntopo collapse. The
loops around vertex iterator dyntopo uses
doesn't actually work on non-manifold meshes,
or meshes with invalid normals, this was not
being checked in pbvh_bmesh_collapse_edge.
* Rotate tool now works with dyntopo.
August 29, 2021, 21:59 (GMT)
VSE: Selection in preview area

Just basic select operator only with extend mode

This patch requires D12208, D12105 and D12320.

Differential Revision: https://developer.blender.org/D12343
August 29, 2021, 21:39 (GMT)
Geometry Nodes: Allow for one vertex in grid node

This commit allows setting the number of vertices in either direction
to 1, so that the primitive grid node will create a line instead of a
grid. To avoid confusion the soft limits of the input sockets are not
changed, so this is purely an increase in flexibility for when it is
helpful.

Differential Revision: https://developer.blender.org/D11772
August 29, 2021, 21:30 (GMT)
Fix: Circle mesh primitive outer edges do not render

The outer edges created om the circle mesh primitive node
weren't marked with the flags that makes them show in wireframe
mode.

Differential Revision: https://developer.blender.org/D12152
August 29, 2021, 19:44 (GMT)
Merge branch 'arcpatch-D12320' into transform-preview-select
August 29, 2021, 19:40 (GMT)
Limit transform and gizmos to strips that are selected and visible at current frame
August 29, 2021, 19:40 (GMT)
VSE: Use transform operator in preview

Initial implementation, not extensively tested, there may be bugs

ref T90156

Maniphest Tasks: T90156

Differential Revision: https://developer.blender.org/D12105
August 29, 2021, 19:40 (GMT)
VSE: Add image transform gizmos

Patch based on D12105

Add transform tools and gizmos to sequencer preview area.

TODO:
- Caclculate center position for combined selection
- Limit selection in time
- Scale always works in local coords, but gizmo doesn't represent this
- Cage transform needs initial implementation for sequencer data

Differential Revision: https://developer.blender.org/D12208
August 29, 2021, 19:40 (GMT)
Calculate gizmo center point and rotation.
August 29, 2021, 19:29 (GMT)
Now I forgot that I did prior change here, so values were incorrect :(
August 29, 2021, 19:16 (GMT)
Fix unsaved change
August 29, 2021, 19:14 (GMT)
VSE: Use transform operator in preview

Initial implementation, not extensively tested, there may be bugs

Differential Revision: https://developer.blender.org/D12105
August 29, 2021, 17:54 (GMT)
Change where new obj exporter writes temp files.

The code was writing relative to the test_release_dir flag,
but this didn't make a lot of sense.
Better to use Blender's tempdir mechanism, though since Blender
isn't fully initialized when using it for gtests, we have
to call the function to initialize the tempdir.
August 29, 2021, 17:28 (GMT)
Refactor procedure building to add proper destructs, to use stacks

This still doesn't really work, but it solves a fundamental problem
with the order I was adding destruct calls for intermediate values.
The current problem is that the variables that a function depends
on (its inputs) are not added first, so basically a problem with the
traversal of the field network.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021