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-07-30EEVEE: GLSL refactor/cleanupClément Foucault
- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code complexity and duplication. - split bsdf_common_lib.glsl into multiple sub library which are now shared with other engines. - the surface shader code is now more organised and have its own files. - change default world to use a material nodetree and make lookdev shader more clear. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8306
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30GPU_draw.h: cleanup before splittingClément Foucault
2020-07-29Cleanup: GPU: Move Image based function to GPU_draw.hClément Foucault
This makes it less confusing what functions are for blender structures.
2020-07-29Fix incorrect flag check in overlay relationship linesCampbell Barton
2020-07-26Cleanup: Image: Rename redundant enum for clarityClément Foucault
2020-07-26GPUTexture: Replace GL textarget enum by Image enumClément Foucault
2020-07-21Cleanup: CodeQuality: Replace OB_DRAWXRAY by OB_DRAW_IN_FRONTClément Foucault
This is to match the option name and to avoid confusion with workbench xray mode.
2020-07-20DRW: draw hook relationship linesCampbell Barton
This wasn't added back from 2.7x, making "Recenter Hook" applier to do nothing.
2020-07-20DRW: overlay engine support for drawing isolated pointsCampbell Barton
This matches similar functionality for drawing lines.
2020-07-16Cleanup: DRW: remove uneeded double bindClément Foucault
Now that binds are permanent there is no need to setup the same texture for each subgroups.
2020-07-15PointCloud: Initial rendering support for WorkbenchClément Foucault
Also includes outline overlays. Removes the temp overlay drawing We make the geometry follow camera like billboards this uses less geometry. Currently we use half octahedron for now. Goal would be to use icospheres. This patch also optimize the case when pointcloud has uniform radius. However we should premultiply the radius prop by the default radius beforehand to avoid a multiplication on CPU. Using geometry instead of pseudo raytraced spheres is more scalable as we can render as low as 1 or 2 triangle to a full half sphere and can integrate easily in the render pipeline using a low amount of code. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8301
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-03Fix T78124 Overlay: Image: Camera background image transparency not workingClément Foucault
This changes to premultiplied blending for all cases and put the premult in the shader.
2020-07-02GPencil: Cleanup - More rename from gp_ to gpencil_Antonio Vazquez
2020-07-02Fix T76229 Overlay: Sulpt overlay not working if object use in-front optionClément Foucault
Simple fix similar to paint overlay.
2020-07-01Fix T67587 Overlay: WeightPaint color blends with background in wireframe modeClément Foucault
Fix this by rendering to the overlay framebuffer when using alpha blend mode.
2020-07-01Fix T77655 Overlay: Edit mode + wire drawtype + infront not transparentClément Foucault
2020-07-01Fix T75483: 3D Text selection obscures textClément Foucault
This avoids logic op and having to draw on the render frame-buffer.
2020-07-01Cleanup: spellingCampbell Barton
2020-06-30Fix T76337 Overlay: Wireframe: x-ray doesn't deactivate when set to 0Clément Foucault
Also fix an issue with antialiasing when xray opacity is set to 0.
2020-06-29Fix T74290 Face Dots in front (X-ray) Visual GlitchClément Foucault
This is not likely to be the silver bullet but it fix the common case.
2020-06-25Fix T70193 Overlay: Grid floor disappears for orthographic cameraClément Foucault
The fix is to disable the fading for in the +Z direction in this case.
2020-06-24Fix T66934 Overlay: "Outline Selected" overlay doesnt affect armaturesClément Foucault
This is a really small fix. Could be included in 2.83 LTS branch.
2020-06-23Fix T77803: IK Degrees of freedom drawing glitchJeroen Bakker
Forgot to update the lineOutput what resulted in that the sphere was not rendered on all platforms. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8098
2020-06-19UI: Drag and Drop Constraints, Layout UpdatesHans Goudey
This patch implements the list panel system D7490 for constraints. In this case the panels are still defined in Python. The layouts are also updated to use subpanels and the a more organized single column layout. There may be more tweaks necessary for the layouts. Reviewed By: Severin, billreynish, Mets Differential Revision: https://developer.blender.org/D7499
2020-06-16Fix T77803: IK Degrees of freedom drawing glitchJeroen Bakker
IK degrees of freedom is rendered using wires and a solid sphere. The solid used the wireframe drawing what resulted into drawing glitches. This patch adds a new shader to draw the solid shape. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8044
2020-06-15Fix Memory Leak introduced by Draw Manager ThreadingJeroen Bakker
The memory leak is noticeable when using custom bone shapes. When using custom bone shapes objects could be extracted twice. Where the second extraction can overwrite data created by the first extraction what causes the memory leak. Options that have been checked: 1. Use two task graphs phases. One for normal extraction (DST.task_graph) and the other one will handle extractions that require blocking threads. 2. Keep a list of all objects that needs extraction and only start extraction when all objects have been populated. The second would slow performance as the extraction only happens when all objects have been populated. In the future we might want to go for the second option when we have the capability to render multiple viewports with a single populate. As this design isn't clear this patch will implement the first option. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7969
2020-06-15Fix curve handle color ID displayCampbell Barton
Regression in 49f59092e7c8c caused all handles to display using the 'aligned' theme color. Arrange flags to fix this, add assert to avoid this happening again. Also rename flag so it's use is clearer.
2020-06-09Cleanup: Move pointcache dna to separate fileJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7965
2020-06-03Fix T77156: GPencil view layer filter by layer not workingAntonio Vazquez
This was removed by error during the refactor done in 2.83. Differential Revision: https://developer.blender.org/D7909 Reviewers: @fclem
2020-06-03Cleanup: DRW: Remove persistent uniform functionsClément Foucault
2020-06-03Fix domain voxel size indicator drawingPhilipp Oeser
Use already calculated cell_size directly. Part of T77030.
2020-06-02Fix T76196: Curve Display hides wires as soon as any part has faces [duePhilipp Oeser
to filling/extrude/etc] Caused by rB6da097136cf4. The file in the report has some parts of the curve object generate faces [due to success in filling] and some others dont [where filling isnt possible]. rB6da097136cf4 disabled the wires/curves drawing whenever any faces would be generated (but the only way to see all wires was to set the Fill Mode to None then). So now only skip the wires/curves drawing if we are _not_ in wireframe viewport shading and the object's viewport display options is above 'WIRE'. This is an alternative fix to D7594 (and I think the better alternative, thx @stevewarner suggesting this). Maniphest Tasks: T76196 Differential Revision: https://developer.blender.org/D7874
2020-05-29Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-29Fix T77130: Visually broken/stepped wireframe in object mode (regression)Clément Foucault
Create a new shader for the selection fix. Differential Revision: https://developer.blender.org/D7873
2020-05-28Cleanup: DRW: Remove array suffix from uniform nameClément Foucault
2020-05-27Merge remote-tracking branch 'origin/blender-v2.83-release'Dalai Felinto
2020-05-27Fix T77105: Crashes when clicking "new scene" buttonDalai Felinto
This was introduced on ecc395e473d. Effectively this is reverting that commit for cases when scene->toolsettings->sculpt is NULL. But since the facesets are only working for sculpting this should be fine.
2020-05-26Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-26Fix T77074: Collections: Exclude From ViewLayer toggle crashesPhilipp Oeser
Consider this a bandaid fix (similar to rBe2724abc22d5). Real issue seems to be that object is still in OB_MODE_PARTICLE_EDIT whereas it should be in OB_MODE_OBJECT after toggling 'Exclude From ViewLayer'. So while this patch prevents the crash, it leaves the object in a weird state (it cannot be selected for example), needs further investigation. Maniphest Tasks: T77074 Differential Revision: https://developer.blender.org/D7843
2020-05-26Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-26Curves: Implement Handles for selected points onlyAntonio Vazquez
When editing a complex curve is very annoying to have all handles at a time. Also, this is a requirement for the current GSoC Edit Grease Pencil using curves. I have seen that this improvement can be used in any other area of blender, so I have decided to publish the option in the overlay panel.. Reviewed By: fclem, #user_interface, billreynish, Severin Differential Revision: https://developer.blender.org/D7754
2020-05-26Fix T76902: face sets checkbox brokenJeroen Bakker
Due to recent changes the face sets checkbox broke. The cause is that {7d38f5036794} changed the responsibility of drawing and updating sculpt GPU buffers to fix render glitches. This patch moves the checkboxes evaluation to the overlay engine.
2020-05-25DRW: Selection: Extend small object selection workaround to all overlaysClément Foucault
Fix T77015 box select doesnt select cameras when zoomed out, lasso and circle select do work.
2020-05-22Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-22Fix T73115: In Front Drawing Bone Envelope DistanceJeroen Bakker
The in front drawing was not supported for transparent part of the armature. This patch adds a second transparent pass for drawing in front. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7763
2020-05-21Merge branch 'blender-v2.83-release'Campbell Barton