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
2017-09-20Added extra "const" to satisfy the strict clang version in Xcode 9Stefan Werner
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-19Fix T52818: Tangent space calculation is really slow for high-density mesh ↵Sergey Sharybin
with degenerated topology Now we replace O(N^2) computational complexity with O(N) extra memory penalty. Memory is much cheaper than CPU time. Keep in mind, memory penalty is like 4 megabytes per 1M vertices.
2017-09-19Mikkspace: Cleanup, reduce indentation levelSergey Sharybin
2017-09-18Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2017-09-18Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-18Fix Cycles adaptive compile without volumes broken after recent changes.Carlo Andreacchio
Differential Revision: https://developer.blender.org/D2847
2017-09-16Cycles: Fix compilation error with OpenCL split kernelHristo Gueorguiev
2017-09-15Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-14Fix T51416: Blender Crashes while moving SlidersSergey Sharybin
The issue here was that removing datablock from main database will poke editors update, which includes buttons context to free users of texture. Since Cycles will free datablocks from job thread, it might crash Blender since main thread might be in the middle of drawing. Solved by exposing extra arguments to bpy.data.foo.remove() which indicates whether we want to perform ID user count and interface updates. While scripts shouldn't be using those normally, this is the only way to allow Cycles to skip interface update when removing datablock. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2840
2017-09-13Merge branch 'master' into blender2.8Campbell Barton
2017-09-13Code cleanup: store branch factor in PathState.Brecht Van Lommel
2017-09-13Code cleanup: avoid used of uninitialized value in case of precision issue.Brecht Van Lommel
2017-09-13Code cleanup: abstract shadow catcher logic more into accumulation code.Brecht Van Lommel
2017-09-13Code cleanup: deduplicate some branched and split kernel code.Brecht Van Lommel
Benchmarks peformance on GTX 1080 and RX 480 on Linux is the same for bmw27, classroom, pabellon, and about 2% faster on fishy_cat and koro.
2017-09-13Code cleanup: tweak inlining for 2% better CUDA performance with hair.Brecht Van Lommel
2017-09-12Cycles: change AO bounces approximation to do more glossy and transmission.Mathieu Menuet
Rather than treating all ray types equally, we now always render 1 glossy bounce and unlimited transmission bounces. This makes it possible to get good looking results with low AO bounces settings, making it useful to speed up interior renders for example. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2818
2017-09-12Fix rare firefly in volume equiangular sampling when sampling short distance.Brecht Van Lommel
2017-09-12Cycles: improve sample stratification on area lights for path tracing.Brecht Van Lommel
Previously we used a 1D sequence to select a light, and another 2D sequence to sample a point on the light. For multiple lights this meant each light would get a random subset of a 2D stratified sequence, which is not guaranteed to be stratified anymore. Now we use only a 2D sequence, split into segments along the X axis, one for each light. The samples that fall within a segment then each are a stratified sequence, at least in the limit. So for example for two lights, we split up the unit square into two segments [0,0.5[ x [0,1[ and [0.5,1[ x [0,1[. This doesn't make much difference in most scenes, mainly helps if you have a few large area lights or some types of HDR backgrounds.
2017-09-12Fix Cycles bug in RR termination, probability should never be > 1.0.Brecht Van Lommel
This causes render differences in some scenes, for example fishy_cat and pabellon scenes render brighter in a few spots. This is an old bug, not due to recent RR changes.
2017-09-12Cycles: Tweaks to avoid compilation error of megakernelSergey Sharybin
Also moved code out of deep-inside ifdef block, otherwise it was quite confusing.
2017-09-11Merge branch 'master' into blender2.8Campbell Barton
2017-09-08Cycles: Attempt to work around compilation of sm_20 and sm_21Sergey Sharybin
Disabled forceinline for those architectures, which seems to be compiling successfully more often. There might be ~3% slowdown based on quick tests, but better be rendering something rather than failing to compile kernels again and again. Those architectures will be doomed for abandon once we'll switch to toolkit 9.
2017-09-08Cycles: disable fast math flags, only use a subset.Brecht Van Lommel
Empty BVH nodes are set to NaN which must be preserved all the way to the tnear <= tfar test which can then give false for empty nodes. This needs strict semantices and careful argument ordering for min() and max(), so the second argument is used if either of the arguments is NaN. Fixes T52635: crash in BVH traversal with SSE4.1. Differential Revision: https://developer.blender.org/D2828
2017-09-07Fix leak w/ ocio glsl drawCampbell Barton
2017-09-07Merge branch 'master' into blender2.8Campbell Barton
2017-09-06Fix T52660: CUDA volume texture rendering not working on Fermi GPUs.Brecht Van Lommel
2017-09-06Merge branch 'master' into blender2.8Brecht Van Lommel
2017-09-06Fix T52661: mesh light shader using backfacing not working, after new sampling.Brecht Van Lommel
2017-09-06Fix T52652: Cycles image box mapping has flipped textures.Brecht Van Lommel
This breaks backwards compatibility some in that 3 sides will be mapped differently now, but difficult to avoid and can be considered a bugfix.
2017-09-06Merge branch 'master' into blender2.8Campbell Barton
2017-09-05Cycles: Fix compilation error with CUDA after recent changesSergey Sharybin
2017-09-05Fix T52433: Volume Absorption color tintSergey Sharybin
Need to exit the volume stack when shadow ray laves the medium. Thanks Brecht for review and help in troubleshooting!
2017-09-05Merge branch 'master' into blender2.8Campbell Barton
2017-09-05Cycles: Cleanup, styleSergey Sharybin
2017-09-04Cycles: Fix compilation warningSergey Sharybin
2017-09-04Fix T52533: Blender shuts down when rendering duplicated smoke domainSergey Sharybin
2017-09-01Fix T52472: VSE Audio Volume not set immediatelyJoerg Mueller
Audio mixing is done with volume interpolation. A new handle started at volume 1, now starting at volume 0 for a smooth fade in.
2017-09-01Merge branch 'master' into blender2.8Campbell Barton
2017-09-01Cycles: follow strict class naming conventionCampbell Barton
2017-08-31Merge branch 'master' into blender2.8Campbell Barton
2017-08-31Cycles: Cleanup, indentation and trailing whitespaceSergey Sharybin
2017-08-31Merge branch 'master' into blender2.8Campbell Barton
2017-08-31Cycles: Fix typo in commentSergey Sharybin
2017-08-30Fix T52591: OpenColorIO not working correct with OpenGL core profile on macOS.Brecht Van Lommel
Also remove textureSize() replacement code, is always supported now.
2017-08-30OCIO: use modern GLSL texture functionsMike Erwin
small part of ongoing OpenGL upgrade
2017-08-30Attempt to fix OpenColorIO issues on MacDalai Felinto
We cannot have version130 there (should use version 330 instead). Patch suggested by Brecht Van Lommel
2017-08-30Fixing T52477 - switching from custom ray/triangle intersection code to the ↵Stefan Werner
one from util_intersection.h. This fixes the bug and makes the code more readable and maintainable.
2017-08-30Cycles: Fix build with networking enabledMai Lavelle
2017-08-29Fix Cycles Windows render errors with BVH2 CPU rendering.Brecht Van Lommel
One problem is that it was always using __mm_blendv_ps emulation even if the instruction was supported. The other that the emulation function was wrong. Thanks a lot to Ray Molenkamp for tracking this one down.