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-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-06GPU: refactor clipped drawing from DRW into GPUCampbell Barton
Needed to fix T61196, supporting clipped back-buffer in the 3D view which is done outside the draw module. It was also inconvenient having DRW_shader_* versions of GPU_shader_* API calls. - Clipping distances are now supported as a shader configuration for builtin shaders. - Add shader config argument when accessing builtin shaders. - Move GPU_shader_create_from_arrays() from DRW to GPU.
2019-02-05Edit Mode: Fix loose edges edit mode normal display brokenClément Foucault
2019-02-05Edit Mesh: Fix some problem with new implementationClément Foucault
- Add manual depth offset to vertices and edges. - Revert to plain edge decoration. - Fix active edge coloring. - Remove active face display if not in face selection mode. - Add wide line support.
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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Color management: change view transform for color pickers and display modes.Brecht Van Lommel
* Use simple default view transform for color pickers, as Filmic does not work well for all types of colors. We better handle this with an option and tagging of colors as emissive or albedo like. * For solid/workbench we also no longer use Filmic, as there is not enough contrast and it's not really needed since this is not physically based lighting. * For lookdev always take into account the view transform and look. Other view settings like exposure are only taken into account if scene lighting is used, since these are often dependent on scene light intensity. Fixes T61022, T57649, T59363.
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-31Cleanup: add trailing commasCampbell Barton
Improve clang-format output.
2019-01-29DRW: support clipping for all lamp typesCampbell Barton
2019-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-28DRW: support clipping for object & lamp centersCampbell Barton
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-26Cleanup: draw manager headersCampbell Barton
2019-01-26Cleanup: redundant definesCampbell Barton
Comment or remove unused defines.
2019-01-26Cleanup: wrapper for built-in shader accessCampbell Barton
2019-01-26DRW: support clipping for empty objectCampbell Barton
2019-01-25Cleanup: remove duplicated shaders that only added clipping checksCampbell Barton
Originally I wanted to avoid adding draw manager specific ifdef's all over generic shaders however this isn't needed in so many places. Also there are shaders that are only used by the draw manager so duplicating them only to have the original unused doesn't make sense.
2019-01-24DRW: support clipping for camera objectsCampbell 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-24Cleanup: fix compiler warnings.Brecht Van Lommel
2019-01-24DRW: use clipping for depth bufferCampbell Barton
Object selection now supports clipping.
2019-01-24Correct doxy fileCampbell Barton
2019-01-24DRW: API for own versions of builtin GPU shadersCampbell Barton
DRW_shader_get_builtin_shader can replace GPU_shader_get_builtin_shader when we need to support clipping. Use this for loose point & wire drawing in object mode, clips edges in lattice edit mode.
2019-01-23Cleanup: comments above struct members, shader group assignmentsCampbell Barton
Avoid using pointer to pointer when building shader groups.
2019-01-233D View: draw clipping regionCampbell Barton
Only for workbench solid/wire modes.
2019-01-23Cleanup: use eGPU prefix for GPU enum typesCampbell Barton
2019-01-23DRW: generalize selecting between regular/clipped shadersCampbell Barton
Each engine was doing this on its own. Move to DRWContextState, use an enum.
2019-01-23Cleanup: add BEGIN/END to GPL headersCampbell Barton
2019-01-23DRW: only show hidden geometry when selection is usedCampbell Barton
Matches 2.7x behavior.
2019-01-22Cleanp: use single global for draw managerCampbell Barton
Add 'G_draw' for all draw manager globals, avoids adding extern to each file. Connection between `ts` and `globals_ubo` wasn't obvious, now called `G_draw.block` & `G_draw.block_ubo`.
2019-01-22Cleanup: use const argsCampbell Barton
2019-01-22DRW: Add DRW_shader_create_from_arrays utilityCampbell Barton
While verbose, this is a more flexible way to construct shaders. Libs & defines can be optionally included for each shader type which was previously done with inline string creation.
2019-01-21DRW: Fix corner indices order in clipping plane setupClément Foucault
Fix T60667: Eevee: reflection plane bug in rendered view.
2019-01-21Fix clipping shaders with some AMD/Intel driversCampbell Barton
Caused: error: unsized array index must be constant Use hard coded number of clipping planes, copying the 4th to 5 & 6 when only 4 are used.
2019-01-21DRW: Support wire overlay clippingCampbell Barton
2019-01-21Cleanup: rename terms count/num to lenCampbell Barton
2019-01-18DRW: Increase frustum culling precisionClément Foucault
Use normal_quad_v3 instead of normal_tri_v3 and compute the mean of all corner distance during frustum plane extraction. Fix T58243 Flickering of viewport when rotating and zooming
2019-01-18DRW: Fix assert when using draw debug APIClément Foucault
2019-01-17DRW: Make missing uniform debuging print only onceClément Foucault
2019-01-17DRW: Use name buffer to request uniform location before drawing.Clément Foucault
This is in order to avoid GL call during the "cache creation" phase and support multithreading.
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-15Cleanup: rename BASE_FROMDUPLI -> BASE_FROM_DUPLICampbell Barton
Matches `BASE_FROM_SET`.
2019-01-15Fix T60504: Armature wire draw type hidden when unselectedCampbell Barton