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
2021-08-11Cleanup: use socket identifier instead of names in Cycles shader exportBrecht Van Lommel
Will be required when we support setting different names and identifiers for OSL. Ref D12074
2021-08-09Fix T90511: Cycles preview does not update once preview is doneSergey Sharybin
Caused by 4f64fa4f8628. Was a bad backport from the Cycles X branch: the fact that CPU and GPU has different reset code paths was not taken into account.
2021-08-06Cycles: Fix for possible viewport dead-lockSergey Sharybin
This is a backport of recent development in the Cycles X branch. Fixes possible dead-lock in viewport rendering when exiting at an exact bad moment (couldn't reproduce in master branch, but in the cycles-x branch it was happening every now and then). Differential Revision: https://developer.blender.org/D12154
2021-08-06Cleanup: Use conventional naming for private Session membersSergey Sharybin
Makes it consistent with the guidelines and the Cycles X branch, and allows to backport fix for the viewport update from the branch. Will cause a merge conflict, which should be simple accept-ours in the branch.
2021-08-05Xcode: support cmake options for grouping in foldersGermano Cavalcante
The Xcode IDE can also benefit from the options: - WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS - WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS So add suport to these options and also renames them as they are no longer limited to just Windows and Visual Studio. Reviewed By: brecht, ankitm Differential Revision: https://developer.blender.org/D12132
2021-08-05Render: move Cycles visibility, holdout and shadow catcher properties to BlenderBrecht Van Lommel
The immediate reason for this is that we want to be able to initialize them to different defaults for light objects, which is hard with Python properties. But in general it is useful to be able to share these with other renderers. As a side effect, Eevee now supports a per-object holdout instead of only per-collection. Differential Revision: https://developer.blender.org/D12133
2021-08-05Cleanup: remove redundant parenthesisCampbell Barton
2021-08-04Cycles: make object Fast GI Approximation panel a subpanel of ShadingBrecht Van Lommel
2021-08-04Fix Cycles material slots list being too shortRomain Toumi
Bring it in line with Eevee. Differential Revision: https://developer.blender.org/D11982
2021-08-04Cycles: More flexible GI Approximation AO distance controlSergey Sharybin
The goal: allow to easily use AO approximation in scenes which combines both small and large scale objects. The idea: use per-object AO distance which will allow to override world settings. Instancer object will "propagate" its AO distance to all its instances unless the instance defines own distance (this allows to modify AO distance in the shot files, without requiring to modify props used in the shots. Available from the new Fats GI Approximation panel in object properties. Differential Revision: https://developer.blender.org/D12112
2021-07-30Cleanup: clarify license and origin of voronoi and dithering codeBrecht Van Lommel
2021-07-30Cleanup: clang-format (re-run after v12 version bump)Campbell Barton
2021-07-29Fix T90295: inconsistent render pass order between Cycles and EeveeBrecht Van Lommel
2021-07-29Cleanup: Remove debug-only codeSergey Sharybin
2021-07-29Fix building without Cycles loggingSergey Sharybin
Ideally can use assert() checks instead of suppressing the check entirely, but for now just fix compilation error quickly.
2021-07-29Fix Cycles crash with fluid object motion blur disabledSergey Sharybin
Motion attributes expects mesh to have non-zero number of motion steps, which was violated in the case when fluid mesh had motion blur disabled. This is a bit of annoying fix, because of the order of updates. More ideal solution would be to handle cached and fluid velocities in the sync_mesh_motion() which ensures all the dependencies between settings.
2021-07-28Cycles: remove WITH_CYCLES_DEBUG, add WITH_CYCLES_DEBUG_NANBrecht Van Lommel
WITH_CYCLES_DEBUG was used for rendering BVH debugging passes. But since we mainly use Embree an OptiX now, this information is no longer important. WITH_CYCLES_DEBUG_NAN will enable additional checks for NaNs and invalid values in the kernel, for Cycles developers. Previously these asserts where enabled in all debug builds, but this is too likely to crash Blender in scenes that render fine regardless of the NaNs. So this is behind a CMake option now. Fixes T90240
2021-07-27Fix missing passes update on Use Denoising changeSergey Sharybin
Makes it so Render Layers node in the compositor is updated as soon as Use Denoising is changed for the final render. Differential Revision: https://developer.blender.org/D12010
2021-07-26Cycles: upgrade CUDA to 11.4Brecht Van Lommel
This fixes a performance regression on Ampere cards, on specific scenes like classroom. For cycles-x there is little difference, but this is still helpful for LTS releases, and we need to upgrade at some point anyway.
2021-07-26Cleanup: fix compiler warnings due to implicit castNikhil Shringarpurey
Differential Revision: https://developer.blender.org/D11950
2021-07-26Cycles: Fixed memory leak in ColorSpaceManagerStefan Werner
Cached OCIO processors were not freed, instead the color spaces were freed twice. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D12011
2021-07-21Cleanup: replace NB with NOTE in commentsCampbell Barton
2021-07-21UI: Fix Cycles Materials menu LayoutRomain Toumi
Fix an incoherence between the Eevee Materials menu and the Cycles Materials menu : Eevee : {F10230448} Cycles : {F10230449} Simply Fixed by replacing the Cycles UI code by the Eevee UI code. Thanks to @Brainzman for helping me create this diff and translate Reviewed By: Blendify Differential Revision: https://developer.blender.org/D11979
2021-07-14Fix T88088: Cycles and Eevee Vector Rotate node inconsistent with zero axisBrecht Van Lommel
Pass along the unmodified vector in this case.
2021-07-12Fix T87844: Cycles losing 1 bit of precision when loading packed byte imagesBrecht Van Lommel
This could lead to colors that are supposed to be exactly white to be slightly darker.
2021-07-12Fix T89736: Cycles error with persistent data, displacement and motion blurBrecht Van Lommel
2021-07-12Fix T89396: Cycles missing passes with multiple view layers and persistent dataBrecht Van Lommel
2021-07-09Fix cycles crash when changing viewport display passSergey Sharybin
It was possible that render buffers and scene kernel data will be out of sync because reset and scene update happens in different locks. This is similar issue we've fixed in the Cycles X branch, so backported relevant changes from there. This change removes what seems to be unused feature kernel. Differential Revision: https://developer.blender.org/D11828
2021-07-07Cleanup: spelling in commentsCampbell Barton
2021-07-05Cleanup: spelling, punctuationCampbell Barton
2021-07-05Fix T89655: tweak Cycles transparent bounces UI for clarityBrecht Van Lommel
Transparent bounces are independent of other bounces, so don't group them together.
2021-07-05Fix T89523: Cycles OpenCL compile error after shadow terminator changesBrecht Van Lommel
2021-07-05Cleanup: unused variableJacques Lucke
2021-07-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2021-07-02Fix T89581: Cycles crash rendering some OpenVDB files with inactive voxelsBrecht Van Lommel
Print an error message instead.
2021-07-02Cleanup: use template utility function to handle OpenVDB grid types in CyclesBrecht Van Lommel
2021-06-29Fix T89523: Cycles OpenCL compile error after recent changesBrecht Van Lommel
Also correctly used inverse transposed matrix for normal transform.
2021-06-29Fix Cycles hair render error on GPU after recent changesBrecht Van Lommel
Volumes primitive needs to be part of traceable primitives.
2021-06-29Fix T70615: Cycles ignores BSDF inputs when nodes are optimizedKévin Dietrich
When compiling BSDF nodes, we only assing stack space to the normal and tangent inputs if they are linked. However, it could be that the ConstantFolder removed the link, so checking if there is a link fails to take this into account. To fix this, added a flag to ShaderInput to keep track of whether a constant was folded into the input, and use it as well to verify that the socket is linked when assigning stack space. Reviewed By: brecht Maniphest Tasks: T70615 Differential Revision: https://developer.blender.org/D11731
2021-06-29Cleanup: clang-formatCampbell Barton
2021-06-28Fix T87194: custom attributes not accessible with Cycles VolumeKévin Dietrich
Custom properties defined on objects are not accessible from the attribute node when rendering a volume in Cycles. This is because this case is not handled. To handle it, added a primitive type for volumes in the kernel, which is then used in the initialization of ShaderData and to check whether an attribute lookup is for a volume. `volume_attribute_float4` is also now checking the attribute element type to dispatch to the right lookup function. Reviewed By: #cycles, brecht Maniphest Tasks: T87194 Differential Revision: https://developer.blender.org/D11728
2021-06-28Cycles: reduce shadow terminator artifactsMikhail Matrosov
Offset rays from the flat surface to match where they would be for a smooth surface as specified by the normals. In the shading panel there is now a Shading Offset (existing option) and Geometry Offset (new). The Geometry Offset works as follows: * 0: disabled * 0.001: only terminated triangles (normal points to the light, geometry doesn't) are affected * 0.1 (default): triangles at grazing angles are affected, and the effect fades out * 1: all triangles are affected Limitations: * The artifact is still visible in some cases, it could be that some quads require to be treated specifically as quads. * Inconsistent normals cause artifacts. * If small objects cast shadows to a big low poly surface, the shadows can appear to be in a wrong place - because the surface moved slightly above the geometry. This can be noticed only at grazing angles to light. * Approximated surfaces of two non-intersecting low-poly objects can overlap that causes off-the-wall shadows. Generally, using one or a few levels of subdivision can get rid of artifacts faster than before. Differential Revision: https://developer.blender.org/D11065
2021-06-28Fix Cycles not rendering motion vector passes after recent changesBrecht Van Lommel
Causing regression tests to fail.
2021-06-28Cleanup: repeated terms in code comments & error messagesCampbell Barton
2021-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2021-06-25Cycles: add view layer option to disable motion blur, in the Filter panelBrecht Van Lommel
2021-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
2021-06-24Cleanup: use '#if 0' for commented code-blockCampbell Barton
2021-06-23Fix T89331: Cycles lights flicker when transformedKévin Dietrich
The check on the transformation introduced in rBb313525c1bd0 to fix T88515 would sometimes prevent to update the light if the Blender object changed. To fix this, reverse the order in which the checks happen so that we do not shortcuit the object change check.
2021-06-23Cleanup: reformat trailing comments that caused line wrappingCampbell Barton