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-09-03Fix Cycles half float pragma for strict OpenCL compilers (like ROCm).Alex Fuller
Differential Revision: https://developer.blender.org/D3669
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-31Fix T56618: crash when typing certain characters on Linux.Brecht Van Lommel
2018-08-31Cycles: Cleanup, use explicit comparison with NULLSergey Sharybin
2018-08-31Fix T56626: Cycles ambient occlusion only local : crashSergey Sharybin
Was caused by missing NULL pointer check in BVH8.
2018-08-30Cycles: Cleanup, whitespace after keywordSergey Sharybin
2018-08-30Cycles: Fix detection of CPU brand string on 32 bit platformsSergey Sharybin
The assembler template was backing up and restoring ebx, which is fair enough. However, this did not prevent compiler for putting result variables to ebx. This was causing data corruption. In order to prevent this easiest solution is to list ebx in clobbers for the assembly.
2018-08-30Fix T56612: crash in Cycles viewport render update, after recent changes.Brecht Van Lommel
BVH8 refitting code had a bug.
2018-08-30Cleanup: license header formatting.Brecht Van Lommel
2018-08-29Cleanup: trailing spaceCampbell Barton
2018-08-29Fix Cycles CUDA build after recent changes.Brecht Van Lommel
2018-08-29Cleanup: consistent includes.Brecht Van Lommel
2018-08-29CMake: Comply with include path reported by FindOpenGL.cmakeSergey Sharybin
The script clearly states: This makes the presumption that you are include al.h like #include "al.h" and not #include <AL/al.h> The reason for this is that the latter is not entirely portable. Windows/Creative Labs does not by default put their headers in AL/ and OS X uses the convention <OpenAL/al.h>. This commit makes default precompiled OpenAL to be properly detected and also removes hack on MacOS which was finding the OpenAL package but then was overwriting include directory. Note, that new audaspace in 2.8 is using expected #include <al.h>.
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