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/intern
AgeCommit message (Collapse)Author
2019-10-01Cycles: Fixed Camera inside volumes with Embree turned on.Stefan Werner
The Embree backend did not properly recognize when the camera was inside a volume and ended up ignoring those.
2019-10-01UI: Update paint crosshair for MacWilliam Reynish
This is based on feedback from users. Only affects Mac for now, Windows will be committed separately.
2019-09-30Fix "denoise_animation" tests with OptiX in CyclesPatrick Mours
The OptiX device only loads the denoising kernels when the "use_denoising" feature is active. This was not set by the calling code however and therefore they were never loaded and attempting to launch them failed (see T69801). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5946
2019-09-30Fix memory leak after using OptiX in CyclesPatrick Mours
The "optix_devices" array was not freed on exit, which caused a memory leak (see T69801). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5944
2019-09-30Cleanup: spellingCampbell Barton
2019-09-30Revert "macOS: Replaced OSSpinLock with os_unfair_lock."Stefan Werner
This reverts commit 9d282d7a8d689a17ae58e94453ae99a41e91b701. os_unfair_lock requires macOS 10.12 or newer.
2019-09-27UI: Add high quality cursors on macOSWilliam Reynish
This adds the same high quality cursors on macOS as we have on Windows. These are stored as 32*32 pt PDFs, same as the built-in OS cursors Reviewed by: Brecht Van Lommel Differential Revision: https://developer.blender.org/D5907
2019-09-27Cleanup: clang-formatCampbell Barton
2019-09-26Fix Cycles bake panel showing for other renderers, after recent changesBrecht Van Lommel
2019-09-26GHOST: refresh standard cursors available for platformsHarley Acheson
* Add more standard cursor types, that platforms can optionally support. * Remove a few unused cursor types that were not properly supported and would show the wrong cursor when used. * Add native cursor files for Windows. These scale well with DPI and have anti-aliasing. Designed by Duarte Farrajota Ramos. Ref D5197
2019-09-26GHOST: add GHOST_HasWindowCursorShape() to test if standard cursor existsBrecht Van Lommel
Ref D5197
2019-09-25Cycles: Fix undefined behavior which can causes crashes with a misaligned ↵Patrick Mours
address error Cycles casts a pointer from ShaderDataTinyStorage to ShaderData, these structs by default had different alignments however (the former was 1-byte aligned, the latter 16-byte). This caused undefined behavior on at least the CUDA platform. Forcing both structs to use the same alignment fixes this. CUDA toolkits newer than 10.1 run into this because of a compiler optimization. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5883
2019-09-24Cleanup: clang-formatBrecht Van Lommel
2019-09-24Fix T68457: Cycles OpenCL Displacement ShadingJeroen Bakker
When doing simple scenes the displacement shading failed during final rendering when the displacement method is set to `Displacement + Bump`. When this option is enabled the shader uses the Vector math node. This node is part of the node group level 1. When doing simple shading only using nodes that are part of the node group level 0 the shading was rendered black. This only happened in final rendering as there the OpenCL programs are optimized to save registries. Viewport rendering rendered correctly Reviewed By: brecht Differential Revision: https://developer.blender.org/D5859
2019-09-23Revert part of "GPencil: Invert Paste operator and make Paste to Active default"Brecht Van Lommel
This commit accidentally undid a bunch of previous commits. Only the intended changes are left now.
2019-09-21Cleanup: extra semicolon, comma warningsCampbell Barton
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-19Use FFmpeg's own `av_guess_frame_rate()` function instead of guessing ourselvesSybren A. Stüvel
This was introduced in FFmpeg lavf 55.1.100 in 2013. For systems that are still on LibAV or older FFmpeg there is a fallback implementation that performs the same guess as we did before in `av_get_r_frame_rate_compat()`.
2019-09-19Cleanup: spellingCampbell Barton
2019-09-17Cycles: Viewport Rendering Memory ImprovementJeroen Bakker
Small memory reduction change by only storing the pixels of the combined pass when it is being shown in the viewport. Previously the combined pass was always calculated and present in the output buffer. The combined pass will still be calculated. It is a limitation in Blender that Cycles always had a combined pass. This patch will remove the limitation from the code base of Cycles. Blender still has the limitation, but will always request the combined renderpass when doing final rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5784
2019-09-14macOS: Replaced deprecated Cocoa API calls.Stefan Werner
Most of these calls were replaced with the successors as suggested by Xcode's Fix-It. Functionality should not be affected. This reduces the number of warnings when building on macOS.
2019-09-14macOS: Replaced OSSpinLock with os_unfair_lock.Stefan Werner
OSSplinLock is a deprecated API, os_unfair_lock is its successor. This reduces the number of warnings when building on macOS.
2019-09-14Cleanup: clang-formatStefan Werner
2019-09-13macOS: Enabled posix_memalign() like on other Unix platforms.Stefan Werner
2019-09-13Cleanup: compiler warningsBrecht Van Lommel
2019-09-13Cleanup: clang-formatCampbell Barton
2019-09-13Cycles: add Optix device backendPatrick Mours
This uses hardware-accelerated raytracing on NVIDIA RTX graphics cards. It is still currently experimental. Most features are supported, but a few are still missing like baking, branched path tracing and using CPU memory. https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Cycles#NVIDIA_RTX For building with Optix support, the Optix SDK must be installed. See here for build instructions: https://wiki.blender.org/wiki/Building_Blender/CUDA Differential Revision: https://developer.blender.org/D5363
2019-09-13Cycles: add Optix support in the kernelPatrick Mours
This adds all the kernel side changes for the Optix backend. Ref D5363
2019-09-13Add QuadriFlow remesherSebastian Parborg
2019-09-12macOS fix typo on Frameworks dirArto Kitula
2019-09-12macOS fix T67686 , use absolute path to load 3Dconnexion frameworkArto Kitula
2019-09-12Shading: Add Vertex Color node.OmarSquircleArt
This patch adds a new Vertex Color node. The node also returns the alpha of the vertex color layer as an output. Reviewers: brecht Differential Revision: https://developer.blender.org/D5767
2019-09-12GPencil: Fix missing Simplify panel in CyclesAntonio Vazquez
Differential Revision: https://developer.blender.org/D5776
2019-09-12Cycles: Fix Show Instanced Local View ObjectsJeroen Bakker
The local view check in the RNA didn't support instanced objects. Every object has a copy of the local_view_bits from the base. This patch changes the check to look at the local stored bits. This patch removes the check if the object is part of the view_layer. In the cases we are using it this check is not relevant. The `mesh_tissue` add-on also uses it, and is not effected by this change. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5773
2019-09-12Shading: Add More Features To The Voronoi Node.OmarSquircleArt
This patch allows the Voronoi node to operate in 1D, 2D, and 4D space. It also adds a Randomness input to control the randomness of the texture. Additionally, it adds three new modes of operation: - Smooth F1: A smooth version of F1 Voronoi with no discontinuities. - Distance To Edge: Returns the distance to the edges of the cells. - N-Sphere Radius: Returns the radius of the n-sphere inscribed in the cells. In other words, it is half the distance between the closest feature point and the feature point closest to it. And it removes the following three modes of operation: - F3. - F4. - Cracks. The Distance metric is now called Euclidean, and it computes the actual euclidean distance as opposed to the old method of computing the squared euclidean distance. This breaks backward compatibility in many ways, including the base case. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5743
2019-09-12Fix crash when doing cycles renderingJeroen Bakker
During F-12 Rendering the passed screen was Null, but decoded as a number. In stead of a Null a 0 will be send to cycles python wrapper.
2019-09-12Cycles: Initial Support For Local ViewJeroen Bakker
This diff will add support for local view to Cycles rendered preview mode. Currently the implementation shows same results as EEVEE does. This entails a difference with Blender 2.79, where lights were automatically added to the local view. {T69780} describes this should be solved before the next release. This patch also solves missing `owner_id` issues when using the RNA CPP Api from Cycles. Cycles didn't provide the `owner_id` making some functionality fail, what then was worked around in Blender. It also fixes an issue in `makesrna` where incorrect CPP code was generated when only `PARM_RNAPTR` was provided. An optional `view_layer` parameter is added to the `Object.local_view_get` method to reduce lookups. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5753
2019-09-11Cycles: Ignore links with unavailable sockets.OmarSquircleArt
Ignore links with unavailable/disabled sockets during shader graph generation.
2019-09-11Cycles: Display RenderPass in ViewportJeroen Bakker
This change allows the user to select a renderpass in the 3d viewport. Added support for external renderers to extend the `View3DShading` struct. This way Blender doesn't need to know the features an external render engine wants to support. Note that the View3DShading is also available in the scene->display.shading; although this is supported, it does not make sense for render engines to put something here as it is really scene/workbench related. Currently cycles assumes that it always needs to calculate the combined pass; it ignores the `pass_flag` in KernelFilm. We could optimize this but that was not in scope of this change Reviewed By: brecht Differential Revision: https://developer.blender.org/D5689
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-09-09Fix T69686: Cycles OpenCL build error after recent changesBrecht Van Lommel
2019-09-09Shading: Extend Musgrave node to other dimensions.OmarSquircleArt
This patch extends Musgrave noise to operate in 1D, 2D, 3D, and 4D space. The Color output was also removed because it was identical to the Fac output. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5566
2019-09-09Cleanup: clang-formatPhilipp Oeser
2019-09-08Cycles: add bump map shadow terminator softening term for diffuse BSDFsLukas Stockner
This avoids artifacts for bump mapping and diffuse BSDFs, where the bump normal deviates far from the actual normal. Differential Revision: https://developer.blender.org/D5399
2019-09-07Cleanup: style, spellingCampbell Barton
2019-09-06Fix: Rename the dimensions property in Noise nodes.OmarSquircleArt
The `dimensions` property of the noise nodes has been renamed to `noise_dimensions` because it conflicted with and overwrote the `dimensions` property of the base node. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5705
2019-09-06Viewport Shading: StudioLight IntensityJeroen Bakker
Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5674
2019-09-05Fix: Compile error due to undefined isinf function.OmarSquircleArt
Some implementations of the standard c++ library doesn't define its functions in the global namespace. So the `isinf` function might fail in some systems. To fix this, we use the `ensure_finite` function instead. Reviewers: brecht Differential Revision: https://developer.blender.org/D5687
2019-09-05Cleanup: use backslash for doxygen commandsCampbell Barton
2019-09-05Shading: Rewrite Mapping node with dynamic inputs.OmarSquircleArt
This patch rewrites the Mapping node to support dynamic inputs. The Max and Min options have been removed. They can be added as Min and Max Vector Math nodes manually. Texture nodes still use the old matrix-based mapping. A new SVM node `NODE_TEXTURE_MAPPING` has been added to preserve this functionality. Similarly, in GLSL, a `mapping_mat4` function has been added. Reviewers: brecht, JacquesLucke