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-08-18Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-18Fix T79580: Control Mesh Only Partially Drawn After Filling a Surface From a ↵Antonio Vazquez
Cage of Surface Curves Differential Revision: https://developer.blender.org/D8600
2020-08-17Fix T77267: Render EEVEE AO pass when AO disabled.Jeroen Bakker
In EEVEE the AO renderpass influenced other render passes. Until now the pass wasn't selectable when AO was disabled in the scene to remove these render artifacts. This patch allows rendering EEVEE AO pass without enabling it in the scene. It does this by binding a fallback texture that is used by the surface shaders. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7956
2020-08-17Fix: Workbench Depth Of Field CrashJeroen Bakker
Depth of field compilation failed due to recent refactoring. This only happened in blender 2.91. This change uses the shader lib to find dependencies.
2020-08-17Cleanup: header order, trailing spaceCampbell Barton
2020-08-13GPencil: Display Fill Boundary strokes with stroke colorAntonio Vazquez
This feature was removed during the refactor, but it's needed for this type of strokes to display the line using the stroke color without checking if the stroke is enabled or not in the material. This color is used only for these special strokes.
2020-08-13Cleanup: GPU: Remove Batch vao cache resetClément Foucault
This is done at drawtime automatically.
2020-08-13GPUBatch: Move allocator to backendClément Foucault
2020-08-13GPUBatch: Merge phase and ownership flags and cleanup there usageClément Foucault
Also add new flags to communicate specific behavior to future backend.
2020-08-13DRW: InstanceData: Remove hacks of batch freeing callbackClément Foucault
We instead use a handle reference counter on the GPUVertBufs used by the instancing batches. This make sure that if an update happens on the GPUVertBuf used to contruct the batch, they will never have the same memory address than the previously allocated ones (since they are still pending deletion thanks to the refcounter). This avoid the linear search to update the GPUBatch in the case a batch is deleted (which was even a bad option since they could be only cleared)
2020-08-13GPU: Use GPU_vertbuf_create & GPU_indexbuf_calloc instead of manual allocClément Foucault
2020-08-13GPUShader: Change shader state tracking to be part of the GPUContextClément Foucault
This remove the use of batch->program and replace it with batch->shader. This will allow GL abstraction latter.
2020-08-13GPUBatch: Remove usage of gl_prim_type outside of GPU moduleClément Foucault
2020-08-13GPUDrawList: GL backend isolationClément Foucault
2020-08-12Fix T77424 Overlay: Editmode: Issue with multi edit and in-front optionClément Foucault
This is a nice addition to the refactor. Now any combination of in-front / not in-front will work in non x-ray edit mode.
2020-08-12Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-12Merge branch 'blender-v2.90-release'Clément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_motion_blur.c
2020-08-12Fix T79718: Eevee OpenVDB render error when frames miss part of the gridsBrecht Van Lommel
2020-08-12Fix T79637 Motion blur gives artifacts when changing the cameraClément Foucault
DRW_render_set_time is calling RE_engine_frame_set will in turn calls BKE_scene_camera_switch_update. To workaround this, we get the original camera object at render init and get the evaluated version from it after each time change.
2020-08-12EEVEE: Motion Blur: Fix issue with batch overflowing with VBOsClément Foucault
2020-08-12EEVEE: Fix dupli recursion constantClément Foucault
2020-08-12EEVEE: Rework deformation motion blurClément Foucault
This change how motion data are indexed inside the ghash. We follow cycles closely now and use evaluated ID pointers. By removing the hack, it fixes T78561 (No Motion Blur on linked objects)
2020-08-12EEVEE: Motion Blur: Use evaluated object as key to motion dataClément Foucault
This fix issues with instanced geometry and modifiers. Since the depsgraph will duplicate the objects when they have different modifiers, the evaluated object are garanteed to be unique.
2020-08-11Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-11Fix T79672 EEVEE: Motion blur steps value broken after recent changeClément Foucault
Was just an issue of `taa_render_sample` being reset to 1 when it shouldn't.
2020-08-11Fix T79683: Dim GPencil points created by modifiersAntonio Vazquez
This change makes the generated points a light dimmer than selectable points. Before: {F8765593} After: {F8765585} Maniphest Tasks: T79683 Differential Revision: https://developer.blender.org/D8515
2020-08-10Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-08-10Fix T78113: Random explosions of cloth with self collisionGermano Cavalcante
The problem is caused by a lack of prediction in the `isect_line_segment_tri_v3` that incorrectly confirms some intersections of coplanar segments to the triangle. The solution is to use another algorithm to detect intersections. This also resulted in a slight improvement in the performance: - 1min 17sec to 1min 6sec in my test file Differential Revision: https://developer.blender.org/D8500
2020-08-10Merge branch 'blender-v2.90-release'Jeroen Bakker
2020-08-09Fix T79246 GPUShader: compile error on AWS Elastic GraphicsClément Foucault
2020-08-08Cleanup: replace sizeof division with ARRAY_SIZE macroCampbell Barton
2020-08-08Cleanup: use array syntax for sizeof with fixed valuesCampbell Barton
Also order sizeof(..) first to promote other values to size_t.
2020-08-08DRW: Fix runtime error: shifting signed 32bits intClément Foucault
2020-08-08GPUBatch: Use custom allocatorClément Foucault
This is needed for the new GPU abstraction.
2020-08-08DRW: Instance Data: Replace GPUBatch bulk allocation by separate allocClément Foucault
This is suboptimal but needed for the new GPU abstraction. Maybe a better solution will be needed if performance is impacted.
2020-08-07Cleanup: pass arrays const where possibleCampbell Barton
2020-08-07Cleanup: declare arrays arrays where possibleCampbell Barton
2020-08-07Cleanup: Draw, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/draw` module. Not all warnings are addressed in this commit. No functional changes.
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-07Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-07EEVEE: Render: Fix regression caused by previous Motion blur fixClément Foucault
Caused by rB4f59e4bddcb0c06e441adf68a5f252a4e5b4b260
2020-08-07Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-07Fix T78452 EEVEE: Motion Blur: Crash when using camera switchingClément Foucault
This was caused by the ViewLayer being freed with all its engine data.
2020-08-07Fix T78160 EEVEE: Motion Blur: Bug with Follow Path animationClément Foucault
Follow path seems to not be catched by `BKE_object_moves_in_time`. For this reason, we cache all transforms for all object and check ourselves if an animation occurs. This is almost what cycles does. We also fix the rigid body case if the rigid body use deformation.
2020-08-06Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-06Fix T77885: crash rendering grease pencil from compositor with multiple scenesVincent Blankfield
2020-08-06Fix buffer-overflow when drawing Curve Guide objectsJulian Eisel
Was passing an array of length 3 to `where_on_path()` that expected length 4.
2020-08-06Fix buffer-overflow when drawing Curve Guide objectsJulian Eisel
Was passing an array of length 3 to `where_on_path()` that expected length 4.
2020-08-06Merge branch 'blender-v2.90-release'Clément Foucault