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
2020-05-23Cycles: Improve sampling of area lightsAntony Ryakiotakis
This patch uses the sampling method described in "A Low Distortion Map Between Triangle and Square" by Eric Heitz. The benefit is avoiding sqrt in the calculation, which could be cheaper on some architectures, and the result is more even sampling across the triangle surface. Based on ideas from https://pharr.org/matt/blog/2019/02/27/triangle-sampling-1.html https://pharr.org/matt/blog/2019/03/13/triangle-sampling-1.5.html Reviewed By: Brecht Van Lommel Differential Revision: https://developer.blender.org/D6566
2020-05-22Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-22Fix T76925: Cycles OpenCL compile error with some drivers on LinuxBrecht Van Lommel
2020-05-20Merge branch 'blender-v2.83-release'Clément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_volumes.c
2020-05-20Cycles: Fix rendering instanced smoke domain.Jacques Lucke
The problem was that Cycles would store a pointer to an object in `DEGObjectIterData->templ_dupli_object`. This pointer was then accessed when the iterator was already freed. Reviewers: brecht Differential Revision: https://developer.blender.org/D7797
2020-05-19Merge branch 'blender-v2.83-release'Sebastián Barschkis
2020-05-19Fix T72889: Cycles camera motion blur not usng more than 2 stepsJosh Belanich
Differential Revision: https://developer.blender.org/D7782
2020-05-18Fix T62422: Baking ray distance do not workSebastian Parborg
The previous naming scheme for the "selected to active" baking options lead to confusion and they were not describing what they actually did. To remedy this, I've added a new settings that does what the older setting implied it did. Reviewed By: Brecht, Dalai, Andy Davies Differential Revision: http://developer.blender.org/D7733
2020-05-15Cycles: code refactor to bake using regular render session and tilesBrecht Van Lommel
There should be no user visible change from this, except that tile size now affects performance. The goal here is to simplify bake denoising in D3099, letting it reuse more denoising tiles and pass code. A lot of code is now shared with regular rendering, with the two main differences being that we read some render result passes from the bake API when starting to render a tile, and call the bake kernel instead of the path trace kernel. With this kind of design where Cycles asks for tiles from the bake API, it should eventually be easier to reduce memory usage, show tiles as they are baked, or bake multiple passes at once, though there's still quite some work needed for that. Reviewers: #cycles Subscribers: monio, wmatyjewicz, lukasstockner97, michaelknubben Differential Revision: https://developer.blender.org/D3108
2020-05-15Cycles: Refactor microfacet BSDFs to remove separate anisotropy codeLukas Stockner
Since the sampling and evaluation functions handle both cases anyways, there's not really a point for keeping the distinction in the kernel, so we might as well cut down the number of CLOSURE_BSDF_MICROFACETs a bit. Differential Revision: https://developer.blender.org/D7736
2020-05-14Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-14Fix T63588: Cycles unnecessarily updates background importance sampling mapTautvydas Andrikys
2020-05-14Fix T73984: unnecessary Cycles viewport updates with object texture coordinatesBrecht Van Lommel
Remove old code that added extra updates for shaders that have a dependency on objects. The dependency graph can now tell Cycles when a material is affected by an object transform.
2020-05-14Merge branch 'blender-v2.83-release'Clément Foucault
2020-05-14Fix --debug-cycles printing CUDA devices twiceBrecht Van Lommel
Reuse the CUDA devices list for Optix device detection.
2020-05-12Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-12Fix incorrect assert in Cycles node socket get/set functionsBrecht Van Lommel
Thanks to Subrahmanya Oruganti for spotting these.
2020-05-07Merge branch 'blender-v2.83-release'Julian Eisel
2020-05-07Fix T76469: OpenCL 1.2 CompilationJeroen Bakker
Recent changes assumed OpenCL 2.0 platform. This adds a check to see if we are compiling on an OpenCL 2.0 platform. Patch was tested on: * AMD Radeon Pro WX 7100 with amdgpu-pro-19.50-1011208-ubuntu-18.04 drivers * AMD Vega 64 with amdgpu-pro-20.10-1048554-ubuntu-18.04 drivers * AMD RX 5700 with amdgpu-pro-20.10-1048554-ubuntu-18.04 drivers Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7637
2020-05-05Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-05Cycles: mark CUDA 10.2 as officially supportedBrecht Van Lommel
It appears to work fine after a recent bugfix and testing for the past few weeks.
2020-05-05Cleanup: clang-formatCampbell Barton
Minor difference caused by clang-format v10.0
2020-05-05Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-05Fix Cycles Python error when device name is not a valid UTF-8 stringBrecht Van Lommel
This may fix or help diagnose T76378.
2020-05-02Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-02Fix T75995: Cycles render artifacts with overlapping volumesBrecht Van Lommel
This is a workaround, but a proper solution requires significant changes to ray intersection in the kernel.
2020-05-01Cleanup: compiler warning with clang 10Brecht Van Lommel
2020-05-01UI: Use property split layout and decorators for material propertiesJulian Eisel
Use the automatic property split layout (hence, change to the new 40/60% split ratio) and add decorator buttons for animatable properties. This actually applies to all node input buttons in the properties, e.g. world shading, light shading, texture nodes. Doing this makes the layout more consistent with other layouts in the properties. But the decorators are also a useful hint for users that these options can be animated. Previously using decorators and the automatic split layout wasn't possible, I've done a number of changes now to have it supported. Before I moved the socket icons to the left side, the decorators also looked weird (two circle icons next to each other). {F8497704} With nested items: {F8497708} Reviewed By: William Reynish, Pablo Vazquez Differential Revision: https://developer.blender.org/D7544
2020-04-30Merge branch 'blender-v2.83-release'Patrick Mours
2020-04-30Fix long OptiX BVH build times in Cycles with many objectsPatrick Mours
Looping over all primitives for every object is really slow, so this patch avoids that by moving the necessary assignments inline with the primitive merging done for every geometry.
2020-04-30Merge branch 'blender-v2.83-release'Sebastián Barschkis
2020-04-30Fix T75895: Unable to Compile Cycles on NAVI/LinuxJeroen Bakker
This patch will add some compiler hints to break unrolling in the nestled for loops of the voronoi node. Reviewed by: Brecht van Lommel Differential Revision: https://developer.blender.org/D7574
2020-04-29Fix T76225: Cycles View layer filters are grayed out while still workingPhilipp Oeser
Mistake in rB7fc60bff14a6. Maniphest Tasks: T76225 Differential Revision: https://developer.blender.org/D7566
2020-04-28Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-04-28Fix T75432: Cycles progressive refine render slow with denoising dataBrecht Van Lommel
Only perform denoising prefilter for the last sample, not every sample.
2020-04-28Merge branch 'blender-v2.83-release'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/lib_query.c source/blender/depsgraph/intern/builder/deg_builder_relations.cc
2020-04-28Fix T76044: update Cycles to build with OSL 1.11 masterBrecht Van Lommel
2020-04-24Merge branch 'blender-v2.83-release'Campbell Barton
2020-04-24Cleanup: remove unused arg, clang-formatCampbell Barton
2020-04-23Merge branch 'blender-v2.83-release'Campbell Barton
2020-04-23Cleanup: clang-format, unused warningCampbell Barton
2020-04-22Merge branch 'blender-v2.83-release'Sebastián Barschkis
2020-04-22Fix T74423: Cycles rendering artifacts with CUDA 10.2Brecht Van Lommel
Work around what appears to be a compiler bug, just changing the code a bit without any functional changes.
2020-04-22Merge branch 'blender-v2.83-release'Philipp Oeser
2020-04-22Fix T75964: changing object's viewport display color does not updatePhilipp Oeser
cycles Caused by rB00466e756e33. While that commit sounds logical, Cycles uses is_updated_transform() to detect updates. Now introduce is_updated_shading() and use that on top. Maniphest Tasks: T75964 Differential Revision: https://developer.blender.org/D7493
2020-04-17UI: Layout changes for new checkbox layout possibilitiesWilliam Reynish
Follow-up to previous commit. Some examples: {F8473507} {F8473508} {F8473509} {F8473510} For more screenshots, please see D7430. We use column or row headings here to bring more structure, and to give the eye visual anchors which aid eye-scanning. The left-aligned checkboxes likewise help with this. And we keep the adherence to the center line, so the alignment matches up between the various buttons and controls. * Changes the property split percentage from 50/50% to 40/60%. This is needed to give enough space for the checkboxes. But in most cases this looks better anyway - see Transform panel. In some cases it simply fills out the available space more efficently. * Fix various hacks where we previously used manually defined splits. When we did this, the alignment was never quite right, and the layout code was a mess. * Adds column headings to many places where a list of checkboxes all share a common purpose or leading text. * Add checkbox + value configurations various places where a checkbox only serves to enable the value slider * Removes most uses of grid flow layout. The grid flow layouts combine poorly with column headings, and also they would mess alignment up badly. The grid flow layouts also often made buttons and controls jump around on the screen if you would just resize editors slightly, causing visual confusion, making users lose their place. The logic for at what time the list of items would re-flow was often flawed, jumping to multiple columns too fast or too late - and frankly, the grid flow layouts would often just look bad. Maniphest Task: https://developer.blender.org/T65965 Differential Revision: https://developer.blender.org/D7430 Reviewed by: Brecht Van Lommel, Pablo Vazquez. Most work here by William Reynish, few changes by Julian Eisel.
2020-04-12UI: reorder adaptive sampling settings in order of importanceBrecht Van Lommel
2020-04-11Cycles/Optix: Support building the optix kernels on demand.Ray Molenkamp
CMake: `WITH_CYCLES_DEVICE_OPTIX` did not respect `WITH_CYCLES_CUDA_BINARIES` causing the optix kernel to be always build at build time. Code: `device_optix.cpp` did not count on the optix kernel not existing in the default location. For this to work, one should have before starting blender 1) working nvcc environment 2) Optix SDK installed and the OPTIX_ROOT_DIR environment variable pointing to it which is not set by default Differential Revision: https://developer.blender.org/D7400 Reviewed By: Brecht
2020-04-09Shading: add Roughness input to Noise and Wave texture nodesBartosz Moniewski
Currently in fractal_noise functions, each subsequent octave doubles the frequency and reduces the amplitude by half. This patch introduces Roughness input to Noise and Wave nodes. This multiplier determines how quickly the amplitudes of the subsequent octaves decrease. Value of 0.5 will be the default, generating identical noise we had before. Values above 0.5 will increase influence of each octave resulting in more "rough" noise, most interesting pattern changes happen there. Values below 0.5 will result in more "smooth" noise. Differential Revision: https://developer.blender.org/D7065
2020-04-08Fix T75288: crash in Cycles image loading with multithreaded shader compilationBrecht Van Lommel