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-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-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
2017-04-28Cycles: Quick (real) fix for broken textures on OpenCLSergey Sharybin
Previous fix did not work for mixed textures. This one will over-allocate information array, but it's better than not being able to render at all. Some more cleanup and improvement is coming.
2017-04-28Revert "Cycles: Fix image textures were completely broken since recent ↵Sergey Sharybin
unlimited textures commit" This reverts commit 8f4166ee495531fa38b676b0a5ef4c482e89f9a5. The fix was not correct for cases when we've got float textures.
2017-04-28Cycles: Cleanup, spelling and bracesSergey Sharybin
2017-04-28Cycles: Fix image textures were completely broken since recent unlimited ↵Sergey Sharybin
textures commit The indexing was totally wrong in both image packing code and image sampling in kernel. Fixes T51341: Cycles OpenCL corruption in todays buildbot
2017-04-28Cycles: Cleanup, always use braces for blocksSergey Sharybin
2017-04-28Cycles: Cleanup, indentation in preprocessorSergey Sharybin
2017-04-28Cycles: Cleanup, use ccl::vector instead of std::vectorSergey Sharybin
2017-04-28Cycles: Cleanup, indentaiton and trailing whitespace and wrappingSergey Sharybin
2017-04-27Fix: T50271: Bilateral/Directional blur's iterations is zero by defaultbrunoT
Differential Revision: https://developer.blender.org/D2632
2017-04-27Revert "Fix T51328: Add note to cmdline help that threads must be first"Campbell Barton
The help message already notes that argument order matters, and this doesn't need to be the first.
2017-04-27Cleanup: spellingCampbell Barton
2017-04-27Cleanup: remove unused matrix argCampbell Barton
2017-04-27Cleanup: Some style and code tweaks to Image Code after changes.Thomas Dinges
Whitespace and order of switch/case etc. Let's try to stick to float4/byte4/half4/float/byte/half order as defined in "ImageDataType".
2017-04-27Unlimited number of textures for CyclesStefan Werner
This patch allows for an unlimited number of textures in Cycles where the hardware allows. It replaces a number static arrays with dynamic arrays and changes the way the flat_slot indices are calculated. Eventually, I'd like to get to a point where there are only flat slots left and textures off all kinds are stored in a single array. Note that the arrays in DeviceScene are changed from containing device_vector<T> objects to device_vector<T>* pointers. Ideally, I'd like to store objects, but dynamic resizing of a std:vector in pre-C++11 calls the copy constructor, which for a good reason is not implemented for device_vector. Once we require C++11 for Cycles builds, we can implement a move constructor for device_vector and store objects again. The limits for CUDA Fermi hardware still apply. Reviewers: tod_baudais, InsigMathK, dingto, #cycles Reviewed By: dingto, #cycles Subscribers: dingto, smellslikedonkey Differential Revision: https://developer.blender.org/D2650
2017-04-27Fix T51328: Add note to cmdline help that threads must be firstAaron Carlisle
2017-04-26Cycles: Allow samples to finish in split kernel to avoid artifacts when ↵Mai Lavelle
canceling Previously canceling a render done by the split kernel could cause artifacts such as very bright or dark tiles. This was caused by unfinished samples being included in the output buffer. To avoid this we now wait till all the currently rendering samples have finished, up to a limit of twice the expected time for them to finish (currently this is no more than 20 seconds, but usually its much less). If samples still haven't finished by then we stop anyways in case there's an endless loop occurring.
2017-04-26Cycles: Change OpenCL split kernel to use single program by defaultMai Lavelle
Single program builds twice as fast as multi programs, so its better for users to have it as the default.
2017-04-26Cycles: Enable Correlated Multi Jitter for OpenCL and split kernelMai Lavelle
Testing showed no issues so there's no reason to not have this.
2017-04-26[msvc/make.bat] Provide a convenience rebuild.cmd in the build folder for ↵lazydodo
easy rebuilds.
2017-04-26Cycles: Fix over-allocation of triangles storage for triangle primitive hairSergey Sharybin
Was also causing some bad memory access caused by read data from non-initialized arrays. Repoted by bzztploink in IRC, thanks!
2017-04-26Fix race condition invalidating object data's bounding boxSergey Sharybin
2017-04-26Ensure task scheduler exists before any threading starts in BlenderSergey Sharybin
2017-04-26Avoid race condition copying Scene for off-thread OpenGL image saveSergey Sharybin
2017-04-26User preferences: Use checkbox for Cycles device selectionSergey Sharybin
It was totally unclear whether the device is enabled or disabled. Lots of people got fully lost in the current interface. While the solution is not fully ideal, it is at least solves ambiguity in the interface.
2017-04-26Threading: Remove thread lock which seems uselessSergey Sharybin
Render data is never guarded by image drawe lock.