Blender Git Loki

Blender Git commits from all branches.

Page: 345 / 2888

June 4, 2021, 13:08 (GMT)
Cycles X: restore shader raytracing for AO and bevel nodes

Adds a dedicated shade_surface_raytrace kernel to avoid slowing down the other
shaders on the GPU, as happened before.

Differential Revision: https://developer.blender.org/D11418
June 4, 2021, 13:08 (GMT)
Cleanup: remove unused KernelGlobals struct from OptiX kernels
June 4, 2021, 12:58 (GMT)
Generate task_id from task_counter.
June 4, 2021, 12:17 (GMT)
Fix build error after merging master
June 4, 2021, 12:12 (GMT)
Merge branch 'master' into temp-spreadsheet-row-filter
June 4, 2021, 10:59 (GMT)
GPU: Thread safe index buffer builders.

Current index builder is designed to be used in a single thread.
This makes all index buffer extractions single threaded.
This patch adds a thread safe solution enabling multithreaded
building of index buffers.

To reduce locking the solution would provide a task/thread local
index buffer builder (called sub builder).
When a thread is finished this thread local index buffer builder
can be joined with the initial index buffer builder.

`GPU_indexbuf_subbuilder_init`: Initialized a sub builder. The
index list is shared between the parent and sub buffer, but the
counters are localized. Ensuring that updating counters would
not need any locking.

`GPU_indexbuf_subbuilder_finish`: merge the information of the
sub builder back to the parent builder. Needs to be invoked outside
the worker thread, or when sure that all worker threads have been
finished. Internal the function is not thread safe.

For testing purposes the extract_points extractor has been migrated to
the new API. Herefore changes to the mesh extractor were needed.

* When creating tasks, the task number of current task is stored in
ExtractTaskData including the total number of tasks.
* The total number of tasks will be passed as parameter to the init
function. In the init function needed space can be reserved in the
userdata.
* Adding two functions in `MeshExtract`.
** `task_init` will initialize the task specific userdata.
** `task_finish` should merge back the task specific userdata back.
* adding task_id parameter to the iteration functions so they can
access the correct data inside the user data without any need for
locking.

Maniphest Tasks: T88822

Differential Revision: https://developer.blender.org/D11499
June 4, 2021, 10:41 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
June 4, 2021, 10:18 (GMT)
Merge branch 'master' into xr-controller-support
June 4, 2021, 10:10 (GMT)
XR: Add teleport navigation operator

Mostly the same as the XR raycast select operator. Users can
optionally constrain the result to specific axes, for example to
achieve "elevation snapping" behavior by constraining to the Z-axis.

Credit to KISKA for the elevation snapping concept.
June 4, 2021, 10:01 (GMT)
XR: Add initial navigation support

Adds navigation transforms (pose, scale) to the XR session state
that will be applied to the viewer/controller poses.

Users can access these transforms via Python
(xr_session_state.navigation_location/rotation/scale) to use with
custom operators.
June 4, 2021, 08:47 (GMT)
Merge branch 'master' into greasepencil-object
June 4, 2021, 04:19 (GMT)
USD export: consistent camera aperature export.

The current camera aperature export code computes
the aperature setting based on the camera sensor
and the scene's render resolution. This is not
consistent with how the camera sensor is set on
import and causes unintuitive behavior where the
camera export gives different results base on
the a given scene's render settings. This needs
to be revisited, but, for now, setting the aperature
alues directly from the camera sensor components.
June 4, 2021, 03:42 (GMT)
Merge branch 'nv-usd-importer' of https://gitlab-master.nvidia.com/omniverse/blender into omniverse
June 4, 2021, 03:30 (GMT)
USD camera import fixes.

Now setting sensor values from USD aperature components. Setting
shift values to be consistent with Alembic code. Added logic
to enable the camera's dof flag if USD focus distance and fstop
are non-zero. Now using the GfCamera class to query camera
properties. Added null guard for object data.
June 4, 2021, 01:06 (GMT)
tmp
June 4, 2021, 00:34 (GMT)
EEVEE: GBuffer: Fix undefined behavior

When evaluating surfaces, the deferred passes needs to sample the
depth buffer. But it also test against the stancil buffer.

Moreover the sampler needs to be a 2D sampler which is not the case
for cubemaps and texture2Darrays.

To overcome this we simply copy the gbuffer depth to another
temp texture using framebuffer blitting.
June 4, 2021, 00:33 (GMT)
EEVEE: Remove light specular during baking & fix bounce light
June 3, 2021, 20:46 (GMT)
Merge branch 'master' into sculpt-dev
June 3, 2021, 18:40 (GMT)
Merge branch 'master' into temp-geometry-nodes-curve-deform-node
June 3, 2021, 18:24 (GMT)
Merge branch 'master' into sculpt-dev
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021