Blender Git Commits

Blender Git commits from all branches.

Page: 513 / 2888

February 26, 2021, 22:24 (GMT)
Merge branch 'master' into temp-geometry-nodes-instances-api-v2
February 26, 2021, 21:03 (GMT)
Sculpt IPMask: First version of contrast filter
February 26, 2021, 19:34 (GMT)
Merge branch 'master' into sculpt-dev
February 26, 2021, 18:05 (GMT)
Merge branch 'master' into sculpt-dev
February 26, 2021, 18:03 (GMT)
Cycles: rename integrator kernels

* Add integrator_ prefix to kernel names to distinguish from filter, displacement, etc
* Add verb to every kernel name for consistency and logical grouping
* Rename generate camera ray since it does more than that
* Rename files from kernel_ to integrator_ consistent with other kernel file naming
February 26, 2021, 18:03 (GMT)
Cleanup: clang-format .cu files
February 26, 2021, 18:03 (GMT)
Cleanup: move CUDA context scope and asserts out of main file
February 26, 2021, 18:03 (GMT)
Cycles: kernel tweaks to make GPU compilation work
February 26, 2021, 18:03 (GMT)
Cycles: add DeviceKernel::NUM_KERNELS
February 26, 2021, 18:03 (GMT)
Cycles: start of CUDA support for new integrator kernels

* Very poor performance since it renders one pixel at a time, only practical
to render a tiny image at this point.
* No indirect light because it only does a single iteration of the kernels.
February 26, 2021, 17:08 (GMT)
Cycles: Split CPUDevice to own file

Makes it possible to CPU device specific logic from other CPU-related
entities, such as render queue.
February 26, 2021, 17:08 (GMT)
Cycles: Make CPU queue be able to access CPUDevice
February 26, 2021, 17:08 (GMT)
Cleanup: De-duplicate array size calculation

The function should become more re-usable, but is not immediately clear
what is the best place for it.
February 26, 2021, 17:08 (GMT)
Cycles: Add default constructor to CPUKernelThreadGlobals

Allows to create thread-local KernelGlobals without giving an explicit
value. Currently unused, but is needed for an upcoming development.
February 26, 2021, 17:08 (GMT)
Cycles: Make CPU textures initialization more explicit

Allows to decouple queues allocation from their initialization for
actual path tracing.

Interesting fact: using auto&& in range based loop over unique_ptr<Foo>
will make variable type Foo&.
February 26, 2021, 17:08 (GMT)
Cycles: Avoid unnecessary copy of KernelGlobals

Re-use "thread-local" copy as much as possible.
February 26, 2021, 17:08 (GMT)
Cycles: Fix missing updates on camera rotation

Is currently invisible, but for the on-gong development is nice to
have proper viewport updates,

Effectively, revers behavior of previous commit: it is a bit more
tricky to detect when kernel globals are to be copied. Roll back
to older behavior for now.
February 26, 2021, 17:08 (GMT)
Cycles: Make PathTrace have same lifetime as Session

Avoids re-initialization based on per-render call.

Might not be so visible for offline rendering, but is kind of crucial
for viewport rendering.
February 26, 2021, 17:08 (GMT)
Cycles: Initial support of viewport rendering

Rather straightforward idea: request path trace to copy its render
buffers to the given display buffer. There is some more glue logic
to pass samples, resolution divider, and proper offset/stride to
the kernel.

For some reason viewport is not that interactive: seems that there
is no redraw on lower resolution results. Could be because of the
locking nature of the `render_samples()` call, or could be something
else. Forcing resolution divider in the tile manager, or setting
pixel size to 8x clearly shows proper behavior, so it's something
with the updates rather than an issue in implementation of this
part of the code.

The TileManager is still the source of truth for current sample
and resolution. This will be moved out in the further development.
February 26, 2021, 16:17 (GMT)
Sculpt IPMask: update pie menu
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021