Blender Git Loki

Kaikki Blender Git kommitit.

Page: 30 / 8462

December 10, 2021, 10:28 (GMT)
Cleanup: spelling in comments
December 10, 2021, 09:41 (GMT)
Merge branch 'master' into temp-gpu-image-engine
December 10, 2021, 09:37 (GMT)
Fix Crash: Loading Huge Images.

When loading huge images (30k) blender crashed with a buffer overflow.
The reason is that determine the length of a buffer was done in 32bit
precision and afterwards stored in 64 bit precision.

This patch adds a new function to do the correct calculation in 64bit.
It should be added to other sections in blender as well. But that should
be tested on a per case situation.
December 10, 2021, 08:31 (GMT)
Merge branch 'master' into temp-gpu-image-engine
December 10, 2021, 08:09 (GMT)
Fix T92036: `Magic Texture` in Volumetric World Shaders render differently with the CPU and GPU

When rendering volume surfaces in unbounded worlds the volume stepping can produce large values. If used with a magic texture node the values can results in a Inf float which when used in a sin or cos produces a NaN.

To fix this the input values are mapped into the periodic range of the sin and cos functions (-2*PI 2*PI) this stops the possibility of a Inf occurring and thus the NaN. It also improves the accuracy and smoothness of the result due to loss of precision when large values are summed with smaller ones effectively removing the parts of the smaller number (i.e. those in the -2PI to 2PI range) that result in variation of the output of sin and cos.

Reviewed By: brecht

Maniphest Tasks: T92036

Differential Revision: https://developer.blender.org/D12821
December 10, 2021, 01:19 (GMT)
Cleanup: move public doc-strings into headers for 'depsgraph'

- Added space below non doc-string comments to make it clear
these aren't comments for the symbols directly below them.
- Use doxy sections for some headers.

Ref T92709
Revision dffd032 by Hans Goudey (master)
December 9, 2021, 23:43 (GMT)
Geometry Nodes: Remove unnecessary copy when replacing data

In the `replace_mesh`/`replace_curve` etc. methods, the component
was retrieved with write access. Retrieving with write access will
duplicate the data if the component has another user. This means that
the replaced geometry data was often duplicated just to be deleted
a moment later.

I expect this would have a large impact in performance in some specific
situations when dealing with large geometry. In a scene with many small
meshes though, I didn't observe a significant difference.

This also makes replacing a geometry set's data with the same data
that's already in the set safe. It would be valid to assert for that
case instead, but this seems safer.

Differential Revision: https://developer.blender.org/D13530
December 9, 2021, 23:08 (GMT)
Cleanup: Remove redundant code
December 9, 2021, 22:04 (GMT)
Merge branch 'master' into subdivision_work
December 9, 2021, 21:51 (GMT)
Fix for disabled GPU evaluation in viewport when the modifier is
disabled for final renders.
December 9, 2021, 21:44 (GMT)
Merge branch 'master' into temp-vert-normals-cleanup
December 9, 2021, 21:17 (GMT)
Fix T93687: Transform Gpencil vertices not working if scale is zero

Solution similar to rBd5cefc1844cf.

Basically the problem occurs because `td->smtx` was set to zero matrix.
Revision 74a566d by Hans Goudey (master)
December 9, 2021, 20:34 (GMT)
Cleanup: Return early in null check

I'm planning to make these functions slightly more complicated,
and it makes sense to return early when checking one of the parameters
for null anyway.
December 9, 2021, 20:30 (GMT)
Fix: Incorrect assert
December 9, 2021, 20:20 (GMT)
Merge branch 'master' into temp-vert-normals-cleanup
December 9, 2021, 19:54 (GMT)
Fix Cycles wrong adaptive sampling render when using sample offset

Sample offset was not accounted for in the adaptive sampling code and caused
issues, like immediately applied adaptive filtering, with non-zero values.

Differential Revision: https://developer.blender.org/D13510
December 9, 2021, 19:52 (GMT)
Cleanup: use more modern C++ in Cycles merge operator

Use structured binding and for-each loop, remove reduntant type casts, use
find_if instead of loop.

Differential Revision: https://developer.blender.org/D13456
December 9, 2021, 19:52 (GMT)
Cycles: support merging images rendered with adaptive sampling

This patch adds support for merging images rendered with adaptive sampling to
the merge operator (which is currently only exposed in the Python API).

To do this an sample count buffer is created for each render layer from the
sample count pass if it exists, or from the metadata otherwise. This is then
used for averaging passes.

Differential Revision: https://developer.blender.org/D13457
December 9, 2021, 17:50 (GMT)
Geometry Nodes: Scene Time Node

This node outputs the current scene time in seconds or in frames.
Use of this node eliminates the need to use drivers to control values
in the node tree that are driven by the scene time.
Frame is a float value to provide for subframe rendering for motion
blur.

Differential Revision: https://developer.blender.org/D13455
December 9, 2021, 17:17 (GMT)
Fix T93498: Cycles fast GI add method affected by bounces settings

This is only for the replace method.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021