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-28Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
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-28Merge branch 'master' into blender2.8Antonio Vazquez
2018-05-28Fix Cycles + OSL build error, pass main to node editing functions.Brecht Van Lommel
2018-05-27Merge branch 'master' into blender2.8Lukas Stockner
2018-05-27Cycles: Fix problems in the IES loader when rendering with no file selectedLukas Stockner
2018-05-27Merge branch 'master' into blender2.8Campbell Barton
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-25Merge branch 'master' into blender2.8Campbell Barton
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-24UI: remove render panel, move operators to menuCampbell Barton
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-24Cycles/Eevee: Implement disk and ellipse shapes for area lampsLukas Stockner
The implementation is pretty straightforward. In Cycles, sampling the shapes is currently done w.r.t. area instead of solid angle. There is a paper on solid angle sampling for disks [1], but the described algorithm is based on simply sampling the enclosing square and rejecting samples outside of the disk, which is not exactly great for Cycles' RNG (we'd need to setup a LCG for the repeated sampling) and for GPU divergence. Even worse, the algorithm is only defined for disks. For ellipses, the basic idea still works, but a way to analytically calculate the solid angle is required. This is technically possible [2], but the calculation is extremely complex and still requires a lookup table for the Heuman Lambda function. Therefore, I've decided to not implement that for now, we could still look into it later on. In Eevee, the code uses the existing ltc_evaluate_disk to implement the lighting calculations. [1]: "Solid Angle Sampling of Disk and Cylinder Lights" [2]: "Analytical solution for the solid angle subtended at any point by an ellipse via a point source radiation vector potential" Reviewers: sergey, brecht, fclem Differential Revision: https://developer.blender.org/D3171
2018-05-23Cycles/Render API: changes for better copy-on-write support.Sergey Sharybin
Mainly just passing the depsgraph and evaluated scene and camera, instead of the original one. Patch by Sergey, further modifications by Brecht.
2018-05-23Merge branch 'master' into blender2.8Campbell Barton
2018-05-23Fix incorrect size in aligned lockfree reallocCampbell Barton
Thanks to @alikendarfen for finding.
2018-05-22Fix some Cycles modifier stack issues with copy-on-write.Brecht Van Lommel
There's still many problems, but this avoids modifiers being applied twice, subsurf render levels not being respected and hair render crashing.
2018-05-22Merge branch 'master' into blender2.8Campbell Barton
2018-05-22Memory allocator: use lockfree calls internallyCampbell Barton
Was already used in some areas.
2018-05-21Merge branch 'master' into blender2.8Campbell Barton
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-20GWN: Add Line Adjacency primitive support.Clément Foucault
2018-05-18Merge branch 'master' into blender2.8Campbell Barton
2018-05-18Logging: add --show-log-backtraceCampbell Barton
Useful in debug builds to see a functions callers.
2018-05-15Fix Cycles and viewport outline mismatch due to changed sensor size.Brecht Van Lommel
2018-05-13Fix build error with Visual Studio / Windows.Nick Milios
Differential Revision: https://developer.blender.org/D3363
2018-05-13Fix compiler warnings.Brecht Van Lommel
2018-05-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/modifiers/intern/MOD_dynamicpaint.c source/blender/modifiers/intern/MOD_uvproject.c
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-07Merge branch 'master' into blender2.8Sergey Sharybin
2018-05-07Fix wrong comparison of drop target URI on X11Sergey Sharybin
Need to compare, NOT to override passed file name.
2018-05-06Fix use of removed Blender Internal property.Brecht Van Lommel
2018-05-06Merge branch 'master' into blender2.8Campbell Barton
2018-05-06Fix T54801: incorrect render with zero weight transparent BSDFs.Brecht Van Lommel
2018-05-04Merge branch 'master' into blender2.8Campbell Barton
2018-05-04Logging: setting log level wasn't workingCampbell Barton
2018-05-02GWN: Add GWN_batch_uniform_mat4.Clément Foucault
2018-05-02GWN: Add GL_TRIANGLES_ADJACENCY to supported primitive types.Clément Foucault
2018-05-02Merge branch 'master' into blender2.8Campbell Barton
2018-04-29Cycles: Cleanup: Remove double semicolonsLukas Stockner
2018-04-26Workspaces: active view layer now always comes from workspace, not scene.Brecht Van Lommel
Both the scene and workspace had an active view layer, and it was confusing which settings were being used or displayed where. Now we always have one, so there is no mismatch. The "View Layers" tab in the properties editor is now "View Layer", no longer showing a list of layers. Instead view layers can be added and removed with the workspace view layer selector. They are also listed and selectable in the outliner. Single layer rendering uses the active view layer from the workspace. This fixes bugs where the wrong active view layer was used, but more places remain that are wrong and are now using the first view layer in the scene. These are all marked with BKE_view_layer_context_active_PLACEHOLDER.
2018-04-26GHOST: WGL: Make background rendering works on windows.fclem
When creating an offscreen context we need wglCreatePbufferARB to create a drawable. In non-background mode wglCreatePbufferARB would have been set by the main window creation code. But in background mode this is not the case so we need to create a dummy context using the screen window to init wglew properly.
2018-04-25GHOST: Fix missing glXCreatePbuffer initialisation.Clément Foucault
For some reason this happened if no windows are created before creating an offscreen context.
2018-04-25GHOST: GLX: Remove old version check.Clément Foucault
2018-04-25Depsgraph: Clarify python APISergey Sharybin
Follow same naming convention as for C: - Original data is named without any extra prefix/suffix. - Evaluated data is named with _eval suffix.
2018-04-25Multi-View: Moving panel to render, and rename to StereoscopyDalai Felinto
Multi-View was never a per-viewlayer option. And now that we have viewlayer it is better to name it in a more recognizable way: "Stereoscopy" instad of plain "Views".
2018-04-24OpenGL: Remove remaining instances of GL_RGBA16F_ARB.Clément Foucault
There is no need for it now that we use opengl 3.3. Use GL_RGBA16F instead.
2018-04-22Cycles: rename engine to just "Cycles" instead of "Cycles Render" in the UI.Brecht Van Lommel
2018-04-21Fix point density rendering in Cycles.Brecht Van Lommel