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-25Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-25OpenVDB: Fix compilation error against OpenVDB 4Sergey Sharybin
One crucial thing here: OpenVDB shoudl be compiled WITHOUT OPENVDB_ENABLE_3_ABI_COMPATIBLE flag. This is how OpenVDB's Makefile is configured and it's not really possible to detect this for a compiled library. If we ever want to support that option, we need to add extra CMake argument and use old version 3 API everywhere.
2017-09-25Add an 'atomic cas' wrapper for pointers.Bastien Montagne
Avoids having to repeat obfuscating castings everywhere...
2017-09-25Cycles: Cleanup, indentationSergey Sharybin
2017-09-23Cycles: Fix compilation error of OpenCL megakernel on AppleSergey Sharybin
2017-09-23Cycles: Fix compilation error of megakernel on NVidia deviceSergey Sharybin
It is more readable to explicitly compare to NULL anyway.
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-21Code cleanup: simplify kernel side work stealing code.Brecht Van Lommel
2017-09-21Depsgraph and collection enable/visibilityDalai Felinto
Iterate over invisible objects too, so lamps can still lit the scene. Also, now you can use a collection to set an object to invisible, not only to visible. For example: Scene > Master collection > bedroom > furniture Scene > View Layer > bedroom (visible) > furniture (invisible) The View Layer has two linked collections, bedroom and furniture. This setup will make the furniture collection invisible. Note: Unlike what was suggested on D2849, this does not make collection visibility influence camera visibility. I will keep this as a separate patch. Reviewers: sergey Subscribers: sergey, brecht, fclem Differential Revision: https://developer.blender.org/D2849
2017-09-20Added extra "const" to satisfy the strict clang version in Xcode 9Stefan Werner
2017-09-20Added extra "const" to satisfy the strict clang version in Xcode 9Stefan Werner
2017-09-20Fix T52368: Cycles OSL trace() failing on Windows 32 bit.Brecht Van Lommel
2017-09-20Fix T52853: harmless Cycles test failure in debug mode.Brecht Van Lommel
2017-09-20Cycles: use defensive sampling for picking BSDFs and BSSRDFs.Brecht Van Lommel
For the first bounce we now give each BSDF or BSSRDF a minimum sample weight, which helps reduce noise for a typical case where you have a glossy BSDF with a small weight due to Fresnel, but not necessarily small contribution relative to a diffuse or transmission BSDF below. We can probably find a better heuristic that also enables this on further bounces, for example when looking through a perfect mirror, but I wasn't able to find a robust one so far.
2017-09-20Cycles: slightly improve BSDF sample stratification for path tracing.Brecht Van Lommel
Similar to what we did for area lights previously, this should help preserve stratification when using multiple BSDFs in theory. Improvements are not easily noticeable in practice though, because the number of BSDFs is usually low. Still nice to eliminate one sampling dimension.
2017-09-20Code cleanup: refactor BSSRDF closure sampling, for next commit.Brecht Van Lommel
2017-09-20Code cleanup: remove SOBOL_SKIP hack, seems no longer needed.Brecht Van Lommel
2017-09-20Code cleanup: remove hack to avoid seeing transparent objects in noise.Brecht Van Lommel
Previously the Sobol pattern suffered from some correlation issues that made the outline of objects like a smoke domain visible. This helps simplify the code and also makes some other optimizations possible.
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