Blender Git Commits

Blender Git "master" branch commits.

Revision 5568455 by Hans Goudey
34 minutes ago
Cleanup: Extend a few comments in BKE_spline.hh
1 hour 2 min ago
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.
1 hour 43 min ago
Tests: add Cycles perspective/ortho/panoramic camera regression tests

Ref D12691
1 hour 46 min ago
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
1 hour 59 min ago
Cleanup: fix compiler warning
1 hour 59 min ago
Build: don't look for CUDA toolkit if not using Cycles CUDA device
2 hours 31 min ago
Cleanup: clang-tidy: modernize-redundant-void-arg

Re commits part of rB0578921063fbb081239439062215f2538a31af4b
2 hours 31 min ago
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
2 hours 31 min ago
Shader Nodes: Create a new bf_nodes_shader library

Re commits rBf72cc47d8edf849af98e196f721022bacf86a5e7 but without the unity build
Revision 7fbb767 by Hans Goudey
2 hours 47 min ago
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 5e37f70 by Sergey Sharybin / Brecht Van Lommel
2 hours 50 min ago
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
2 hours 50 min ago
Build: clean up handling of some Cycles build options

* Don't link embree / OSL when WITH_CYCLES is disabled
* Simplify lite config by disabling Cycles as a whole using this
* Remove code handling the removed WITH_CYCLES_NETWORK option
2 hours 50 min ago
Build: remove Cycles CUDA/HIP/OPTIX build options on macOS

So those device types are not listed in the preferences. Metal will be
added instead as the only option.
2 hours 50 min ago
Fix T93418: Cycles shadow terminator Geometry Offset artifacts with translucency

Differential Revision: https://developer.blender.org/D13468
3 hours 1 min ago
Cycles: Reintroduce device-only memory handling that got lost in Cycles X merge

Somehow only a part of rBf4f8b6dde32b0438e0b97a6d8ebeb89802987127 ended up in
Cycles X, causing the issue that commit fixed, "OPTIX_ERROR_INVALID_VALUE" when the
system is out of memory, to show up again.
This adds the missing changes to fix that problem.

Maniphest Tasks: T93620

Differential Revision: https://developer.blender.org/D13488
4 hours 4 min ago
Cycles: add Metal device type to `device_type_for_description`

Add a `DEVICE_METAL` case to the enum-value-to-string mapping function.
4 hours 5 min ago
Cycles: fix build on non-Apple systems

Skip compiling `metal.mm` unless `WITH_CYCLES_DEVICE_METAL` is enabled.
4 hours 44 min ago
Geometry Nodes: Edge Neighbors Node

Creates a new Edge Neighbors node which outputs a field
containing the number of faces connected to each edge.

Differential Revision: https://developer.blender.org/D13493
4 hours 59 min ago
Cycles: Metal host-side code

This patch adds the Metal host-side code:

- Add all core host-side Metal backend files (device_impl, queue, etc)
- Add MetalRT BVH setup files
- Integrate with Cycles device enumeration code
- Revive `path_source_replace_includes` in util/path (required for MSL compilation)

This patch also includes a couple of small kernel-side fixes:

- Add an implementation of `lgammaf` for Metal [Nemes, Gerg? (2010), "New asymptotic expansion for the Gamma function", Archiv der Mathematik](https://users.renyi.hu/~gergonemes/)
- include "work_stealing.h" inside the Metal context class because it accesses state now

Ref T92212

Reviewed By: brecht

Maniphest Tasks: T92212

Differential Revision: https://developer.blender.org/D13423
6 hours 14 min ago
Geometry Nodes: new Geometry to Instance node

This adds a new Geometry to Instance node that turns every
connected input geometry into an instance. Those instances
can for example be used in the Instance on Points node.

Differential Revision: https://developer.blender.org/D13500
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021