Blender Git Commit Log

All Blender Git commits.

Page: 784 / 8462

March 26, 2021, 14:51 (GMT)
Fix Cycles crash when changing number of threads at runtime

Create a local arena with exact number of threads, so that the
`tbb::this_task_arena::current_thread_index` returns proper index.

Need to verify that this does not spawn new worker threads and
that this actually works under all circumstances.
March 26, 2021, 14:51 (GMT)
Cycles: Bring pixel size support back

Was missing in the RenderScheduler refactor.
March 26, 2021, 14:51 (GMT)
Cleanup: Remove ptr For Owned Children.
March 26, 2021, 14:51 (GMT)
Cleanup: Replace std::vector With blender::Vector.
March 26, 2021, 14:51 (GMT)
Cleanup: Replaced Typedef Enum With Enum Class.
March 26, 2021, 14:51 (GMT)
Cleanup: Remove SocketReader.

SocketReader was added as an easier to understand interface on top of
the NodeOperation. It was implemented as a base class of the
NodeOperation and adds an additional hierarchy level.

Ths change replaces the abstract class with a typedef. In the end we
want to remove the typedef but will wait for some new nodes before doing
so.
March 26, 2021, 14:51 (GMT)
Cleanup: Use Enum Class For PixelSampler.
March 26, 2021, 14:51 (GMT)
Cleanup: Replace std::vector with blender::Vector.
March 26, 2021, 14:48 (GMT)
LineArt: Fix unreported material user count error when apply modifier

The number of users was 0 after applying the modifier.
March 26, 2021, 14:33 (GMT)
comment some functions
March 26, 2021, 14:32 (GMT)
Split Mesh::pack_primitives into two functions
March 26, 2021, 14:04 (GMT)
Cleanup: make AlembicProcedural::add_object private

This function should not be used outside of the procedural.
March 26, 2021, 13:44 (GMT)
Geometry-Nodes: Sort the Nodes Categories alphabetically

The exception is still Group and Layout to be consistent with the
other node editors. This could use a separator though.
March 26, 2021, 13:38 (GMT)
Correct function names for changes in ui-asset-view-template branch
March 26, 2021, 13:38 (GMT)
Cleanup: Use new utils provided by the asset system to get temp asset IDs

The operators are not exclusive to the File Browser anymore now. The logic to
get the asset file information and use that to append the ID if necessary is
abstracted away by the asset system now, see 10383566b800.
March 26, 2021, 13:32 (GMT)
Fix border render in viewport on GPU

Mistake in calculation of buffer x and y from the global work index.
March 26, 2021, 13:04 (GMT)
Cycles: Move resolution divider to RenderScheduler

Had to move RenderScheduler away from PathTrace into Session.
This way it is simpler to perform scene update in a threading-safe
manner without making PathTrace API more complicated.

So now the flow goes as following:
- Session requests work from the RenderScheduler
- Session updates scene for the possibly changed resolution
- PathTrace renders the given work, which might involve path tracing,
denoising, and display update.
- PathTrace informs the scheduler how long specific task took, so that
the scheduler can adjust its scheduling policy.

The user level change is that the start resolution is now ignored.
It will be replaced with a more automated code based on the timing.

There is still some work to be done to support multiple big tiles.

Still not entirely happy, but think we need to let the matter to rest
a bit and re-iterate when we will be adding big tiles support.
March 26, 2021, 13:04 (GMT)
Cycles: Fix missing denoise start sample update

It is being updated separately from parameters, even though is stored
in the parameters.

Solved by moving an update of denoiser parameters to the initialization
of the new render iteration. The modification check is now done in the
PathTrace.

Good thing is that now it is possible to remove buffer lock, meaning
interface will never be frozen on denoiser changes. Additionally,
rendering now should never get out of sync between passes and denoiser
configuration.
March 26, 2021, 13:04 (GMT)
Cycles: Move denoising decision from Session to RenderScheduler

Makes it possible to have more complete timing overview to make
decision how many samples to render and when to denoise.

Currently there are no functional changes.
March 26, 2021, 13:04 (GMT)
Cycles: Move samples scheduling logic to own class

The idea is to consolidate all logic which is related on samples and
denoising scheduling to a single class, which has an overview of how
expensive each task is.

So far should be no functional changes. Still preparation for moving
resolution divider and viewport samples number logic away from the
TileManager.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021