Blender Git Loki

Kaikki Blender Git kommitit.

Page: 956 / 8462

February 1, 2021, 14:42 (GMT)
OpenColorIO: remove default display workaround

A fix for this is in 2.0 (and recent 1.1.x versions), no need for this anymore.
February 1, 2021, 14:42 (GMT)
OpenColorIO: use aces_interchange role to detect CIE XYZ values

We need standard CIE XYZ values for rendering effects like blackbody emission.
The relation to the scene linear role is based on OpenColorIO configuration.

In OpenColorIO 2.0 configs roles can no longer have the same name as color
spaces, which means our XYZ role and colorspace in the configuration give an
error.

Instead use the new standard aces_interchange role, which relates scene linear
to a known scene referred color space. Compatibility with the old XYZ role is
preserved, if the configuration file has no conflicting names.

Also includes a non-functional change to the configuraton file to use an
XYZ-to-ACES matrix instead of REC709-to-ACES, makes debugging a little easier
since the matrix is the same one we have in the code now and that is also
found easily in the ACES specs.

There is a new cie_xyz_d65_interchange role that we should add support for,
for interchange of display referred colorspace (as opposed to scene referred).
I couldn't immediately understand how that is supposed to be defined, will
probably leave that for another patch unless someone knows how.
February 1, 2021, 14:42 (GMT)
OpenColorIO: update GPU display shader for version 2.0

To avoid baking exposure and gamma into the GLSL shader and requiring slow
recompiles when tweaking, we manually apply them in the shader. This leads
to some logic duplicaton between the CPU and GPU display processor, but it
seems unavoidable.

Caching was also changed. Previously this was done both on the imbuf and
opencolorio module levels. Now it's all done in the opencolorio module by
simply matching color space names. We no longer use cacheIDs from OpenColorIO
since computing them is expensive, and they are unlikely to match now that
more is baked into the shader code.

Shaders can now use multiple 2D textures, 3D textures and uniforms, rather
than a single 3D texture. So allocating and binding those adds some code.

Color space conversions for blending with overlays is now hardcoded in the
shader. This was using harcoded numbers anyway, if this every becomes a
general OpenColorIO transform it can be changed, but for now there is no
point to add code complexity.
February 1, 2021, 14:42 (GMT)
OpenColorIO: update display transforms for version 2.0

Needs a bit more manual work constructing the transform. LegacyViewingPipeline
could also have been used, but isn't really any simpler and since it's legacy
we better not rely on it.

This moves more logic into the opencolorio module, to simplify the API. There is
no need to wrap a dozen functions just to be able to do this in C rather than C++.
It's also tightly coupled to the GPU shader logic, and so should be in the same
module.
February 1, 2021, 14:20 (GMT)
Merge branch 'blender-v2.92-release'
February 1, 2021, 14:16 (GMT)
Fix T85229: Transform operator saving a different orientation than the chosen one

Some orientations are not possible to be calculated for certain scenes.

In these cases, others are chosen and informed by the operator.

However, the user may prefer that the chosen one be displayed (even if it
is not actually used).

This corresponds to older versions of Blender.
February 1, 2021, 13:54 (GMT)
Fix T81177 EEVEE: Missing shadow if last material has no shadow

This was caused by the boolean not being a union of all the material
slots.
February 1, 2021, 13:46 (GMT)
OpenColorIO: update processors and transforms for version 2.0

CPU processors now need to be created to do CPU processing. These are cached
internally, but the cache lookup is not fast enough to execute per pixel or
texture sample, so for performance these are now also exposed in the C API.

The C API for transform will no longer be needed afer all changes, so remove
it to simplify the API and fallback implementation.
February 1, 2021, 13:46 (GMT)
Build: OpenColorIO 2.0.0 support for make deps and install_deps.sh

* Tinyxml was replaced with Expat, adding a new dependency.
* Yaml-cpp is now built as a dependency on Unix, as was already done on Windows.
* Removed currently unused LCMS code, couldn't be bothered to update and test it.
* Pystring remains built as part of OCIO itself, since it has no good build system.

We currently require OpenColorIO 2.0.0 and the upcoming code changes have no
compatibility with 1.x. Compatibility could be added, but it's rather complicated
and I only want to do the work if it's really needed.

The install_deps.sh support was implemented by Jeroen, I have no tested it myself.

The Windows code was updated, but I have not tested if it actually works, it
almost certainly will not.
February 1, 2021, 13:09 (GMT)
Fix crash when creating lib overrides.

Own mistake in recent commit rB2a81d948ad00c50.
February 1, 2021, 13:01 (GMT)
Merge branch 'blender-v2.92-release'
February 1, 2021, 13:00 (GMT)
DRW: Fix render wrong orthographic depth conversion

Fix for both workbench and Gpencil.

Fixes T78574 GPencil: Z pass combine not work
February 1, 2021, 12:41 (GMT)
Merge branch 'blender-v2.92-release'
February 1, 2021, 12:41 (GMT)
GPU: Fix performance regression on AMD GPU

This was caused by a missing check left over during the GL isolation.

Fix T84277 Solid and Wireframe viewport performance hit on AMD Radeon GPUs
February 1, 2021, 11:48 (GMT)
Fix T84780: Corrupt screen layout when loading file with area full-screen

This could happen with files saved before ef4aa42ea4ff, so before global areas
were written to .blend files.
We would just always add the top- and status-bar, even though the screen wasn't
supposed to have them. I'm not entirely sure what caused the further issues
observed there, most code should probably handle the case fine still. But
apparently something didn't.

Steps to reproduce were:
* Open Blender from before ef4aa42ea4ff (e.g 2.91 release)
* In 3D View, View > Area > Toggle Fullscreen Area
* Save the file
* Open the saved file (can be in newer version too)
The fullscreen is corrupt now, especially noticable after duplicating the
workspace.
February 1, 2021, 11:01 (GMT)
Merge branch 'blender-v2.92-release'
February 1, 2021, 11:00 (GMT)
Usual UI messages fix...
February 1, 2021, 10:34 (GMT)
GPencil: Swap Presision and Simplify in UI

This parameter is used a lot.
February 1, 2021, 10:07 (GMT)
Merge branch 'master' into temp-gpencil-io
February 1, 2021, 10:07 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021