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-08-29Cycles: Add BVH8 and packeted triangle intersectionSergey Sharybin
This is an initial implementation of BVH8 optimization structure and packated triangle intersection. The aim is to get faster ray to scene intersection checks. Scene BVH4 BVH8 barbershop_interior 10:24.94 10:10.74 bmw27 02:41.25 02:38.83 classroom 08:16.49 07:56.15 fishy_cat 04:24.56 04:17.29 koro 06:03.06 06:01.45 pavillon_barcelona 09:21.26 09:02.98 victor 23:39.65 22:53.71 As memory goes, peak usage raises by about 4.7% in a complex scenes. Note that BVH8 is disabled when using OSL, this is because OSL kernel does not get per-microarchitecture optimizations and hence always considers BVH3 is used. Original BVH8 patch from Anton Gavrikov. Batched triangles intersection from Victoria Zhislina. Extra work and tests and fixes from Maxym Dmytrychenko.
2018-08-28cmake: adjustments required for lib-upgrade on windows.Ray Molenkamp
2018-08-27Fix pen tablet stuck on Windows for some non-Wacom tablets.Colby Klein
Differential Revision: https://developer.blender.org/D3573
2018-08-26Cleanup: trailing spaceCampbell Barton
2018-08-25Cycles Denoiser: Allocate a single temporary buffer for the entire denoising ↵Lukas Stockner
process With small tiles, the repeated allocations on GPUs can actually slow down the denoising quite a lot. Allocating the buffer just once reduces rendertime for the default cube with 16x16 tiles and denoising on a mobile 1050 from 22.7sec to 14.0sec.
2018-08-25Cycles: Add Denoising Clean to the debugging denoising passesLukas Stockner
2018-08-24Cycles: Cleanup, styleSergey Sharybin
I wouldn't mind changing style to have space after keyword, but there was no official code style change proposed.
2018-08-24Cycles: Fix wrong looking voronoi of second 2nd closestSergey Sharybin
Was only happening for release builds made with GCC-8. Probably some optimization strtegy was confused by uninitialized variable.
2018-08-23Cycles: Add option for building CUDA kernels sequentiallyLukas Stockner
Building the CUDA kernels takes quite a bit of memory, and when building all of them the combined usage can be too much on some systems (especially VMs). Therefore, this patch adds an option to force the build system to build them sequentially by making each build step depend on the previous kernel. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3623
2018-08-20Fix Cycles AO pass not working for shadow catcher objects.Brecht Van Lommel
2018-08-14Fix T56359: Unitialized variable in Cycles OpenCL could cause crashes.Stefan Werner
2018-08-09Cycles: Append compute units for RX Vega card namesfclem
Makes it more clear whether compute device is Vega 56 or Vega 64.
2018-08-09Cycles: Report more details about OpenCL devicesfclem
2018-08-09Cycles: Util, add to_string() with some helperfclem
Currently unused, but will allow to convert unknown argument type to a string for reporting and such.
2018-08-08Ghost/X11: correct function signatureCampbell Barton
2018-08-08Cleanup: use static variablesCampbell Barton
2018-08-05Fix Cycles crash rendering mix of instanced and non-instanced volumes.Brecht Van Lommel
2018-08-01Fix T56197: Cycles OpenCL build error after recent changes.Brecht Van Lommel
2018-07-31Fix building w/ FreeBSDCampbell Barton
fileno could be a macro which can't take a void pointer.
2018-07-30Build: require C11/C++11 for all operating systems in master.Brecht Van Lommel
This is in preparation of upgrading our library dependencies, some of which need C++11. We already use C++11 in blender2.8 and for Windows and macOS, so this just affects Linux. On many distributions this will not require any changes, on some install_deps.sh will need to be run again to rebuild libraries. Differential Revision: https://developer.blender.org/D3568
2018-07-30Cycles: Fixed OpenCL build. sqr(float4) is available on CUDA and CPU, but ↵Stefan Werner
not on OpenCL.
2018-07-28Cycles: speed up mesh volume bounds construction.Stefan Werner
Patch by Stefan, with minor tweaks by Brecht.
2018-07-28Cycles: Save a few instructions in area light samplingLukas Stockner
Just basic algebra - because all vectors have the same z coordinate, a lot of terms end up cancelling out. Not exactly a massive improvement, but it's measurable with Branched PT and a high sample count on the lamp. Reviewers: brecht, sergey Reviewed By: brecht Subscribers: swerner Differential Revision: https://developer.blender.org/D3540
2018-07-27Cycles: Initial implementation of detailed statisticsSergey Sharybin
Gathers information about object geometry and textures. Very basic at this moment, but need to start somewhere. Things which needs to be included still: - "Runtime" information, like BVH. While it is not directly controllable by artists, it's still important to know. - Device array sizes. Again, not under artists control, but is added to the overall size. - Memory peak at different synchronization stages. At this point it simply prints info to the stdout after F12 is done, need better control over that too. Reviewers: brecht Differential Revision: https://developer.blender.org/D3566
2018-07-27Cycles: Add utility function to query graph node size in bytesSergey Sharybin
2018-07-27Fix T56092: command line arguments after -- beginning with -h don't work.Brecht Van Lommel
2018-07-27Cycles: Cleanup, indentationSergey Sharybin
2018-07-27Cycles: Cleanup, indentationSergey Sharybin
2018-07-27Cycles: Cleanup, spellingSergey Sharybin
2018-07-27Cycles: Cleanup, indentationSergey Sharybin
2018-07-27Cycles: Cleanup, line lengthSergey Sharybin
2018-07-27Cycles: Cleanup, move functions outside of class methodsSergey Sharybin
There is no reason or justification to have helper functions as class methods: they do not depend on anything in the class itself. There are probably more cases like that.
2018-07-27Cycles: Cleanup, remove unused functionSergey Sharybin
2018-07-27Cycles: Cleanup in image manager, switch statement instead of if-elseSergey Sharybin
Allows to catch enumerator values which are missing from being handled. Also use `const char*`, no need to construct string just to throw it away.
2018-07-26Cycles: Add reflection fix to Bump and Normal Map nodesLukas Stockner
While changing the shading normal is a great way to add additional detail to a model, there are some problems with it. One of them is that at grazing angles and/or strong changes to the normal, the reflected ray can end up pointing into the actual geometry, which results in a black spot. This patch helps avoid this by automatically reducing the strength of the bump/normal map if the reflected direction would end up too shallow or inside the geometry. Differential Revision: https://developer.blender.org/D2574
2018-07-24Fix T55958: allow the user to select between spring and spring2.Alexander Gavrilov
The old springs with damping 1.0 operate in a special way that is more similar to plastic deformation than a spring. Some users rely on that, so let the user choose which implementation to use. This also restores full backward compatibility with 2.79. Reviewers: sergof Differential Revision: https://developer.blender.org/D3544
2018-07-20Fix T54455, T56053, T55564: Cycles OpenCL build error after recent changes.Brecht Van Lommel
2018-07-18Cycles: increase volume stack to support 32 overlapping volumes.Brecht Van Lommel
This increases stack memory usage some, and ideally we'd support a dynamic size. But this is quite difficult on the GPU and hopefully 32 is enough even for very complex cases.
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