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
path: root/extern
AgeCommit message (Collapse)Author
2021-10-13Extern: Add modifications diff for TinyGLTFPeter Kim
This should have been added in ee49991999c9.
2021-10-05Add missing "CUDA_ERROR_UNSUPPORTED_PTX_VERSION" to CUEWPatrick Mours
This is required for Cycles to report a meaningful error message when it fails to load a PTX module created with a newer CUDA toolkit version than the driver supports. Ref T91879
2021-10-05Silenced compilation warning when compiling using ASAN.Jeroen Bakker
2021-09-28Fix build without Cycles HIP deviceBrecht Van Lommel
2021-09-28Cycles: add HIP device support for AMD GPUsBrian Savery
NOTE: this feature is not ready for user testing, and not yet enabled in daily builds. It is being merged now for easier collaboration on development. HIP is a heterogenous compute interface allowing C++ code to be executed on GPUs similar to CUDA. It is intended to bring back AMD GPU rendering support on Windows and Linux. https://github.com/ROCm-Developer-Tools/HIP. As of the time of writing, it should compile and run on Linux with existing HIP compilers and driver runtimes. Publicly available compilers and drivers for Windows will come later. See task T91571 for more details on the current status and work remaining to be done. Credits: Sayak Biswas (AMD) Arya Rafii (AMD) Brian Savery (AMD) Differential Revision: https://developer.blender.org/D12578
2021-09-24Audaspace: port bugfix from upstream.Jörg Müller
Fixes T91615: Instant crash when dragging video file into video editor sequencer
2021-09-22Cleanup: Silence missing switch case warningPeter Kim
2021-09-22Blender Libraries: Add JSON Library.Jeroen Bakker
Several areas within blender can benefit a JSON reader/writer library. Areas like the asset browser, XR and grease pencil. After looking at the available options we selected nlohmann's JSON for modern C++ library. It is actively maintained for over 10 years and flexible. This patch only adds the header only implementation of the library so it can be used by different areas. The asset browser project is planning to add a small abstraction layer so it will be easier to switch between several different serialization formats. This is currently in development in D12544. In cases the abstraction layer can be an overhead and undesired to be used. In this case the header file can be directly included. Reviewed By: Severin Maniphest Tasks: T91430 Differential Revision: https://developer.blender.org/D12567
2021-09-22Extern: Add TinyGLTF to load XR controller modelPeter Kim
The XR_MSFT_controller_model OpenXR extension provides a glTF controller model that can be displayed to users during a VR session. There are plans to support this in D10948, which will greatly improve VR immersion when using a compatible OpenXR runtime. TinyGLTF (https://github.com/syoyo/tinygltf) was agreed upon as a simple and sufficient solution for loading this glTF controller model, which will be performed at the GHOST abstraction layer. Although by default it has two additional dependencies, stb and json, stb can be excluded by defining TINYGLTF_NO_STB_IMAGE and TINYGLTF_NO_STB_IMAGE_WRITE whereas json will be added as a separate extern lib in D12567. Reviewed By: Severin Differential Revision: https://developer.blender.org/D12344
2021-09-21Audaspace: porting upstream pulseaudio fixes.Jörg Müller
Fixes T89045 and T91057.
2021-09-21Cycles: merge of cycles-x branch, a major update to the rendererBrecht Van Lommel
This includes much improved GPU rendering performance, viewport interactivity, new shadow catcher, revamped sampling settings, subsurface scattering anisotropy, new GPU volume sampling, improved PMJ sampling pattern, and more. Some features have also been removed or changed, breaking backwards compatibility. Including the removal of the OpenCL backend, for which alternatives are under development. Release notes and code docs: https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles https://wiki.blender.org/wiki/Source/Render/Cycles Credits: * Sergey Sharybin * Brecht Van Lommel * Patrick Mours (OptiX backend) * Christophe Hery (subsurface scattering anisotropy) * William Leeson (PMJ sampling pattern) * Alaska (various fixes and tweaks) * Thomas Dinges (various fixes) For the full commit history, see the cycles-x branch. This squashes together all the changes since intermediate changes would often fail building or tests. Ref T87839, T87837, T87836 Fixes T90734, T89353, T80267, T80267, T77185, T69800
2021-09-18Audaspace: added audio file streams functionality.Jörg Müller
On the blender side this commit fixes importing video files with audio and video streams that do not share the same start time and duration. Differential Revision: https://developer.blender.org/D12353
2021-09-06Fluid: Parallelizations for Mantaflow functions (D12002)Erik Abrahamsson
This update includes part of a performance boost from D12002. Contributed by @erik85
2021-09-06Fluid: Clang-format cleanupsSebastián Barschkis
Just cleanup.
2021-08-18Audaspace: porting PulseAudio fixes from upstream.Jörg Müller
2021-08-16VSE: Use lines to draw waveformSebastian Parborg
Refactor and improve waveform drawing. Drawing now can use line strips to draw waveforms instead of only triangle strips. This makes us able to properly visualize thin waveforms as they would not be visible before. We now also draw the RMS value of the waveform. The waveform drawing is now also properly aligned to the screen pixels to avoid flickering when transforming the strip. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11184
2021-08-16VSE: Fix audaspace not reading ffmpeg files with start offset correctlySebastian Parborg
The duration and start time for audio strips were not correctly read in audaspace. Some video files have a "lead in" section of audio that plays before the video starts playing back. Before this patch, we would play this lead in audio at the same time as the video started and thus the audio would not be in sync anymore. Now the lead in audio is cut off and the duration should be correctly calculated with this in mind. If the audio starts after the video, the audio strip is shifted to account for this, but it will also lead to cut off audio which might not be wanted. However we don't have a simple way to solve this at this point. Differential Revision: http://developer.blender.org/D11917
2021-08-10Clean-up: Remove UTF8-BOM markersRay Molenkamp
Done at the request of Sergey.
2021-08-06Cleanup: Add missing newline at end of fileAntonio Vazquez
2021-08-06Move NanoSVG lib to externAntonio Vazquez
The library has some modifications and it has been included in a diff. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12142 (Some minor changes done in the patch)
2021-08-05Cleanup: tab indentation for CMake / GNUmakefileCampbell Barton
2021-07-20Cleanup: use single back-tick quoting in commentsCampbell Barton
While doxygen supports both, conform to our style guide. Note that single back-tick's are already used in a majority of comments.
2021-07-15macOS/glog: Silence syscall deprecation warningAnkit Meel
Upstream will release the fix in 0.6 which will take time. Silence two warnings. Differential Revision: https://developer.blender.org/D11246
2021-07-01Audaspace: porting pulseaudio fixes from upstream.Jörg Müller
2021-07-01Fix T88887: Audio causes issues with Playback when PC put to Sleep, ↵Jörg Müller
Hibernate or when Screensaver appears Porting WASAPI device reinitialization from upstream.
2021-06-18Fluid: Clang-format cleanupSebastián Barschkis
Updated fluid source files in extern with clang-format.
2021-06-18Fluid: Optimization for FLIP neighbor search radiusSebastián Barschkis
Contributed by @erik85 in D11400. The idea from this patch was placed in a more generic context: A new FOR macro has been added that loops over the neighbors of a cell within a given radius.
2021-05-27Fix T88614: Mixdown crashes Blender 2.92.0 and 3.0.0 AlphaJörg Müller
The problem is caused by the most recent ffmpeg version (4.4) which needs channels to be set when submitting a frame for encoding.
2021-05-18Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes update for OpenVDB file IO, i.e. fixes an issue with compression flag combination that resulted in random segfaults. Other changes: Cleanup and formatting.
2021-04-28Remove SMAA generating message during compilation.Jeroen Bakker
2021-03-29Fix T86851: PulseAudio randomly asserts in background renderingJörg Müller
Upstream fix from Audaspace with simplified PulseAudio code. Maniphest Tasks: T86851 Differential Revision: https://developer.blender.org/D10840
2021-03-29Compositor: Add Anti-Aliasing nodeHabib Gahbiche
This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA) The algorithm was proposed by: Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling. See Patch for comparisons. The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior. Notes: 1. The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively. Thanks for Habib Gahbiche (zazizizou) to polish and finalize this patch. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D2411
2021-03-19Fix T86728: Blender freezes when playhead is dragged in this .blendJörg Müller
Porting the deadlock bugfix in WASAPI from upstream Audaspace.
2021-03-17Bugfix: properly rename Null audio device to NoneJörg Müller
2021-03-17Audaspace: add support for CoreAudio on macOSJörg Müller
This adds CoreAudio as audio backend on macOS. CoreAudio is the standard audio API on macOS. Ref T86590
2021-03-17Audaspace: add support for WASAPI on WindowsJörg Müller
This adds WASAPI as audio backend on Windows. WASAPI is the modern standard audio API on Windows introduced with Windows Vista. Ref T86590
2021-03-17Audaspace: add support for PulseAudio on LinuxJörg Müller
This adds PulseAudio as audio backend on Linux. PulseAudio is the main audio engine used on most, if not all, Linux distributions today. Ref T86590
2021-03-17Audaspace: porting minor improvements from upstreamJörg Müller
- NullDevice is now called None - Automatic choice of best available device. - Minor formatting, documentation and cmake fixes.
2021-03-11Fluid: Updated hidden symbol visibility commentSebastián Barschkis
It turns out that on official arm64 devices (not DevKit) the linker warnings still show up. So just leaving this as is. Ref D9002
2021-02-17MSVC: Suppress C4251 in OpenVDB/MantaflowRay Molenkamp
All headers in the svn libraries should be building with /W0 however MSVC 16.8/16.9 has broken this functionality making OpenVDB emit lots of warnings. The breakage was reported [1] in august to MS but they still have not gotten around to addressing the issue. This change explicitly suppresses C4251 in the module that emitted these warnings. As the warning is useful in other parts of blender a localized approach is taken rather than a global suppression. [1] https://developercommunity.visualstudio.com/content/problem/1167590/bug.html
2021-02-10TBB: fix deprecation warnings with newer TBB versionsBrecht Van Lommel
* USD and OpenVDB headers use deprecated TBB headers, suppress all deprecation warnings there since we have no control over them. * For our own TBB includes, use the individual headers rather than the tbb.h that includes everything to avoid warnings, rather than suppressing all. This is in anticipation of the TBB 2020 upgrade in D10359. Ref D10361.
2021-02-05Merge branch 'blender-v2.92-release'Sebastián Barschkis
2021-02-05Fluid: Updated Mantaflow source filesSebastián Barschkis
This updates fixes the following issues (critical for 2.92): - Issue that prevented dense 'int' grids from being exported (incorrect clip value) - Issue with particles outside out of domain bounds (position between -1 and 0) not being deleted
2021-02-05Cleanup: cmake indentation, white-spaceCampbell Barton
2021-02-02Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes improvements for the file IO. Namely, more meta data will be written from now on. This change is required to prevent IO issues (e.g. T84649) that arised through the use of sparse grids caching (introduced in 2.92).
2021-01-13Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes minor fixes / cleanups from the viscosity plugin.
2021-01-10Fluid: Fix cache saving issue with OpenVDB IOSebastián Barschkis
Fixes issue where files would not be written when 'resumable' option was checked.
2020-12-24Audaspace: port accuracy improvement from upstream.Jörg Müller
2020-12-24Fix T83997: Duplicated audio does not sound the sameJörg Müller
The issue was that sounds were always faded from 0 volume when they started and depending on the currently used buffer size, the fading took longer or shorter. The solution stores whether the sound has ever been played back and consequently does not fade when starting to play back.
2020-12-23Fluid: Added new viscosity solverSebastián Barschkis
Mainly updated the Mantaflow version. It includes the new viscosity solver plugin based on the method from 'Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids' (Batty & Bridson). In the UI, this update adds a new 'Viscosity' section to the fluid modifier UI (liquid domains only). For now, there is a single 'strength' value to control the viscosity of liquids.