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
2018-07-18Cycles: add Principled Hair BSDF.L. E. Segovia
This is a physically-based, easy-to-use shader for rendering hair and fur, with controls for melanin, roughness and randomization. Based on the paper "A Practical and Controllable Hair and Fur Model for Production Path Tracing". Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google Summer of Code 2018.
2018-07-16Ghost: Fix memory leak happening with keyboard mapping accessSergey Sharybin
So far only noticed system de-initialization doesn't perform full object free. So rather harmless but yet stupid.
2018-07-15Fix Cycles incorrect resize and CMYK conversion of uint16/half images.Brecht Van Lommel
2018-07-15Cycles: add voronoi features and distance settings from Blender.charlie
Features to get the 2nd, 3rd, 4th closest point instead of the closest, and various distance metrics. No viewport/Eevee support yet. Patch by Michel Anders, Charlie Jolly and Brecht Van Lommel. Differential Revision: https://developer.blender.org/D3503
2018-07-15Cleanup: use float3 SSE instead of ssef for voronoi texture.Brecht Van Lommel
2018-07-13Nodes: add sqrt, ceil, floor and fract to math nodes.Charlie Jolly
This works for Cycles, Eevee, texture nodes and compositing. It helps to reduce the number of math nodes required in various node setups. Differential Revision: https://developer.blender.org/D3537
2018-07-12Cleanup: pep8, cyclesCampbell Barton
2018-07-10OpenSubdiv: Fix wrong topology refiner castSergey Sharybin
2018-07-10OpenSubdiv: Make more flexible C-API to specify FVar interpolationSergey Sharybin
2018-07-10GHOST: Fix memory leak in X11 DPI querySergey Sharybin
The X resource database is to be explicitly destroyed. This fixes 46 bytes leak per every window DPI query (which happens a lot on window move/resize and even on areas resize). Unfortunately, this does not fully fix the leak since the known leak: https://bugs.freedesktop.org/show_bug.cgi?id=94604
2018-07-06Cycles: Enabled half precision textures for OpenCL devices that support the ↵Stefan Werner
cl_khr_fp16 extension.
2018-07-06Cycles: Fixed OpenCL kernel build, it threw a compiler error.Stefan Werner
2018-07-06Cleanup: strip trailing space for cyclesCampbell Barton
2018-07-05Cycles: Adding native support for UINT16 textures.Stefan Werner
Textures in 16 bit integer format are sometimes used for displacement, bump and normal maps and can be exported by tools like Substance Painter. Without this patch, Cycles would promote those textures to single precision floating point, causing them to take up twice as much memory as needed. Reviewers: #cycles, brecht, sergey Reviewed By: #cycles, brecht, sergey Subscribers: sergey, dingto, #cycles Tags: #cycles Differential Revision: https://developer.blender.org/D3523
2018-07-04Cycles Denoising: Pass tile buffers to every OpenCL kernel to conform to ↵Lukas Stockner
standard and get rid of set_tile_info
2018-07-04Cycles Denoising: Correctly handle target buffer in tile unmapping and move ↵Lukas Stockner
device swap logic to the device_memory
2018-07-04Cycles Denoising: Cleanup: Rename tiles to tile_infoLukas Stockner
2018-07-04Cycles Denoising: Refactor denoiser tile handlingLukas Stockner
This deduplicates the calls for tile (un)mapping and allows to have a target buffer that is different from the source buffer (needed for baking and animation denoising).
2018-07-04Cycles Denoising: Split main function into logical stepsLukas Stockner
2018-07-02Cycles: Fix missing curve hair when building with GCC-8 in release modeSergey Sharybin
Reshuffle cast intrinsics to make XOR to operate on __m128i rather than on __m128. Hopefully this does not affect performance.
2018-07-01Fix T55626, fix T55106: Cycles motion blur + persistent images bug.Brecht Van Lommel
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-29Cycles: change AO node default to 16 samples and only local off.Brecht Van Lommel
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Fix Cycles tests build on macOS.Brecht Van Lommel
2018-06-26Revert "Turned off clang warnings in third party includes."Stefan Werner
This reverts commit d53093953f8f3b58600cb19020ecbe0b5f254b52.
2018-06-26Cycles: Fix wrong row count for World MIS CDF calculationLukas Stockner
2018-06-26Turned off clang warnings in third party includes.Stefan Werner
The latest clang compiler (at least the one in Xcode 9.4.1) warns about the register keyword and macro expansions using defined(). Since these warnings come from third party code, we can't address them directly in Blender. Silencing them via #pramgas will at least keep the warnings during a build down to the ones that are relevant to Blender code.
2018-06-24Cycles: change AO node color default to 1.0.Brecht Van Lommel
2018-06-22CMake: Make language explicit for per-file strict flags removalSergey Sharybin
2018-06-21Fix Cycles incorrect versioning for automatic sample world resolution.Brecht Van Lommel
2018-06-21Fix Cycles CUDA render errors with CUDA 9.2.Brecht Van Lommel
Work around what might be a compiler bug.
2018-06-21Fix T55564: Cycles OpenCL build error on some scenes.Brecht Van Lommel
2018-06-19Cycles: Fixed crash when the camera was inside 16 volumes or more. It still ↵Stefan Werner
won't render those volumes correctly, but at least the crash is addressed.
2018-06-19Fix T55528: Cycles AO node should default to 1 if radius is 0.Brecht Van Lommel
2018-06-17Cleanup: trailing space in CMake filesCampbell Barton
2018-06-16Cycles Cleanup: Remove unneccessary color management callLukas Stockner
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-15Fix more Cycles CUDA errors after recent changes.Brecht Van Lommel
2018-06-15Fix Cycles CUDA error after recent changes.Brecht Van Lommel
2018-06-14Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of ↵Lukas Stockner
assuming sRGB I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3478
2018-06-14Cycles: Connect value inputs to Strength instead of Color when inserting an ↵Lukas Stockner
Emission node Same result, but saves an additional ConvertNode.
2018-06-14Cycles: Automatically detect HDRI resolution by default and use non-square ↵Lukas Stockner
sampling map The automatic mode checks all Enviroment Texture nodes and picks the largest image's resolution. If there are no Enviroment Textures, it just uses the old default. Also, the sampling map now isn't limited to square shapes. The automatic detection uses the exact image size, the manual UI option now halves the value to get the height. A default aspect ratio of 2:1 makes sense since this is what most HDRIs use. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3477
2018-06-13Cycles: auto insert emission node when linking color to closure.Brecht Van Lommel
This is convenient for previewing the output of a node, and we agreed to support this behavior in both Eevee and Cycles.
2018-06-12Fix T55448: Typo in Cycles CUDA debug outputLukas Stockner
Reviewers: sergey, lukasstockner97 Reviewed By: lukasstockner97 Tags: #cycles, #bf_blender Differential Revision: https://developer.blender.org/D3472
2018-06-11Cycles: Cleanup, silence strict compiler warningSergey Sharybin
There is one legit place in the code where memcpy was used as an optimization trick. Was needed for older version of GCC, but now it should be re-evaluated and checked if it still helps to have that trick. In other places it's somewhat lazy programming to zero out all object members. That is absolutely unsafe, at the moment when less trivial class is used as a member in that object things will break. Other cases were using memcpy into an object which comes from an external library. We don't control that object, and we can not guarantee it will always be safe for such memory tricks and debugging bugs caused by such low level access is far fun. Ideally we need to use more proper C++, but needs to be done with big care, including benchmarks of each change, For now do annoying but simple cast to void*.
2018-06-11Libmv: Cleanup, make strict compiler more happySergey Sharybin
In C++ it is not really safe to memcpy objects, and newer GCC will warn about this. However, we don't use our vector for unsafe-to-memcpy objects, so just explicitly silence that warning.
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-09GHOST/X11: Print the keycode w/ debug enabledCampbell Barton