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-02-05Edit Mode: Fix loose edges edit mode normal display brokenClément Foucault
2019-02-05Edit Mesh: Refactor Edit cage drawing to use old style drawingClément Foucault
This is work in progress. Look is not final. This align data VBO data structure used for edti cage drawing to the one use for normal drawing. We no longer use barycentric coords to draw the lines an just rasterize line primitives for edge drawing. This is a bit slower than using the previous fast method but faster than the "correct" (edge artifact free) method. This also make the code way simpler. This also makes it possible to reuse possible and normal vbos used for shading if the edit cage matches the This also touches the UV batch code to share as much render data as possible. The code also prepare for edit cage "modified" drawing cage (with modifier applied) but is not enabled since selection and operators does not work with modified cage yet.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: draw manager headersCampbell Barton
2019-01-24Cleanup: add missing braces to draw managerCampbell Barton
2019-01-24Fix T60810: crash editing mesh with subdivision modifierPhilipp Oeser
typo in rBdc7e49298940 Reviewers: fclem Maniphest Tasks: T60810 Differential Revision: https://developer.blender.org/D4244
2019-01-17Fix T60545: Buffer overflow in selection batch creationClément Foucault
Use loose_edges and loose_verts buffer instead of detecting them manually.
2019-01-17Cleanup: de-duplicate loose vert/edge checksCampbell Barton
2019-01-17Fix T60578: Crash selecting after hiding verticesCampbell Barton
2019-01-14Fix T60476 Loose vertices only partially drawnClément Foucault
Was caused by a missing vbo attachement. Also fix said Vbo refreshing when selecting.
2019-01-11EditUV: Only clear data VBO when selection changesClément Foucault
This is a small optimisation that make UV selection faster.
2019-01-11Fix T59990: Crash when entering edit mode with skin modifier enabledClément Foucault
The skin modifier does not keep the UV layers. This just add a safety check when there is no UV layers.
2019-01-11UVEdit: Port texpaint_loop_wire to batch requestClément Foucault
This removes code duplication and put an end to the old "create at request" batch creation. Also it uses the same vbo as the uv layer used for shading. Reducing VRAM usage. Also fixes the modified uv display in uv edit mode.
2019-01-11UVEdit: Add back uv angle stretch aspect correctionClément Foucault
This is now done in shader so that the batches are shared across ImageUV areas.
2019-01-11UVEdit: Port batches to batch requestClément Foucault
This is in order to allow more spaces to have their batches created at the same time and sharing the batches. This is part of the effort fo making the drawing code more optimized. This commit however should not introduce any difference. This commit bypass the aspect ratio correction for angle stretch display but this should be fixed in the next commit.
2019-01-11Mesh Batch Cache: Cleanup UnusedClément Foucault
2019-01-11Mesh Selection: Port to batch cache requestClément Foucault
This makes it more future proof and remove baked id offset inside the vbos. Instead we add the offset as a uniform. This makes it possible to reuse the vbos instead of discarding them all the time. Also using batch request may reduce batches creation time.
2019-01-11Mesh Batch Cache: Fix wrong assertClément Foucault
2019-01-11Mesh Batch Cache: Put context evaluation out of batch cacheClément Foucault
This is in order to be able to call DRW_mesh_batch_cache_create_requested outside of the draw manager
2019-01-08Fix T56545: Material referencing missing UV crashCampbell Barton
2018-12-30Cleanup: warnings (clang)Campbell Barton
2018-12-21Cleanup: macro hygiene, line lengthCampbell Barton
2018-12-21Mesh Batch Cache: Fix missing flag for looptris indexbuf generationClément Foucault
Fix T59637: Crash report - Overlays -> Face Orientation causes crash
2018-12-20Mesh Batch Cache: Fix uninitialized loop variableClément Foucault
2018-12-19Fix T59578: enabling "vertex group weights" in edit mode results in crashClément Foucault
2018-12-19Mesh Batch Cache: Port loose_edges to batch requestClément Foucault
2018-12-19Mesh Batch Cache: Cleanup / Reorder function for more consistencyClément Foucault
2018-12-18Mesh Batch Cache: Port edge_detection to batch requestClément Foucault
Also add proper support for mapped meshes (deformed by modifiers in edit mode). So this fixes the shadows of workbench in edit mode.
2018-12-18DRW: Cleanup / Renaming of mesh batch cache functionsClément Foucault
THis is in order to avoid the jungle of names being different at each step of the API. Also removes some unused functions.
2018-12-18Mesh Batch Cache: Port all_edges batch to batch requestClément Foucault
2018-12-18Fix T59529: Auto smooth not workingClément Foucault
2018-12-18Mesh Batch Cache: Port vertex paint surface to batch requestClément Foucault
2018-12-18Mesh Batch Cache: Port weight paint surface to batch requestClément Foucault
2018-12-18Weight Paint Overlay: Refactor wire drawingClément Foucault
This reduce the number of batch/data needed. Stores a select/visiblee flag inside the vert/loop normals.
2018-12-17Fix error when Blender starts - variable not initializatedAntonioya
2018-12-17Mesh Batch Cache: Port Texture paint wires to new batch requestClément Foucault
2018-12-17Mesh Batch Cache: Port Texture paint batches to new batch requestClément Foucault
2018-12-17Mesh Batch Cache: Optimization & Refactor shaded surface supportClément Foucault
This now only upload data per loops to the GPU, making use of index buffer to draw polygon. This make use of the vertex cache, speed up renders and saves a lot of vram. Update performance is also slightly faster and can even be improved further by updating only uvs or vcol independently. This commits breaks texture paint batches. It will be added back in another commit.
2018-12-14Curve Batch Cache: Add support for loose edges and curve/surf modifierClément Foucault
Fixes T58298 Nurbs circle and curve dont draw in objectmode Fixes T58107 Modified curves/surfaces/fonts do not show their eval mesh
2018-12-14Curve Batch Cache: Rework Implementation to use new batch requestClément Foucault
Shaded triangles are not yet implemented (request from gpumaterials). This also changes the mechanism to draw curve normals to make it not dependant on normal size display. This way different viewport can reuse the same batch.
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Fix T59234: Crash when enter in Edit modeClément Foucault
Edit mode triangles does always need to have access to faces for visibility and select/active flags.
2018-12-12Mesh Batch Cache: Fix crash when using edit mode normal display.Clément Foucault
2018-12-12Fix T59211: Edit-mesh display crashesCampbell Barton
Caused by ae1f563899de4
2018-12-11Cleanup: use BKE_object_* prefix for object APICampbell Barton
Also minor style cleanup.
2018-12-10Edit Mesh: Draw inner edge selected in vert edit mode if both verts selectedClément Foucault
This only make the edge fully selected. There is still no gradient like in 2.79 when only one vertex is selected.
2018-12-10DRW: Batch Cache: Mesh: Port edit mesh batches to batch request methodClément Foucault
This also do some renaming/cleanups.
2018-12-10DRW: Batch Cache: Mesh: Port more batches to batch request methodClément Foucault