Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-18Build: link with GameController and CoreHaptics frameworks on macOSBrecht Van Lommel
In preparation of upcoming SDL upgrade, which uses these.
2022-04-11install_deps: Tweak rBbc9c9631a46f, libwebp is not only a dependency from ↵Bastien Montagne
ffmpeg.
2022-04-08install_deps: only install codecs libs if building ffmpeg.Bastien Montagne
Avoid installing all the ogg, theora, xvid etc. codec lib dev packages unless we actually build ffmpeg itself. Otherwise they are not necessary for Blender build itself.
2022-04-08install_deps: Add pystring and libwebp.Bastien Montagne
Re. {T95206}.
2022-04-08install_deps: Update OpenEXR to 3.1.4, Add Imath 3.1.4.Bastien Montagne
This has been... painful to get working.
2022-04-08install_deps: proper update of OpenVDB to 9.0.Bastien Montagne
Previous commit (rBrB59681a7ccdcf) was effectively doing nothing, due to weird hacks we had to do with OpenVDB 8.0 to 'integrate' NanoVDB. Now OpenVDB 9.0 natively includes NanoVDB, which allows us to greatly simplify that part of the code in install_deps.
2022-04-05Cycles: Use USD dependencies when building Hydra render delegatePatrick Mours
Adds support for linking with some of the dependencies of a USD build instead of the precompiled libraries from Blender, specifically OpenSubdiv, OpenVDB and TBB. Other dependencies keep using the precompiled libraries from Blender, since they are linked statically anyway so it does't matter as much. Plus they have interdependencies that are difficult to resolve when only using selected libraries from the USD build and can't simply assume that USD was built with all of them. This patch also makes building the Hydra render delegate via the standalone repository work and fixes various small issues I ran into in general on Windows (e.g. the use of both fixed paths and `find_package` did not seem to work correctly). Building both the standalone Cycles application and the Hydra render delegate at the same time is supported now as well (the paths in the USD plugin JSON file are updated accordingly). All that needs to be done now to build is to specify a `PXR_ROOT` or `USD_ROOT` CMake variable pointing to the USD installation, everything else is taken care of automatically (CMake targets are loaded from the `pxrTargets.cmake` of USD and linked into the render delegate and OpenSubdiv, OpenVDB and TBB are replaced with those from USD when they exist). Differential Revision: https://developer.blender.org/D14523
2022-04-01install_deps: Update Embree to 3.13.3 and OIDN to 1.4.3.Bastien Montagne
Re {T95206}.
2022-04-01install_deps: Updated Alembic to 1.8.3 and OSD to 3.4.4.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: Update OCIO to 2.1.1 and OIIO to 2.3.13.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: Update openVDB to 9.0.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: default boost version to 1.78 and TBB to 2020_U3.Bastien Montagne
Re T95206.
2022-03-26Windows/Installer: Fix capital B in shortcutRay Molenkamp
the shortcut placed on the desktop and in the start menu on windows were labelled `blender` rather than `Blender` spotted by @Severin
2022-03-25MSVC: Fix build issue with webpRay Molenkamp
The webp variables should only be set if the libs actually exist in the lib folder
2022-03-25Cleanup: sort cmake file listsCampbell Barton
2022-03-25ImBuf: Add support for WebP image formatAaron Carlisle
Currently only supports single image frames (no animation possible). If quality slider is set to 100 then lossless compression will be used, otherwise lossy compression is used. Gives about 35% reduction of filesize save when re-saving splash screens with lossless compression. Also saves much faster, up to 15x faster than PNG with a better compression ratio as a plus. Note, this is currently left disabled until we have WebP libs (see T95206) For testing precompiled libs can be downloaded from Google: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html Differential Revision: https://developer.blender.org/D1598
2022-03-24Fix `make source_archive_complete` for release branchesDalai Felinto
In Blender 3.1 we can't run the source_archive_complete because the cmake program is trying to download the packages from svn trunk. However 3.2 (aka master) already changed the version of some of the source packages. For example the OpenXR-SDK. It should be looking for OpenXR-SDK-1.0.17.tar.gz in: https://svn.blender.org/svnroot/bf-blender/tags/blender-3.1-release/lib/packages/ But instead it tries to look for it in: https://svn.blender.org/svnroot/bf-blender/trunk/lib/packages/ Which can't be found since it was replaced with OpenXR-SDK-1.0.22.tar.gz --- Release checklist: https://wiki.blender.org/wiki/Process/Release_Checklist The release checklist was updated to include the new instructions: `In the release branch, update and uncomment BLENDER_VERSION in download.cmake` Differential Revision: http://developer.blender.org/D14292
2022-03-23CMake: Rename "USD_LIBRARY_PREFIX" to "PXR_LIB_PREFIX" for consistencyPatrick Mours
rBc1909770e7f192574ea62449dd14b4254637e604 introduced "PXR_LIB_PREFIX" for building the dependencies, so only makes sense to use the same name in the Hydra render delegate CMake too
2022-03-23Cycles: Add Hydra render delegatePatrick Mours
This patch adds a Hydra render delegate to Cycles, allowing Cycles to be used for rendering in applications that provide a Hydra viewport. The implementation was written from scratch against Cycles X, for integration into the Blender repository to make it possible to continue developing it in step with the rest of Cycles. For this purpose it follows the style of the rest of the Cycles code and can be built with a CMake option (`WITH_CYCLES_HYDRA_RENDER_DELEGATE=1`) similar to the existing standalone version of Cycles. Since Hydra render delegates need to be built against the exact USD version and other dependencies as the target application is using, this is intended to be built separate from Blender (`WITH_BLENDER=0` CMake option) and with support for library versions different from what Blender is using. As such the CMake build scripts for Windows had to be modified slightly, so that the Cycles Hydra render delegate can e.g. be built with MSVC 2017 again even though Blender requires MSVC 2019 now, and it's possible to specify custom paths to the USD SDK etc. The codebase supports building against the latest USD release 22.03 and all the way back to USD 20.08 (with some limitations). Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D14398
2022-03-22CMake: prep USD build & find scripts for USD >= 21.11Sybren A. Stüvel
Since USD 21.11 the libraries are prefixed with "usd_", i.e. "libusd_m.a" became "libusd_usd_m.a". This commit adjusts our `usd.cmake` (for building USD) and `FindUSD.cmake` (for finding the USD libraries) so that they work with and without this `usd_` prefix. See for more info: https://github.com/PixarAnimationStudios/USD/blob/release/CHANGELOG.md#2111---2021-11-01 Reviewed By: LazyDodo, brecht, mont29 Differential Revision: https://developer.blender.org/D14334
2022-03-07Cleanup: fix various typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14203
2022-02-23CMake: move cmake_consistency_check.py into source/tools/ repoCampbell Barton
This isn't needed for building Blender so move this along side other source checking scripts.
2022-02-22Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-02-22Fix compilation error on certain platformsSergey Sharybin
Atomic operations performed by the C++ standard library might require libatomic on platforms which do not have hardware support for those operations. This change makes it that such configurations are automatically detected and -latomic is added when needed. Differential Revision: https://developer.blender.org/D14106
2022-02-22Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-22Python: bump minimum version to 3.10Campbell Barton
Since Python 3.10 is now supported on all platform, bump the minimum version to reduce the number of Python versions that need to be supported simultaneously. Reviewed By: LazyDodo, sybren, mont29, brecht Ref D13943
2022-02-17Merge branch 'blender-v3.1-release'Sebastian Parborg
2022-02-17Cleanup: Move more cmake library variables to be advancedSebastian Parborg
I noticed that there were a few variables that should not be visible per default. It seems to me to simply be an oversight, so I went ahead and cleaned them up. Reviewed By: Sybren, Ray molenkamp Differential Revision: http://developer.blender.org/D14132
2022-02-17Merge branch 'blender-v3.1-release'Brecht Van Lommel
2022-02-17Build: update CMake to support OpenImageIO 2.3.4Brecht Van Lommel
FindOpenImageIO was updated to link to separate OpenImageIO_Util for new versions, where it is required. For older versions, we can not link to it because there will be duplicated symbols. Ref D14128
2022-02-17Build: update CMake to support OpenEXR 3Brecht Van Lommel
FindOpenEXR was updated to find new lib names and separate Imath. It's all added to the list of OpenEXR include dirs and libs. This keeps it compatible with both version 2 and 3 for now, and doesn't require changes outside the find module. Ref D14128
2022-02-15Define CLANG_FORMAT_VERSION in install_deps.shMichael
When running `./blender/build_files/build_environment/install_deps.sh` on Ubuntu 20.04.3 LTS the following error can be seen: ``` ./blender/build_files/build_environment/install_deps.sh: line 1266: [: too many arguments ``` This error results from the call: ``` check_package_version_ge_DEB $CLANG_FORMAT $CLANG_FORMAT_VERSION ``` with `CLANG_FORMAT_VERSION` being undefined. Also as `clang-format` 13 is already released and hopefully didn't break anything `CLANG_FORMAT_VERSION_MEX` could use version bump. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D13924
2022-02-15License headers: use SPDX for remaining CMake find modules & gtestsCampbell Barton
2022-02-11File headers: add missing copyright, add MIT to SPDX licensesCampbell Barton
2022-02-11File headers: add license to Python scriptsCampbell Barton
2022-02-11File headers: use SPDX license for CMake filesCampbell Barton
2022-02-11Cleanup: remove white-space before headersCampbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-10Deps: upgrade OpenXR 1.0.17 -> 1.0.22Peter Kim
Simple upgrade of OpenXR to 1.0.22, following the steps from https://wiki.blender.org/wiki/Source/OpenXR_SDK_Dependency and rBb69ab42982a1. No changes to Blender code were necessary, only a version bump. The primary motivation for this upgrade is to utilize the `XR_HTCX_vive_tracker_interaction` extension introduced in ver. 1.0.20. However, the latest release (1.0.22) also adds a number of potentially useful extensions such as: - `XR_FB_render_model` - `XR_HTC_facial_expression` - `XR_HTC_vive_focus3_controller_interaction` Ref T95206 Reviewed By: LazyDodo, sybren, mont29 Maniphest Tasks: T95206 Differential Revision: https://developer.blender.org/D13950
2022-02-09Cleanup: non-standard license formatting, minor changesCampbell Barton
2022-02-04Merge branch 'blender-v3.1-release'Clément Foucault
2022-02-04deps_builder: Update to freetype 2.11.1Ray Molenkamp
Required to solve a crash on windows (T95367) Mostly an uneventful update, except for FreeType giving its cmake options a rename. Reviewed By: brecht, sybren Differential Revision: https://developer.blender.org/D13968
2022-01-31Merge branch 'blender-v3.1-release'Campbell Barton
2022-01-31Python: default to version to 3.10 for LinuxCampbell Barton
This doesn't bump the minimum version, see D13943.
2022-01-31Fix (unreported) install_deps: wrong order of actions in python handling.Bastien Montagne
We need to get installed version of python *after* we actually install/update the package.
2022-01-31Fix: Specify exact Python version for python3-dev on Debian&UbuntuMichael
This commit specifies the exact Python version which is included in the package name, thereby allowing `install_deps.sh` to suggest "`-D PYTHON_VERSION=3.10`" correctly. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D13925
2022-01-28Revert "Update pipeline config and point to 3.1 branches."Thomas Dinges
This reverts commit 5d4583683b6d99f2561efa589076d67ee15662e0.
2022-01-28Update pipeline config and point to 3.1 branches.Thomas Dinges
2022-01-28Cleanup: indentation for CMake filesCampbell Barton
Also minor white-space & case changes.
2022-01-28Cleanup: spelling in commentsCampbell Barton
Also minor wording improvements.