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
2019-05-07DrawManager: External Engines + OverlaysJeroen Bakker
Do not iterate over degsgraph when overlays are turned off and rendering via an external engine. External engines sync data from Blender differently. The external engine draws the depth buffer, but that is only needed for overlays. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D4791
2019-05-06DRW: Remove is_negative_m4 per draw callClément Foucault
This had some cost in perf and is not needed most of the time. If the drawcall really needs it, it should use a correct ob pointer.
2019-05-06Cleanup: Eevee/Workbench: Remove non-needed matrix inversionClément Foucault
Theses are garanteed by the depsgraph now.
2019-05-06DRW: Attempt to fix slowdown caused by gizmo drawingClément Foucault
2019-05-06Cleanup: Eevee: Remove comment about vcol support in sculpt modeClément Foucault
2019-05-04UI: Add Look Developer Balls Size optionGeorge Vogiatzis
Note: Some adjustments were made compared to the diff mainly for code readability and made the default ball size 150px. Reviewed By: fclem Differential Revision: http://developer.blender.org/D4793
2019-05-04Cleanup: Eevee: Remove Flat normal shader variationClément Foucault
Was use by sculpt mode but that's not used anymore.
2019-05-04Cleanup: Remove unused code in sculpt_mode, workbench and draw managerClément Foucault
2019-05-04Sculpt: Refactor draw manager sculpt drawing mechanismClément Foucault
Workbench/Eevee now displays multiple multi-materials correctly. Iterate over pbvh nodes when doing object iteration. This makes the rendering process more streamlined and allow for using different materials. This change will make possible to: - Add culling pass of each pbvh leaf node. (speedup if zoomed on a small area) - Reduce number of lead node iteration. - Reduce code complexity
2019-05-02Fix T63997 Weird z-fight during weight paintClément Foucault
PBVH drawing was used even in weightpaint/vertexpaint because both uses the sculpt session.
2019-05-02Cleanup: Draw Manager: remove DRW_state_invert_facingClément Foucault
2019-05-02Workbench,EEVEE: Viewport Render SamplesJeroen Bakker
- Add `render_aa` and `viewport_aa` sampling setting for workbench. 0 samples means no AA, 1 sample uses FXAA and more samples will use TAA. The viewport `gpu_viewport_quality` can still limit viewport anti-aliasing method. - Use TAA when rendering images. (this used to be CPU based FSAA) - Removed `R_OSA` related settings. Reviewers: fclem, brecht Maniphest Tasks: T60847 Differential Revision: https://developer.blender.org/D4773
2019-05-02DrawManager: External Engine Depth BufferJeroen Bakker
Only draw the depth buffer when overlays are enabled and scene or view has changed. When using Cycles in the viewport for every viewport draw call the depth buffer was renewed. Draw calls happened when a sample was finished or the status report was updated. This could waist some CPU/GPU cycles. This change will check when the depth buffer needs to be updated or when the last known depth buffer could be reused. Reviewers: brecht, fclem Maniphest Tasks: T63525 Differential Revision: https://developer.blender.org/D4775
2019-05-02Fix T63435 Incorrect fresnel and normals for hair strands on EEVEEClément Foucault
2019-05-02Cleanup: styleCampbell Barton
2019-05-01UI: move object origin size preference to themesGeorge Vogiatzis
Differential Revision: https://developer.blender.org/D4657
2019-05-01Eevee: Fix crash when rendering due to recent lookdev refactorClément Foucault
2019-05-01Eevee: Lookdev: Cleanup implementation & support for Bloom and TAAClément Foucault
Make Lookdev works with bloom and TAA by rendering it before TAA and fixing the motion vectors of the lookdev balls. Rework Lookdev to remove much of its complexity. Use simpler matrices with more understandable setup code.
2019-05-01Eevee: Add support for alpha background in viewportClément Foucault
Viewport now displays alpha checkerboard pattern like Cycles does when film alpha is set to "Transparent". Some small workarounds were necessary for Depth of Field and correct TAA support.
2019-05-01DRW: Draw checkerboard alpha pattern for CyclesClément Foucault
Add checkerboard alpha pattern like it was in 2.79
2019-05-01DRW: Add DRW_STATE_BLEND_PREMUL_UNDERClément Foucault
Just basic alpha under operation with premultiplied source.
2019-05-01Cleanup: comments (long lines) in drawCampbell Barton
2019-04-30Stop using deprecated ob->flag & SELECTDalai Felinto
We still have base->flag_legacy & BA_WAS_SEL for the few cases we really need to have a per-object selection check (used in the transform code).
2019-04-30GPencil: Small tweak to Dot minimum thicknessAntonioya
This was changed in a previous commit to 1.0, but a value of 0.5 works better.
2019-04-30Fix T63393 Eevee: Specular Shader's Clear Coat does not functionClément Foucault
2019-04-30Sequencer: Scene Strip PerformanceJeroen Bakker
- Merged SEQ_OFSDRAW with V3D_OFSDRAW and define in the DNA_view3d_types: Due to this FSAA always kicked in making the rendering slow. - Removed `Texture Solid` and `DOF`. - Now when chosing Solid rendering the settings of the original scene is used. - Added a global override to use scene specific shading. In the Future we will need to enhanced this so user can change the settings. - Added support for LookDev. LookDev crashed as it needed the `evil_C` what was not set - LookDev mode will always show the scene + world lights. Reviewed By: brecht, fclem Maniphest Tasks: T62517 Differential Revision: https://developer.blender.org/D4738
2019-04-30DRW: Add debug utility for batch cache requestsClément Foucault
2019-04-30Fix T64009 Normal Maps not working on EEVEEClément Foucault
Was missing a flag from recent refactor.
2019-04-30T63854: Grease Pencil strokes appear too thick in the viewport when using ↵Antonioya
texture mode There was an arbitrary size limit of 4 pixels.
2019-04-30Fix T63592 issue with control points.Antonioya
This is a missing fix in previous commit of this task.
2019-04-29DRW: Batch Cache: Add Loop normals calculation flag and cleanup styleClément Foucault
Improve selection time since it bypass BM_loops_calc_normal_vcos when mesh uses auto-smooth.
2019-04-29DRW: Improve edit mode selection time when using auto-smoothClément Foucault
Unfortunately it does not concern paint mode. Related to T63946
2019-04-29DRW: Speedup: Improve time to validate batch cacheClément Foucault
This is a small improvment but is does scale up with the number of objects. This improvement *does not* speedup geometry update.
2019-04-29Fix T63979: GPencil control points hidden in orthographic modeAntonioya
2019-04-27Fix T63937: unconfirmed grease pencil strokes not visible in ortho sufaceAntonioya
The value of the z-depth was too high. Now the value is valid for perspective and orthographic view.
2019-04-27GPencil: Cleanup derived frame codeAntonioya
This is a previous step to move away the derived frame logic to be used in edit modes.
2019-04-27Cleanup: unused varsCampbell Barton
2019-04-26Fix T63886 Crash in UV Editing after faces display turn off / onClément Foucault
This patch also improve cache locality of the IBO filling. I did not benchmark if it made any difference.
2019-04-26Cleanup: ArmatureClément Foucault
2019-04-26Armature: Speedup by removing unecessary checkClément Foucault
drw_batch_cache_generate_requested() is only needed when the geom needs to be created. Went from 37fps to 47fps with artificial testcase (lots of bones with one custom shape). Baseline 2.79 is 24fps. Also fix the drw_shgroup_bone_custom_wire.
2019-04-26Fix T58966 Sculpted changes dissapear visually when selecting a second objectClément Foucault
Display sculpt mesh if there is a sculpt session.
2019-04-26Fix T62880 Severe FPS drop with multiple bone shapesClément Foucault
Fix instancing batches not being reused by custom bone shapes. Drawing thoses is now faster than 2.79 (40fps instead of 30fps)
2019-04-26Cleanup: clang-formatCampbell Barton
2019-04-26Fix T63784 Eevee : Black Diffuse with Principled BSDF and Mix ShaderClément Foucault
This was cause by the SSS energy being lost when using SSRefraction. Also the mix shader did not merge the discarded SSS light into the radiance.
2019-04-25DRW: Use culling when selectingClément Foucault
The culing still seems to be off but at least it is enabled now.
2019-04-25DRW: Cleanup: use iter_flag const for readabilityClément Foucault
2019-04-25Fix T63846: In Orthographic View, unconfirmed Grease Pencil strokes do not ↵Antonioya
appear in front of Reference Images In orthographic, the z-depth was wrong.
2019-04-25Overlay: Mesh AnalysisJeroen Bakker
Enabling the drawing of the mesh analysis overlay. Currently the settings are part of the scene toolsettings. What makes sense, for 3d printing, but does not fit well with the per viewport blender 2.80 overlays. Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D4707
2019-04-24Fix T61184 linked curves with curve modifiers arent drawn correctlyClément Foucault
Force Displist to Mesh conversion if there is any modifier. This is until we find a better way to store the batches per objects. Also fix draw cache functions that were not returning final mesh edges.
2019-04-24Correct switched values in the previous commit.mano-wii