Blender Git Commits

Blender Git "lineart-shadow" branch commits.

Page: 2 / 76

December 8, 2021, 06:53 (GMT)
Docs: Add more comments to geometry set header

This adds a bit more information to `GeometrySet` and each of the
geometry components. There is probably still more that can be written,
but this includes the most important information that I could think of.

I'd like to include some more general information about the
attribute API in a separate patch.

Differential Revision: https://developer.blender.org/D13501
Revision 58b7e02 by Sergey Sharybin / YimingWu (lineart-shadow)
December 8, 2021, 06:53 (GMT)
Fix T93350: Cycles renders shows black during rendering huge resolutions

The root of the issue is caused by Cycles ignoring OpenGL limitation on
the maximum resolution of textures: Cycles was allocating texture of the
final render resolution. It was exceeding limitation on certain GPUs and
driver.

The idea is simple: use multiple textures for the display, each of which
will fit into OpenGL limitations.

There is some code which allows the display driver to know when to start
the new tile. Also added some code to allow force graphics interop to be
re-created. The latter one ended up not used in the final version of the
patch, but it might be helpful for other drivers implementation.

The tile size is limited to 8K now as it is the safest size for textures
on many GPUs and OpenGL drivers.

Differential Revision: https://developer.blender.org/D13385
December 8, 2021, 06:53 (GMT)
Cleanup: clang-tidy: modernize-redundant-void-arg

Re commits part of rB0578921063fbb081239439062215f2538a31af4b
December 8, 2021, 06:53 (GMT)
Cleanup: Missing include

This included is needed for the `ATTR_NONNULL` macro used in the header.
As found in a recent c --> c++ if the includes get ordered in a different order
this could result in an error.

Re commits rBc20098e6ec6adee874a12e510aa4a56d89f92838
December 8, 2021, 06:53 (GMT)
Shader Nodes: Create a new bf_nodes_shader library

Re commits rBf72cc47d8edf849af98e196f721022bacf86a5e7 but without the unity build
December 8, 2021, 06:53 (GMT)
Cleanup: fix compiler warning
December 8, 2021, 06:53 (GMT)
Build: don't look for CUDA toolkit if not using Cycles CUDA device
December 8, 2021, 06:53 (GMT)
Cycles: add Fisheye Lens Polynomial camera model

This allows real world cameras to be modeled by specifying the coordinates of a
4th degree polynomial that relates a pixels distance (in mm) from the optical
center on the sensor to the angle (in radians) of the world ray that is
projected onto that pixel.

This is available as part of the panoramic lens type, however it can also be
used to model lens distortions in projective cameras for example.

Differential Revision: https://developer.blender.org/D12691
December 8, 2021, 06:53 (GMT)
Tests: add Cycles perspective/ortho/panoramic camera regression tests

Ref D12691
December 8, 2021, 06:53 (GMT)
Revert "Fix T93350: Cycles renders shows black during rendering huge resolutions"

This reverts commit 5e37f70307bdacedd0f7da65f8b385bc1426f21d.

It is leading to freezing of the entire desktop for a few seconds when stopping
3D viewport rendering on my Linux / NVIDIA system.
December 8, 2021, 06:53 (GMT)
Cleanup: Extend a few comments in BKE_spline.hh
December 8, 2021, 06:53 (GMT)
Cycles: Fix Metal BVH crash caused by missing `WITH_METAL` define

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13505
December 8, 2021, 06:53 (GMT)
Shader Nodes: Use camel case for file names

Recommits part of rBf60b95b5320f8d6abe6a629fe8fc4f1b94d0d91c
December 8, 2021, 06:53 (GMT)
Nodes: Add Shader Socket to new decleration API

This commit adds the shader socket type to the new socket builder api.

Re commits part of rB0bd3cad04edf4bf9b9d3b1353f955534aa5e6740
December 8, 2021, 06:53 (GMT)
Cleanup: spelling in comments
December 8, 2021, 06:53 (GMT)
Cleanup: Nodes: clang-tidy modernize-redundant-void-arg
December 8, 2021, 06:53 (GMT)
macOS: Fix build error in hash functions

Remove unneeded recent static_cast attempt.

Reviewed By: HooglyBoogly
Differential Revision: https://developer.blender.org/D13492
December 8, 2021, 06:53 (GMT)
Fix: Compile error in field input

Instead of essentially hashing a bool, just use a ternary operator.

Differential Revision: https://developer.blender.org/D13494
December 8, 2021, 06:53 (GMT)
Cleanup: Remove unnecessary generic includes from headers
December 8, 2021, 06:53 (GMT)
Cleanup: Remove unused node flag
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021