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-05-31Cleanup: remove G.main from BKE modifier.Bastien Montagne
2018-05-31Fix OpenCL compilation error - BPT without SSS.Hristo Gueorguiev
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-28Fix Cycles + OSL build error, pass main to node editing functions.Brecht Van Lommel
2018-05-27Cycles: Fix problems in the IES loader when rendering with no file selectedLukas Stockner
2018-05-27Cycles: Add Support for IES files as textures for light strengthLukas Stockner
This patch adds support for IES files, a file format that is commonly used to store the directional intensity distribution of light sources. The new IES node is supposed to be plugged into the Strength input of the Emission node of the lamp. Since people generating IES files do not really seem to care about the standard, the parser is flexible enough to accept all test files I have tried. Some common weirdnesses are distributing values over multiple lines that should go into one line, using commas instead of spaces as delimiters and adding various useless stuff at the end of the file. The user interface of the node is similar to the script node, the user can either select an internal Text or load a file. Internally, IES files are handled similar to Image textures: They are stored in slots by the LightManager and each unique IES is assigned to one slot. The local coordinate system of the lamp is used, so that the direction of the light can be changed. For UI reasons, it's usually best to add an area light, rotate it and then change its type, since especially the point light does not immediately show its local coordinate system in the viewport. Reviewers: #cycles, dingto, sergey, brecht Reviewed By: #cycles, dingto, brecht Subscribers: OgDEV, crazyrobinhood, secundar, cardboard, pisuke, intrah, swerner, micah_denn, harvester, gottfried, disnel, campbellbarton, duarteframos, Lapineige, brecht, juicyfruit, dingto, marek, rickyblender, bliblubli, lockal, sergey Differential Revision: https://developer.blender.org/D1543
2018-05-24Cycles: Cleanup: Remove duplicated atan2f definition for OpenCLLukas Stockner
Turns out that atan2f was already defined for OpenCL.
2018-05-24Cycles Denoising: Don't use atomics in the accumulation kernel on CPUsLukas Stockner
The GPU kernel needs to use atomics for accumulation since all offsets are processed in parallel, but on CPUs that's not the case, so we can disable them there for a considerable speedup.
2018-05-24Cycles/Compositor: Add arctan2 operation to the Math nodeLukas Stockner
The Math node currently has the normal atan() function, but for actual angles this is fairly useless without additional nodes to handle the signs. Since the node has two inputs anyways, it only makes sense to add an arctan2 option. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3430
2018-05-23Fix incorrect size in aligned lockfree reallocCampbell Barton
Thanks to @alikendarfen for finding.
2018-05-22Memory allocator: use lockfree calls internallyCampbell Barton
Was already used in some areas.
2018-05-21Fix too much memory usage for Cycles attribute map.Brecht Van Lommel
Thanks to Thomas Krebs for identifying the problem and solution.
2018-05-18Logging: add --show-log-backtraceCampbell Barton
Useful in debug builds to see a functions callers.
2018-05-08Fix building with latest versions of ffmpeg.Bastien Montagne
Some years-old deprecated stuff has now been removed. Correct solution is probably to use valid defines etc. in own code, but this is more FFMEPG maintainer task (since it also may change how old FFMPEG we do support...).
2018-05-07Fix wrong comparison of drop target URI on X11Sergey Sharybin
Need to compare, NOT to override passed file name.
2018-05-06Fix T54801: incorrect render with zero weight transparent BSDFs.Brecht Van Lommel
2018-05-04Logging: setting log level wasn't workingCampbell Barton
2018-04-29Cycles: Cleanup: Remove double semicolonsLukas Stockner
2018-04-16Logging: edits to build on macOSCampbell Barton
2018-04-15Fix compiler error in WindowsAntonio Vazquez
2018-04-14Logging: replace 'fwrite' w/ 'write'Campbell Barton
We're already buffing output, so use write directly.
2018-04-09Use the newer version of the bullet 6dof spring constraint for rigidbody.Alexander Gavrilov
The new constraint is slower and not backward compatible, but should be better, especially in the damping side. The new constraint also has a different valid range of the damping coefficient, and a limit implementation that bounces instead of making the object stationary. Reviewers: sergof Differential Revision: https://developer.blender.org/D3125
2018-04-04Proper fix for T54337Mai Lavelle
Accidentally checked the wrong variable in fa01a1738bd1e3a6750ff.
2018-04-04Fix T54337: Cycles crash with simple subd object in debug buildMai Lavelle
2018-04-04Fix T54400: Some GCN 1 cards available to select for use with CyclesMai Lavelle
Hainan was missing from the list of GCN 1 cards.
2018-04-02Build: add WITH_OPENVDB_3_ABI_COMPATIBLE option.Brecht Van Lommel
Better fix for T54457. It seems Debian compiles OpenVDB without ABI 3 compatibility, while Arch does enable it as is the default in the OpeVDB CMake build system. So now there's an option that the distribution can set depending on how they compile their OpenVDB package.
2018-04-02Build: fixes for the Intel compiler versions 2016, 2017, 2018.Milan Jaros
Differential Revision: https://developer.blender.org/D3109
2018-04-01Cleanup: warningCampbell Barton
2018-03-31Logging: fix own error with formattingCampbell Barton
2018-03-31Use int instead of boolCampbell Barton
Causes issues when including in some files.
2018-03-31Logging: add argument --log-show-basenameCampbell Barton
Optionally strips leading path from filenames when logging.
2018-03-31Logging: add ability to exclude categories.Campbell Barton
2018-03-31Docs: doxygen docs for clogCampbell Barton
2018-03-31Fix clog: own error allocating from static bufferCampbell Barton
2018-03-31Fix logger build w/ MSVCCampbell Barton
2018-03-30C Logging: use instead of printf for messagesCampbell Barton
- See `--log` help message for usage. - Supports enabling categories. - Color severity. - Optionally logs to a file. - Currently use to replace printf calls in wm module. See D3120 for details.
2018-03-29Fix T54457: build error with OpenVDB versions newer than 3.Brecht Van Lommel
Solution provided by Sven-Hendrik Haase.
2018-03-29Fix T54455: OpenCL build error after recent changes.Brecht Van Lommel
2018-03-29Cycles: take into account diffuse roughness for roughness baking.Matt Heimlich
Roughness baking previously defaulted to 1.0 for all diffuse materials, now we also bake roughness values of Oren-Nayer and Principled Diffuse. Differential Revision: https://developer.blender.org/D3115
2018-03-28Cycles: don't require pthreads as dependency on Windows.Jeff Witthuhn
Use C++11 threads when available, and native critical section on Windows. Later on we can remove pthread code when C+11 becomes required. Differential Revision: https://developer.blender.org/D3116
2018-03-28Fix missing confirm quit dialog on macOS, after recent changes.Brecht Van Lommel
2018-03-28Cycles: Fix bad register cast in ssebSergey Sharybin
This is currently unused code, but causes gcc-8 to fail.
2018-03-27Fix T54420: too much volume render noise with multiple volume objects.Brecht Van Lommel
Random numbers for step offset were correlated, now use stratified samples which reduces noise as well for some types of volumes, mainly procedural ones where the step size is bigger than the volume features.
2018-03-26GHOST: Solve compilation error of test programsSergey Sharybin
2018-03-23Libmv: Fix compilation error on WindowsSergey Sharybin
2018-03-23Glog/gflags: Reduce amount of local modificationsSergey Sharybin
With better directory layout and more proper include statements we can avoid several local modifications, such as changing config.h for Windows Glog and the ones related on pass-through statements in logging headers in Glog. This commit also makes unused functions not-a-warning for external code.
2018-03-22PyDocs: Fix link syntaxAaron Carlisle
2018-03-21UI: Optional prompt to quit for non win32 systemsCampbell Barton
D566 by @januz Use Blender native dialog when OS dialog's aren't supported.
2018-03-20Fix build error on Windows 32 bit.Brecht Van Lommel
2018-03-20Memory allocator: Clarify consistency check functionSergey Sharybin
Also make it to return truth when everything is good and false otherwise.