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
2018-10-12DRW: correct loose edge hidden face checkCampbell Barton
2018-10-12Cleanup: minor mesh allocation changesCampbell Barton
2018-10-12Cleanup: use const pointersCampbell Barton
2018-10-12Cleanup: fill vertex buffer in orderCampbell Barton
2018-10-12DRW: edit-mesh cage loose edge/vert supportCampbell Barton
2018-10-12DRW: edit-mesh cage selection supportCampbell Barton
2018-10-11DRW: add mapped edit-mode face-dot drawingCampbell Barton
2018-10-11DRW: Initial edit-mode cage supportCampbell Barton
Modifiers such as sub-surf and mirror now work with show-on-cage. Selection and loose geometry still needs to be supported.
2018-10-11DRW: add ability to skip drawing verticesCampbell Barton
2018-10-11DRW: avoid edit-mode layer lookups for freestyleCampbell Barton
2018-10-11Cleanup: assign a var to check an edge is realCampbell Barton
Makes code slightly more readable.
2018-10-11DRW: remove redundant editmode mesh tessellationCampbell Barton
Also re-order logic so loop indices are ensured to be valid.
2018-10-10Fix runtime error: shift of uintDalai Felinto
The warning was: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Patch by Clément Foucault.
2018-10-10Modifier: Fix cage option for deform modifiersCampbell Barton
Show-on-cage and show-in-editmode options now work as it did in 2.7x (but only for deformation).
2018-10-09Fix T57097: Crash when adding a Texture Slot in Texture Paint modeClément Foucault
Was caused by the use of a batch that was using a discarded index buffer.
2018-10-09Edit Mesh: replace DerivedMesh w/ MeshCampbell Barton
DerivedMesh is now removed from edit-mesh modifier evaluation.
2018-10-08Edit Mesh: basic show in edit mode supportCampbell Barton
Note this is just using the derived-mesh data at the moment, to support this properly we'll need to remove derived-mesh.
2018-10-08Edit Mesh: use deformed mesh w/ face-dot & normalsCampbell Barton
2018-10-04Fix UV select tools not refreshingCampbell Barton
Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.
2018-10-03Cleanup: styleCampbell Barton
2018-10-01Edit UVs: Fix missing wires with multiple windowsClément Foucault
All that was needed is a VAO refresh. It's not a performance problem because it only concerns a handful of batches.
2018-10-01Edit UVs: Refactor drawing Shadow UV in Image EditorClément Foucault
Currently it's not showing the subdivided mesh (if there is a subdiv mod) and there is some sync issue if there is multiple uv image space opened. But thoses will be tackled later on. The purpose of this commit is to fix the overflow issue of IMM and speed issue.
2018-10-01Edit UVs: Refactor drawing Edit UV in Image EditorClément Foucault
NOTE: This commit only concern edit UVs and not the "shadow" mesh displayed when texture painting. This will be address in a future commit. We now cache the uv mesh in the mesh batch cache and only reupload data on changes. Update could be more granular (and a bit faster) but it's not our main concern ATM. This should fix problem caused by the IMM api used to draw large meshes. This makes performance skyrocket compared to previous implementation. There is still a big CPU bottleneck when not in sync selection mode but it is not related to the drawing function directly.
2018-09-27Implement a new dedicated weight painting shader.Jeroen Bakker
Move the weight paint drawing to the fragment shader. The shader uses a texture that uses the U.coba_weight custom color band, or an internal color band. In addition to actual weights, the shader has to display two alert colors: missing vertex group, and zero weight. The zero weight alert has to be blended with regular weight colors, so that a single alert vertex surrounded by weighted ones is still visible. Reviewers: campbellbarton, fclem Differential Revision: https://developer.blender.org/D3675
2018-09-26Fix misleading field naming.Alexander Gavrilov
This is not any kind of length, it is the number of true values.
2018-09-26Cleanup: naming of DRW mesh weight APICampbell Barton
2018-09-26Cleanup: warnings, styleCampbell Barton
2018-09-25Implement correct drawing of advanced Weight display features.Alexander Gavrilov
This adds existing behavior from calc_weightpaint_vert_array that was missing from the new rendering code: - No selected Vertex Group displays as a solid pink color. - Zero weight displays as alert color depending on Options. - Multipaint mode correctly displays collective weight. In order to properly implement this variety, a data structure holding all relevant parameters is introduced. Reviewers: fclem, campbellbarton Subscribers: jbakker Differential Revision: https://developer.blender.org/D3722
2018-09-21Fix: missing cache invalidation when the active vertex group changedJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3716
2018-09-19DRW: Fix crash when new shader requires 0 customdata layersClément Foucault
It was using last cache->auto_layer_len which led to a buffer overflow.
2018-09-19DRW: Only trash UV and tangent data when using BKE_MESH_BATCH_DIRTY_SHADINGClément Foucault
This improves the problem encountered when animating materials on static meshes but does not fix the core issue. See T55326.
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-08Fix T56722: Crash - Entering mesh Edit Mode.Bastien Montagne
Seriously...
2018-09-07Cleanup: Unused undefSergey Sharybin
That symbol is never defined.
2018-09-05Edit Mesh: Add support for draw option parametersClément Foucault
The visuals was already implemented but we could not toggle them off.
2018-09-05Fix T56692: The edges are not highlighted in Mark Freestyle EdgeClément Foucault
This was not ported yet.
2018-08-23Rename: *_batch_cache_dirty > *_batch_cache_dirty_tagDalai Felinto
2018-08-10Cleanup: styleCampbell Barton
2018-08-09Fix trivial error in callsoc-2018-bevelRohan Rathi
2018-08-09Fixed custom shading not updating in Edit ModeRohan Rathi
2018-07-21Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-08Cleanup: rename 'ct' to 'len' for gawainCampbell Barton
2018-07-08Cleanup: rename 'ct' to 'len' for size varsCampbell Barton
2018-07-08Cleanup: abbreviate unsigned types (draw manager)Campbell Barton
2018-07-03Cleanup: typosCampbell Barton
2018-07-02Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-06-29Cleanup: Moar DM busting, mostly cleaning up MOD_utils.Bastien Montagne
2018-06-28Workbench: Fix crash editing in texture modes without uv layerJeroen Bakker
When meshes has no uv layer, but has a texture assigned there was a uv layer allocated which was corrupt. When no uv layer is available now there won't be a vbo created. This might impact performance as the draw cache does not cache this result.