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
2015-06-22Fix T45034: MirrorBall rendering on wrong camera axisSergey Sharybin
This was a mistake in the original code from D1079. With the current way how direction ot mirror ball works camera should look into negative Y direction. Corrected it in the camera matrix synchronization, so no extra calculations are needed at the render time. That's a bit annoying, but we'd better port it to the release branch, or otherwise we'll end up with files created with wrong camera mapping after 2.75 release.
2015-06-22Cycles: Respect duplicator's object motion blur settingsSergey Sharybin
The idea is to make it possible to control linked duplicated objects motion blur from the scene file without need to do overrides on the linked object settings. Currently only supported for dupligroup duplication and all now if duplicator object has motion blur disabled then it'll be inherited into all the duplicated objects. There should be no regressions/changes in look of existing files because objects do have motion blur enabled by default.
2015-06-21Support for platforms /wo malloc_usable_sizeCampbell Barton
Was only used for stats, netbsd doesn't define this function.
2015-06-20Cycles: Another fix for OSX, sm_50 experimental actually also fails to compileSergey Sharybin
Didn't notice it originally because compilation was threaded.
2015-06-20Cycles: Tweak to previous commit, experimental sm_52 works on Linux but not OSXSergey Sharybin
2015-06-20Cycles: Un-inline triangle_intersect_precalc() on Apple OpenCLSergey Sharybin
This gives quite the same problems as experimental CUDA kernels and for until it's found a root cause of the problem we'd just explicitly uninline the function.
2015-06-20Cycles: Don't show pre-sm_20 CUDA cards in the device listSergey Sharybin
2015-06-20Cycles: Cleanup, make it more obvious which platform requires workaround for ↵Sergey Sharybin
triangle intersection Should be no functional changes.
2015-06-20Cleanup: checks for unsupported MSVC versionsCampbell Barton
2015-06-18Cycles: Report currently sampling tile when CPU is working on the last tileSergey Sharybin
This is mainly useful for the render farms output when logging might stop at the "Path Tracing Tile N/N" string, which makes it a bit difficult to follow what exactly is happening (node going crazy, hardware issues or just last tile is too much heavy). This is more like an experiment, might be changed in the future.
2015-06-18Cycles: Don't show devices which does not support OpenCL 1.1 in the menuSergey Sharybin
They'll be checked for the version later and that check will fail anyway, so better to not allow user to see unsupported device in the list. Also corrected one more issue with the device enumeration.
2015-06-17Cycles: Report total and render time to the logSergey Sharybin
This includes total render time spent on rendering since render() was invoked and also prints time of actual rendering (without synchronization step).
2015-06-17Cycles: Fix wrong numbering of OpenCL devices when some of them are skippedSergey Sharybin
Skipped devices did not reflect in the device number, which might result in bad array indices. This might also resolve T45037, and need to be ported to a release branch.
2015-06-16Add back ray bounces debug code, can be useful nevertheless.Thomas Dinges
Just need to keep in mind that these are not indirect bounces in the pass then.
2015-06-16Cycles / Branched Path: Some simplifications for main loop.Thomas Dinges
The main loop only handles transparent intersections from the camera ray. Therefore we can simplify some things. * Avoid PATH_RAY_CAMERA check, this is always true. * Avoid path_state_next() call, we can just set transparent flag and increase transparent bounces. This way we avoid the function call and some branching. Also remove debug num_ray_bounces++, this is incorrect here as no indirect bounce happens here. Should be no functional changes.
2015-06-16Cleanup comment and remove now redundant define.Thomas Dinges
2015-06-16Cycles: Move branched path tracking into own fileSergey Sharybin
Code there started becoming a bit too big, by splitting it up it'll make it easier to do improvements or extending the features in there. The layout is not totally final yet, would need to try de-duplicating parts of code from split kernel with non-split integrators,
2015-06-14GHost: Attempt to fix compilation error on older OSX systemsSergey Sharybin
The issue was caused by using NotificationCenter which is only available since 10.9 so trying to build blender on OSX with 10.7 SDK would fail. Now it should be possible to build blender with SDK 10.7 and at the same time official builds should still be doing proper weak-linking to a notification center.
2015-06-14Fix T41870: Cycles OSL - Changing rotation value in anisotropic shader ↵Sergey Sharybin
crashes Blender Older OSX has major issues with sincos() function, it's likely a big in OSL or LLVM. For until we've updated to new versions of this libraries we'll use a workaround to prevent possible crashes on all the platforms. Shouldn't be that bad because it's mainly used for anisotropic shader where angle is usually constant. This fix is safe for inclusion into final Blender 2.75 release.
2015-06-13Cycles: Avoid compilation warnings when building without passes supportSergey Sharybin
2015-06-13Cycles: Solve possible buffer overrun when using too much closuresSergey Sharybin
Glass BSDF was doing some magic with copying weigths from initial closure onto refraction one and the code was not checking properly for the number of closures.
2015-06-13Cycles: Add assert check to shader closure merge functionSergey Sharybin
2015-06-13Cycles: Fix compilation error with motion blur disabled on CPUSergey Sharybin
2015-06-13Cycles: Silent paranoid uninitialized GCC warnings in release kernelsSergey Sharybin
2015-06-13Msgfmt: Fix for generating .mo files from .po without commentsSergey Sharybin
2015-06-12Cycles: Fix missing node distance update when only two child intersected in QBVHSergey Sharybin
2015-06-12Expose Background AO and Transparent flag to XML APIThomas Dinges
2015-06-12Cycles: Add debug pass which shows number of instance pushes during camera ↵Sergey Sharybin
ray intersection TODO: We might want to refactor debug passes into PASS_DEBUG and some debug_type (similar to Blender's side passes) to avoid issue of running out of bits.
2015-06-12Cycles: Remove meaningless debug traversal steps increment from QBVH volume codeSergey Sharybin
2015-06-12Cycles: Enable transparent shadows for experimental AMD kernelSergey Sharybin
They're working just fine on AMD Tonga GPU and probably other architectures, lets enable it under the experimental feature set and see what exact system configuration gives issues.
2015-06-12Cycles: Remove Bump Node from the graph, if Height input is not connected.Thomas Dinges
This way we can avoid building the split kernel with NODE_FEATURE_BUMP enabled, in case we don't need it.
2015-06-11Cycles: Simplify volume_phase_eval().Thomas Dinges
This simplification is safe, as the call to volume_phase_eval() is guarded behind a CLOSURE_IS_PHASE check, which is equal to CLOSURE_VOLUME_HENYEY_GREENSTEIN_ID. I don't think we will add more phase functions anytime soon, if at all.
2015-06-11Expose debug type into the interfaceSergey Sharybin
This way it is now possible to select which exact debug pass is to be used by the render engine. Accessible from the Passes panel. Currently it could only be one debug pass, in the future we can make menus and image users smarter and support multiple passes of the same type.
2015-06-11Cycles: Add debug pass showing average number of ray bounces per pixelSergey Sharybin
Quite straightforward implementation, but still needs some work for the split kernel. Includes both regular and split kernel implementation for that. The pass is not exposed to the interface yet because it's currently not really easy to have same pass listed in the menu multiple times.
2015-06-08Cycles: Move requested feature conversion to an own functionSergey Sharybin
This way it could be used for the shader/baking kernels easily n the future. making those kernels more optimal.
2015-06-08Cycles: Remove round-up trickery for max closure in split OpenCL kernelSergey Sharybin
Round-up was only enabled for viewport render, which was for a long time hardcoded to use 64 closures. This was done in order to avoid unnecessary kernel re-compilations when tweaking the shader tree. We could enable selective closure compilation in the viewport later if it'll give measurable speed improvements, but even then round-up is to happen outside of the device level, This commit also removes early output which happened in cases when max closure did not change. It was wrong because other requested kernel features might have been changed.
2015-06-08Cycles: Remove requirement of using experimental kernel for hair and blur on AMDSergey Sharybin
Those features are not selectively compiled, so there's no real benefit of hiding them under the experimental feature set.
2015-06-08Cycles: Make hair, object and motion blur selective compiled into OpenCLSergey Sharybin
This features are now based on the scene settings, so scenes without those features used are rendered even faster. This gives about 30% speedup on the AMD A10 APU here, but at the same time it does not mean such an improvement will happen on all the hardware. That being said, the Tonga device here seems to have no measurable difference. In any case it seems handy to have for the future, when we'll want to support SSS in the kernel or to port selective compilation/split kernel to CUDA devices.
2015-06-07Allow compilation of cycles network with WITH_CYCLES_LOGGING is ONMartijn Berger
2015-06-05Cycles: Initial support for OpenCL capabilities reportsSergey Sharybin
For now it's just generic information, still need to expose memory, workgorup sizes and so on.
2015-06-02Fix T44922: Split kernel renders black when using Bump nodeSergey Sharybin
Was missing feature detection in the BumpNode in the previous selective nodes compilation commit.
2015-06-01Fix T44908: Blender crashes when trying to use cycles experimental displacementSergey Sharybin
The issue was caused by the reshuffle needed to make objects flags have proper object's bounding box to solve regressions in SSS objects intersecting volumes. There's actually a feedback loop happening here, which is now solved in quite naive way -- for the true displacement we consider all objects are capable of intersecting volumes, synchronize object flags prior to displacement shader tasks runs and then re-update object flags for proper bounding box. Not sure what will be the proper solution here, we can't do preliminary check of intersection for displacement shader, but on the other hand we don't really need this flag for displacement shader anyway.
2015-06-01Cycles XML API: * Add Bump and Holdout Node * Add todo comments for various ↵Thomas Dinges
things. * SSS falloff now works.
2015-06-01Cycles: Number keys 0-3 can be used in interactive mode now to set max bounces.Thomas Dinges
2015-06-01Cycles: Fix wrong max nodes group used for the viewport renderSergey Sharybin
2015-06-01Cycles: Strip meaningless empty output form the MVidia OpenCL compilerSergey Sharybin
2015-06-01Cycles: Assert in the cases when SVM node was not handledSergey Sharybin
This will help figuring out cases when node was not properly handled by the SVM by aborting execution on CPU, where all the nodes are expected to be supported.
2015-06-01Cycles: Implement selective nodes compilationSergey Sharybin
This commits finishes initial selective nodes compilation into kernel, which helps a lot performance-wise for AMD OpenCL kernels. Split by node groups is based on statistics from simple scenes like BMW and more complex scenes like mango and gooseberry production files. Further tweaks are always possible, but it should be a good starting point. TODO: Still need to ignore unused nodes when calculating requested shader features.
2015-06-01Cycles: Fix some typos in the selective modes compilationSergey Sharybin
2015-06-01Cycles: Code cleanup, spaces around keyword and braceSergey Sharybin