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
AgeCommit message (Collapse)Author
2017-05-04Cycles Denoising: Fix reading of the new propertiestemp-cycles-denoisingLukas Stockner
2017-05-04Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-04Cycles Denoising: Add option to store feature passes in the render resultLukas Stockner
Useful for debugging and possibly in the future in combination with a standalone animation denoising mode
2017-05-04Cycles Denoising: Move denoising properties to the Cycles addon and improve ↵Lukas Stockner
the UI
2017-05-04Fix use after free of new render layer ID properites after copying sceneSergey Sharybin
2017-05-04Fix memory leak of ID properties after recent render passes commitSergey Sharybin
2017-05-04Cycles: Fix unused argument warning when building without debug passesSergey Sharybin
2017-05-04[msvc/make.bat] Limit the amount of simultaneously compiled projects.lazydodo
This was set to maxcpu which in an 8 core box would be 8, each project would then spawn 8 instances of cl.exe, making a possible of 64 simultaneously running compiler instances slowing the compile down instead of speeding it up.
2017-05-03Cycles Denoising: Fix crash in CPUDeviceLukas Stockner
The code initialized allocated memory by assigning the KernelGlobals to it. However, that calls the assignment operator, which frees previous elements which were never allocated.
2017-05-03Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-03Fix Cycles build on WindowsDalai Felinto
2017-05-03Fix error in node flag checkCampbell Barton
2017-05-03"Fix" root cause of T51260 Forward compatibility crash fter adding new ↵Bastien Montagne
IDProp type. We unfortunately cannot fix this for previous versions of Blender, but at least the issue (Blender crashing on unknown IDProp types) should now be addressed for future. Simply reset unknown IDProp types to integer one, and reset its value to zero.
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-05-03Cycles: Split kernel - sort shadersHristo Gueorguiev
Reduce thread divergence in kernel_shader_eval. Rays are sorted in blocks of 2048 according to shader->id. On R9 290 Classroom is ~30% faster, and Pabellon Barcelone is ~8% faster. No sorting for CUDA split kernel. Reviewers: sergey, maiself Reviewed By: maiself Differential Revision: https://developer.blender.org/D2598
2017-05-03Cycles: Fix OpenCL compilation failure after recent color changesSergey Sharybin
It is really confusing to have some functions available in some devices and not on another devices.
2017-05-03Cycles: Use render visibility for duplis when Render Layer option in ↵Sergey Sharybin
viewport is used Previously the logic was different for duplis and regular objects: regular objects were using render visibility when Render Layer option is enabled which duplis were always using viewport visibility when rendering from the viewport. This was quite confusing because caused different results in viewport and render when artists were expecting them to match 1:1.
2017-05-03Cycles: Simplify code in SVM image by using new utility functionSergey Sharybin
Can not measure any performance difference, so seems the code is identical and just shorter.
2017-05-03Cycles: Add utility function to convert float4 color from srgb to linearSergey Sharybin
It will use SSE2 optimized version when is possible.
2017-05-02Cycles: Remove extra clFinish from driver workaroundMai Lavelle
These were causing problems with Nvidia OpenCL.
2017-05-02Cycles: Output split state element sizeMai Lavelle
2017-05-02Cycles: Branched path tracing for the split kernelMai Lavelle
This implements branched path tracing for the split kernel. General approach is to store the ray state at a branch point, trace the branched ray as normal, then restore the state as necessary before iterating to the next part of the path. A state machine is used to advance the indirect loop state, which avoids the need to add any new kernels. Each iteration the state machine recreates as much state as possible from the stored ray to keep overall storage down. Its kind of hard to keep all the different integration loops in sync, so this needs lots of testing to make sure everything is working correctly. We should probably start trying to deduplicate the integration loops more now. Nonbranched BMW is ~2% slower, while classroom is ~2% faster, other scenes could use more testing still. Reviewers: sergey, nirved Reviewed By: nirved Subscribers: Blendify, bliblubli Differential Revision: https://developer.blender.org/D2611
2017-05-02BGE: Fix silly typo that invalidates negative scaling camera feature.Benoit Bolsee
Negative scale on camera is a nice trick to invert render image on one axis at no extra CPU cost. It was implemented in the Decklink branch but I introduced a typo when porting it to master. It is now fixed.
2017-05-02Cycles: Fix missing type declaration in OpenCL imageSergey Sharybin
Spotted by Mai in IRC, thanks!
2017-05-02Revert "Depsgraph: Link from material to object shading"Sergey Sharybin
The change was initially needed for Blender 2.8 branch but the actual function was reverted in there. So no reason to keep dead unused placeholder in the dependency graph. This reverts commit fd69ba225540cde5e4c1fa651fb02df21ea0a143.
2017-05-02Cycles: Fix CUDA split kernelSergey Sharybin
Global size y needs to be a multiple of 16.
2017-05-02Cycles: Cache split kernels in CUDA deviceSergey Sharybin
This way we don't re-load kernels for every sample in the viewport. Additionally, we don't risk global size changed inbetween of samples.
2017-05-02Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-02Cycles Denoising: Fix shadowing pass calculationLukas Stockner
2017-05-02Cycles Denoising: Cleanup offset calulationLukas Stockner
2017-05-02Cycles Denoising: Only store lower-triangular parts of XtWX matrixLukas Stockner
This saves 55 floats per pixel, which is quite significant with GPU tile sizes.
2017-04-30fix typo in WITH_SYSTEM_GFLOG in CMakeLists.txtlazydodo
2017-04-29Cleanup: comment blocksCampbell Barton
2017-04-29View3D: support both orbit select & depthCampbell Barton
When using both preferences, use cursor depth when nothings selected.
2017-04-29Curve Fitting: minor change to re-fitting methodCampbell Barton
Avoid calculating a new split-index when re-fitting. While checking if a knot can be removed, the index with the highest error can be used as a candidate to replace the knot (in the case it can't be removed).
2017-04-29Cleanup: unused includesCampbell Barton
2017-04-29Cleanup: menu exampleCampbell Barton
remove some redundant checks, imports
2017-04-29Cycles: Fix crashes after recent image changesMai Lavelle
Not sure if this is a proper fix, but was getting frequent crashes, so committing this real quick just to make master sable again. Can be reverted later if there's a better fix. The changes to images really need a closer look...
2017-04-29Implementation of custom python entries in all right click menusThomas Beck
Hi Guys, as one of my clients needs the possibility to have custom menu entries in the general right click menu (all over Blender: in the node editor, properties, toolbars,..) I talked with Campbell about expanding our hard coded menu a bit. This is the outcome. As I only need those two, I support currently a button_prop and a button_pointer. {F540397} I tested the changes with a custom script where I added a custom entry and executed an operator on click - it seems to work exactly how it's intended to. The script: {F540435} As I'm not too experienced in rna stuff I would really appreciate any review. Thanks very much Campbell for his open ears & help on this issue! Reviewers: campbellbarton, mont29 Reviewed By: campbellbarton, mont29 Subscribers: sybren, mont29 Tags: #addons Differential Revision: https://developer.blender.org/D2612
2017-04-28Fix T51324: Auto-Depth fails rotating out of cameraCampbell Barton
2017-04-28Cycles: Use relative path for #line directivesSergey Sharybin
This way moving Blender bundle around doesn't re-trigger kernels compilation.
2017-04-28Libmv: Make ERROR a default printing severitySergey Sharybin
2017-04-28Cycles: Correct comment after previous commitSergey Sharybin
2017-04-28Cycles: Lower default severity level to ERRORSergey Sharybin
2017-04-28Alembic: use object-oriented approach in ABC_read_mesh()Sybren A. Stüvel
This is easier to extend than the if/else if/else chain that was in place, and allows for somewhat more granular error messages.
2017-04-28Alembic: Construct ISampleSelector once and pass alongSybren A. Stüvel
2017-04-28Fix T51331: fixes for Alembic unit tests on WindowsSybren A. Stüvel
2017-04-28Cycles: De-duplicate bit magic for decoding image options in OpenCL kernelSergey Sharybin
2017-04-28Cycles: Simplify code around maximum OpenCL info size allocationSergey Sharybin
2017-04-28Cycles: Cleanup, de-duplicate image packing of various typesSergey Sharybin