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
2016-02-07Cleanup: line widthCampbell Barton
2016-02-07move windows out of source dirCampbell Barton
2016-02-07Cycles: Fix access uninitialized light after recent refactor/fixesSergey Sharybin
2016-02-07Motion Paths: Use custom poll functions for "Update" operatorJoshua Leung
2016-02-07Motion Paths: Show "Update" button in the toolbox tooJoshua Leung
2016-02-07Clear motionpaths for all objects and bones instead of only selected onesJoshua Leung
With the old behaviour, it was too easy to get old paths hanging around because you forgot to go through and select a few bones that still had them.
2016-02-07Added Context.editable_objects/basesJoshua Leung
This is useful when you want visible + editable objects, but you don't want to require the items to be selected as well.
2016-02-07Cycles: Refactor the way how we exclude light from the deviceSergey Sharybin
This unifies things around ignoring light due to lack of scene contribution or due to other optimization tricks.
2016-02-06Fix T46550: Cycles combined baking black in some cases.Brecht Van Lommel
Now pass_filter is modified to have exactly the flags for the light components that need to be baked, based on the shader type. This simplifies the logic.
2016-02-06Cycles: Solve issues with auto-disabled MISSergey Sharybin
There were two issues: 1. Memory leak: std:;erase does not call delete on the pointer (which is actually a good idea), 2. After MIS was disabled in viewport render there was no way to bring MIS back. Now instead of removing light from the scene data we kind of tagging it for an ignore. Possible cleanup would be to add Light::is_enabled and use that instead of passing weird and wonderful function arguments.
2016-02-06Cycles: Re-implement some utilities to avoid use of boostSergey Sharybin
The title says it all actually, the idea is to make Cycles only requiring Boost via 3rd party dependencies like OIIO and OSL. So now there are only few places which still uses Boost: - Foreach, function bindings and threading primitives. Those we can easily get rid with C++11 bump (which seems inevitable sooner or later if we'll want ot use newer LLVM for OSL), - Networking devices There's no quick solution for those currently, but there are some patches around which improves serialization. Reviewers: juicyfruit, mont29, campbellbarton, brecht, dingto Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D1764
2016-02-06Cycles: Add some utility tests using GTestsSergey Sharybin
This is an initial move to have unittests to at least cover utility functions, which then could be extended further to test such areas as shader optimization and such. Currently only based on initial "infrastructure" layout and writing tests needed to test the no-boost patch. Note: This patch starts to use "<dir>/<header>.h" notation for the include statements which i just got used to do in other projects. Something what would be cool to use globally in the code eventually. Reviewers: dingto, juicyfruit, lukasstockner97, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1770
2016-02-06Fix T47320: Cycles baking in edit mode uses outdated mesh.Brecht Van Lommel
2016-02-06Fix gtests on Windows/MSVCSergey Sharybin
There were some missing stubs and some tests were specifically written for Linux. Also, apparently MSVC has a limit of 64K for the insource strings..
2016-02-06Fix typo in 32bytes aligned malloc testSergey Sharybin
2016-02-06Cycles: Remove workaround for MSVC2010 and BoostSergey Sharybin
We've upgraded to Boost-1.60 and MSVC2013 since the workaround was originally committed. After checks with current compiler and libraries the original bug is no longer happening. This will make string comparison much faster in Windows, solving synchronization bottlenecks of fewzillion objects. Thanks Martin Felke (aka scorpion81) for the tests!
2016-02-06Fix GTests compilations on WindowsSergey Sharybin
Unfortunately this doesn't make all tests compilable due to all sort of weird and wonderful bad levels includes on Windows (G referenced from bf_blenlib) but at least allows to selectively build tests for now.
2016-02-06CMake: Remove mention of extern_redcode, it was removedSergey Sharybin
2016-02-06Fix T47204: selection failing directly after disabling multisample in user ↵Brecht Van Lommel
prefs. Now store the multisample setting each window was created with.
2016-02-06Code cleanup: resolve minor Cycles todo's.Brecht Van Lommel
2016-02-06Code cleanup: remove unused Cycles code from BVH cache.Brecht Van Lommel
2016-02-06Fix Burley BSSRDF NaNs and fireflies.Brecht Van Lommel
Explicitly truncate to Rm same way as the Gaussian BSSRDF, and use safe_sqrtf() to be sure in case of float precision issues.
2016-02-06Cleanup: Remove support for OSL versions < 1.6.Thomas Dinges
We can get rid of more ifdefs once all platforms are on OSL 1.7 soon.
2016-02-06Cycles: Change several default values (second batch).Thomas Dinges
This change the following values: - World settings: - Use MIS: On - MIS Samples: 1 - MIS Resolution: 1024 Enabling World MIS per default won't make simple backgrounds (flat background color) slower, see previous commit. This gets disabled internally if World MIS is not actually needed.
2016-02-06Cycles: Auto disable World MIS, if we only use a simple color.Thomas Dinges
When World MIS is enabled by the user, we now check if we actually need it. In case of a simple node setup (no procedurals, no HDRs..) we auto disable MIS internally to save render time. This change is important for upcoming default changes.
2016-02-05Cleanup: Rename has_heterogeneous_volume variable.Thomas Dinges
No functional changes, this change is done for consistency of upcoming changes.
2016-02-05Fix error in last commit.Bastien Montagne
treedata could have a non-initialized tree in case of edge_snapping, leading to segfault. Spotted by @mano-wii, thanks.
2016-02-05Fix T47326: Snap to vertices not working properly in orthogonal view mode.Bastien Montagne
Same causes as when snapping to faces, so same solution: in case of ortho view, offset start of ray to be just slightly outside of the target's bbox, to avoid too much far away start point that generate floating point computation instability in BVH raycasting. Note that this lead to some refactoring, to avoid duplicating too much of code. For now, edge snapping seems to behave OK (uses different logic), so not touched. Based on patch by Germano Cavalcante (@mano-wii), thanks!
2016-02-05Fix T47329: Compositing fails to render unless each included scene was ↵Sergey Sharybin
rendered since opening
2016-02-05Fix T45915: Cannot select keyframes in summary channels in Dope Sheet in ↵Joshua Leung
TweakMode When in TweakMode on NLA strips that had an offset, it was not possible to select those keyframes in the Summary Channel in the Dope Sheet. The main gist of it is that the current code is from before the summary track was introduced, and so could assume that ANIM_nla_mapping_get() would work for all channels present. Thus, simply converting the clicked frame to nla-mapped time once would be enough. However, for summary channels, nla-mapping_get() doesn't do anything, since we can potentially include keyframes from several different objects!
2016-02-05Fix T46037: Moving keys in NLA tweak mode on offset actions results in ↵Joshua Leung
Bezier handles getting stretched unreasonably Patch by Alexander Gavrilov (angavrilov) Reviewed by Joshua Leung (aligorith)
2016-02-05Cycles: ifdef some extra code when building split kernelsSergey Sharybin
2016-02-05Cycles: Don't gray out integrator settings when userprefs are set to OpenCL ↵Sergey Sharybin
but scene is set to CPU
2016-02-05Install_deps: update magic build numbers of OIIO and OSL.Bastien Montagne
Please remember to change those each time you update building code and there is no version change. Otherwise poeple re-running the script won't get the updated builds.
2016-02-05Cycles: Fix for initial guess of the radius for Burley BSSRDFSergey Sharybin
The value was too high, causing bad Newton iteration step. Now the value is not so good, but it's still within 9 iterations and those high number of iterations are only happening in approx 1% of input values.
2016-02-05Cycles / OSL: Updare stdosl.h to 1.7.1.Thomas Dinges
This updates our file to OSL 1.7.1, which comes with some new inbuilt features: - linearstep() - smooth_linearstep() - hash() - getchar()
2016-02-05Install Deps: Use SSE2 optimizations for OIIO and OSL.Thomas Dinges
2016-02-05Cleanup: Update BSSRDF code comment.Thomas Dinges
2016-02-04Support for cubemap reflections in the viewportCampbell Barton
D1756 by @youle, uses existing texture mapping option.
2016-02-04Update themesCampbell Barton
Label text editing uses colors from text buttons
2016-02-04Install_deps: Disable building tests for OSLThomas Beck
Since we're now on 1.7 we can skip building the OSL testsuite. It was giving various compilation errors on different machines and we don't need them anyway...so just disabling them in the script.
2016-02-04Fix T47324: Edit-text in list view theme glitchCampbell Barton
Use existing text select colors when text matches select color.
2016-02-04Install_deps: tweak OSL build options.Bastien Montagne
2016-02-04Install_deps: updated OSL to 1.7.1.Bastien Montagne
2016-02-04Cycles: Speedup of Christensen-Burley SSS falloff functionSergey Sharybin
The idea is simply to pre-compute fitting and parameterization in the bssrdf_setup() function and re-use the values in both sample() and eval(). The only trick is where to store the pre-calculated values and the answer is inside of ShaderClosure->custom{1,2,3}. There's no memory bump here because we now simply re-use padding fields for the pre-calculated values. Similar trick we can do for other BSDFs. Seems to give nice speedup up to 7% here on my desktop with Core i7 CPU, SSE4.1 kernel.
2016-02-04Fix T47323, no Fac output in Magic texture (OSL).Thomas Dinges
2016-02-04Nodes: Remove code which was dead for 2 years nowSergey Sharybin
2016-02-04Cycles: Make Christensen-Burley a default falloff functionSergey Sharybin
2016-02-04Cycles: Implement approximate reflectance profilesSergey Sharybin
Using this paper: http://graphics.pixar.com/library/ApproxBSSRDF/paper.pdf This model gives less blurry results than the Cubic and Gaussian we had implemented: - Cubic: https://developer.blender.org/F279670 - Burley: https://developer.blender.org/F279671 The model is called "Christensen-Burley" in the interface, which actually should be read as "Physically based" or "Realistic". Reviewers: juicyfruit, dingto, lukasstockner97, brecht Reviewed By: brecht, dingto Subscribers: robocyte Differential Revision: https://developer.blender.org/D1759
2016-02-04Use contextlib for temporary py console overridesCampbell Barton
Using context overrides means stdout/stderr overrides can't be left set by accident.