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-10-19Spelling: It's Versus ItsHarley Acheson
Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton
2020-10-17Fix T81761: EEVEE enabled AO pass affects render resultDalai Felinto
This was a regression introduced on 68651534c263.
2020-10-16EEVEE: SSR: Fix unreported smoothstep instability when border factor is 0Clément Foucault
From the GLSL documentation: `Results are undefined if edge0 ≥ edge1.` This is the case without this patch.
2020-10-14Fix T81633 Workbench: TAA never resolve when enabling both X-Ray and cavityClément Foucault
This was caused by a wrong flag equality check when in xray mode because the xray mode was masking the effect option flags that are not supported in this mode. This means the never passed and the TAA was reset before every redraw, leading to infinite rendering.
2020-10-14Cleanup: multi-line comment blocksCampbell Barton
2020-10-14Cleanup: commented includesCampbell Barton
2020-10-13EEVEE: Motion Blur: Add shutter position optionClément Foucault
This makes it easier to generate motion trail effect with EEVEE. This just mimics the cycles option as described here: https://docs.blender.org/manual/en/latest/render/cycles/render_settings/motion_blur.html This fix T80070
2020-10-13Fix T80086 EEVEE: Motion Blur: Subframe not taken into accountClément Foucault
This is a simple fix that just make it work like cycles. The initial time was missing the subframe offset.
2020-10-13Fix T81669: Vertex size in UV Editor changes using Face Dot Size in themesPhilipp Oeser
Probably copy-paste error in rBd6525e8d133b. Maniphest Tasks: T81669 Differential Revision: https://developer.blender.org/D9190
2020-10-12Overlay: Fix Line antialiasing broken for some objectsClément Foucault
Fix regression introduced in rBe12767a0352a9e113892b4a07c6c8446d3ff361f The volumes are not a line type and should not be render into the line framebuffer nor it should change the framebuffer.
2020-10-11Cleanup: make formatAaron Carlisle
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-10-07Fix T81254: Incorrect calculation of EEVEE Transmittance VolumetricsJeroen Bakker
Regular rendering uses a custom blend mode, but render passes renders to 2 separate textures. This wasn't configured correctly inside the fragment shaders. This patch adds a switch to configure the fragment shader with the correct attachments. Backport to Blender 2.83. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9038
2020-10-07UV/Image Editor: Overlay PopoverJeroen Bakker
The overlay options in the image/uv editor is hidden in side panels and menus. Sometimes this panel is even hidden, while still useful. The goal of this task is to introduce an overlay pop-over just like the overlay-popover of the 3d viewport. Popover has * UV Stretching (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Display As (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Show Modified (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Show UV Edges (including opacity slider; available UV, View, Paint, when active object mode is a mesh and in OB_EDIT mode) * Udim tiles when no image is available. Like the 3d viewport, there will be a editor toggle to enable/disable the overlays For compatibility reasons the RNA properties are added to both the `SpaceImage.uv_editor` amd `SpaceImage.overlay`. On DNA level they are still stored in the SpaceImage. only new properties are added to the SpaceImageOverlay struct. During the next major release we could remove these options from `SpaceImage.uv_editor`. This should be noted in the Python section of release notes. Reviewed By: Julian Eisel, Pablo Vazquez Differential Revision: https://developer.blender.org/D8890
2020-10-07Fix T79184: Specular highlight turns object black on some studio lightsClément Foucault
This case was leaving some data uninitialized, producing some NaNs in the fragment shader.
2020-10-02Cleanup: spellingCampbell Barton
Also correct own correction from 58b8724a4892 thanks @mont29 for raising this.
2020-10-02Cleanup: trailing spaceCampbell Barton
2020-10-01Fix T81268: Crash when undo from Sculpt Mode to Edit ModePablo Dobarro
This was introduced in 6c9ec1c893f9. The overlays can now be drawn when PBVH drawing is not enabled, but the PBVH should still exist in the SculptSession in order to draw them. Before, it was avoiding the crash by checking use_pbvh as BKE_sculptsession_use_pbvh_draw also checks if the PBVH exists. Reviewed By: sergey Maniphest Tasks: T81268 Differential Revision: https://developer.blender.org/D9044
2020-09-30Cleanup: sort struct declarationsCampbell Barton
2020-09-29Volumes: support selection and outlines in viewportJacques Lucke
Previously, one could only select a volume object in the outliner or by clicking on the object origin. This patch allows you to click on the actual volume. Furthermore, the generated (invisible) mesh that is used for selection is also used to draw an outline for the volume object now. Reviewers: brecht Differential Revision: https://developer.blender.org/D9022
2020-09-25Fix T81126: Assert going to Texture Paint workspace without a UVMapJeroen Bakker
Assert happened as it could not create uv batches without an UVMap. Solution is to only request those batches when the UVMaps are available.
2020-09-25Fix T81157: Eevee MotionBlur steps setting make ao pass darkerJeroen Bakker
Issue introduced by 68651534c263 due to an incorrect merge/rebase It was resetting the AO buffer every time the time step happened.
2020-09-22Fix T81026: Image Editor: Alpha (like Bloom) not showing properlyJeroen Bakker
With the new image editor drawing there were was some mutual exclusive functionality. When rendering the alpha was shown correctly or the pure emissive colors were shown correctly, but never both. The cause of this is that the image_gpu did not used the correct alpha mode when generating gpu textures for non-images (render results, compositors viewer) The implementation always checked the alpha_mode. Alpha mode is an attribute for images, but aren't set for non images. This patch adds a more detailed check to ensure that the gpu texture is premultiplied. The issue has been tested using several bug report files and production files. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D8978
2020-09-22Fix T81013: Weight Paint Overlay XRay fails with clippingPhilipp Oeser
When introduced in rB1ca1744c29e2, the Weight Paint Overlay XRay's corresponding depth pass was not considering clipping planes. Maniphest Tasks: T81013 Differential Revision: https://developer.blender.org/D8970
2020-09-21Cleanup: correct naming IMAGE_Z_DEPTHJeroen Bakker
IMAGE_DEPTH is used for bit depth.
2020-09-19Cleanup: consistent TODO/FIXME formatting for namesCampbell Barton
Following the most widely used convention for including todo's in the code, that is: `TODO(name):`, `FIXME(name)` ... etc.
2020-09-19Cleanup: spellingCampbell Barton
2020-09-19EEVEE: Add support for GGX Multi-scatterClément Foucault
Based on http://jcgt.org/published/0008/01/03/ This is a simple trick that does *not* have a huge performance impact but does work pretty well. It just modifies the Fresnel term to account for the multibounce energy loss (coloration). However this makes the shader variations count double. To avoid this we use a uniform and pass the multiscatter use flag inside the sign of f90. This is a bit hacky but avoids many code duplication. This uses the simplification proposed by McAuley in A Journey Through Implementing Multiscattering BRDFs and Area Lights This does not handle area light differently than the IBL case but that's already an issue in current implementation. This is related to T68460. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8912
2020-09-18Sculpt: Render Mask and Face Sets with modifiers activePablo Dobarro
This removes the limitation of the sculpt overlays not being visible with modifiers active. Reviewed By: fclem Maniphest Tasks: T68900 Differential Revision: https://developer.blender.org/D8673
2020-09-18Overlay: Fade Inactive GeometryPablo Dobarro
This implements a new overlay that blends the bakground color over the objects that are not in the same mode as the active object, making them fade with the background. This is especially needed for sculpt mode as there is no other overlay or indication in the viewport to display which object is active. This is intended to be used with D7510 in order to have a faster workflow when sculpting models with multiple objects. Reviewed By: fclem Differential Revision: https://developer.blender.org/D8679
2020-09-18LookDev: Lock HDRI rotation to ViewPablo Dobarro
This adds an option for the HDRI rotation to follow the view rotation. When this option is enabled, this allows EEVEE materials to be used as matcaps for sculpting and painting. This has an extra performance cost when orbiting around the model as the lookdev cache needs to be recalculated, but in my test it is barely noticeable. Reviewed By: fclem Differential Revision: https://developer.blender.org/D8566
2020-09-18GPencil: Implement Holdout materialsAntonio Vazquez
This new feature allows to use the strokes as an eraser of any stroke below. This is very handy to open holes in filled areas. After running some tests, we have decided to keep the additive effect of the holdout color. To get clean holdout areas, just move the color to black to remove any additive effect. To have additive effect can be used in situations like tint slightly a transparent window with blue to simulate the glass. See T79878 for more details Differential Revision: https://developer.blender.org/D8932
2020-09-18Fix T80927: UV Edges Not Visible When Repeat Image ActiveJeroen Bakker
When repeat image was active the image was drawn in the foreground making most uv overlays not visible. This change creates a shared defined value for repeating and not repeating images.
2020-09-17Cleanup: warning (missing-braces)Campbell Barton
2020-09-16Fix T79315 Normals Overlays broken with hidden geometryClément Foucault
Was caused by non-initialized variables before a return inside the vertex shader.
2020-09-16Cleanup: silence [-Wmissing-braces] warning.Ankit Meel
Introduced in {rBd6525e8d133b787655bdb2c2fcef218591a457c3} Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.7.0 Thread model: posix ``` source/blender/draw/engines/image/image_shader.c:46:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] } e_data = {0}; /* Engine data */ ^ {} 1 warning generated. ``` Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8873
2020-09-16Fix T78653 Workbench: Broken Depth of Field in Viewport (Mac OSX)Clément Foucault
The output layout was wrong and it's a mistery why it works on most implementations since it's clearly a wrong usage. Thanks @sebbas for helping narrowing down the issue.
2020-09-16Fix T80800: Active UVMap DrawingJeroen Bakker
Regression introduced by D8234. In stead of using the active uv map, the render uv map was drawn. This change will use the active uv map.
2020-09-16Fix T80825: UV Editor UV GridJeroen Bakker
Regression introduced by D8234.
2020-09-16Fix T75061 Grease Pencil: MacOS: broken Gradient and TextureClément Foucault
There is a driver bug that makes all the end of the structure unreadable. Workaround this by just declaring a vec4 an unpacking manually.
2020-09-15Liquid Simulation Display Options (GSoC 2020)Sriharsha Kotcharlakot
All the changes made in the branch `soc-2020-fluid-tools` are included in this patch. **Major changes:** === Viewport Display === - //Raw voxel display// or //closest (nearest-neighbor)// interpolation for displaying the underlying voxel data of the simulation grids more clearly. - An option to display //gridlines// when the slicing method is //single//. ==== Grid Display ==== - Visualization for flags, pressure and level-set representation grids with a fixed color coding based on Manta GUI. ==== Vector Display ==== - //**M**arker **A**nd **C**ell// grid visualization options for vector grids like velocity or external forces. - Made vector display options available for external forces. ==== Coloring options for //gridlines// ==== - Range highlighting and cell filtering options for displaying the simulation grid data more precisely. - Color gridlines with flags. - Also, made slicing and interpolation options available for Volume Object. Reviewed By: JacquesLucke, sebbas Differential Revision: https://developer.blender.org/D8705
2020-09-15Fix T80787: Fix White edges when rendering transparent smokeJeroen Bakker
The UV/Image editor was doing interpolation including over the alpha value what makes will render incorrectly when interpolating between pure emissive colors and pre multiplied colors. This change disabled the interpolation.
2020-09-15Revert "Image Editor: Make Rendering of Pure Emissive Colors Optional"Jeroen Bakker
This reverts commit f492c8d488b7eb2166ca894e10a8128a1678a885.
2020-09-15Fix T80746: Image blur in compositor creates halo from alphaJeroen Bakker
When applying alpha, an alpha of 0.0 was always ignored, creating the Halo
2020-09-15Image Editor: Make Rendering of Pure Emissive Colors OptionalJeroen Bakker
There are some areas that don't handle pure emissive colors well. For example erasing alpha using 2d or 3d painting. Or blurring an image in the compositor. This patch makes the rendering of pure emissive colors optional. In the side panel of the Image editor it can still be enabled when needed. There currently isn't a better place to store it as it is related on how the image (or a layer of the image) is created. A future design needs to make sure that the full workflow is supported.
2020-09-15Fix Unreported: Repeat Image RegressionJeroen Bakker
Regression introduced by c6210f9bacdb. The vertex shader still used the old value for the SIMA_DRAW_FLAG_DO_REPEAT.
2020-09-15Workbench: Depth Of Field: Fix regression in look and avoid implicit castClément Foucault
This is a fixup to rB7710de26d0d768734977769af4a278b262f4da51
2020-09-15Workbench: Depth Of Field: Fix undefined behavior with using texelFetchClément Foucault
On MacOS + Intel Iris Graphics 6100 (may affect other config too), the texelFetch operation bypass the base mip setting of the texture object. Using textureLod with lod = 0.0 ensure the lowest (after clamping) mip will always be selected. Also disable the texture filtering for this sampler to avoid unecessary fetches. This should fix T78653 Blender 2.83 broken Depth of Field in Viewport
2020-09-14Fix T80770: UV Image Editor: Display Texture Paint UVs Not WorkingJeroen Bakker
When developing the image draw engine I wasn't aware of this option. But now it is back.
2020-09-14DrawManager: Resolve Assert in Image EngineJeroen Bakker
Tiled texture uses different texture structure than normal textures. Normally we add dummy textures and use them, but I found it cleaner to have 2 shaders and use the correct shader.