Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-31 | Cleanup: add trailing commas | Campbell Barton | |
Improve clang-format output. | |||
2019-01-29 | DRW: support clipping for all lamp types | Campbell Barton | |
2019-01-29 | Cleanup: replace attrib w/ attr | Campbell Barton | |
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related. | |||
2019-01-28 | DRW: support clipping for object & lamp centers | Campbell Barton | |
2019-01-28 | Cleanup: sort forward declarations of enum & struct | Campbell Barton | |
Done using: source/tools/utils_maintenance/c_sort_blocks.py | |||
2019-01-26 | Cleanup: blank lines over doxy headers | Campbell Barton | |
2019-01-26 | Cleanup: remove redundant BKE/BLI/BIF headers | Campbell Barton | |
2019-01-26 | Cleanup: draw manager headers | Campbell Barton | |
2019-01-26 | Cleanup: redundant defines | Campbell Barton | |
Comment or remove unused defines. | |||
2019-01-26 | Cleanup: wrapper for built-in shader access | Campbell Barton | |
2019-01-26 | DRW: support clipping for empty object | Campbell Barton | |
2019-01-25 | Cleanup: remove duplicated shaders that only added clipping checks | Campbell 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-24 | DRW: support clipping for camera objects | Campbell Barton | |
2019-01-24 | Cleanup: add missing braces to draw manager | Campbell Barton | |
2019-01-24 | Fix T60810: crash editing mesh with subdivision modifier | Philipp Oeser | |
typo in rBdc7e49298940 Reviewers: fclem Maniphest Tasks: T60810 Differential Revision: https://developer.blender.org/D4244 | |||
2019-01-24 | Cleanup: fix compiler warnings. | Brecht Van Lommel | |
2019-01-24 | DRW: use clipping for depth buffer | Campbell Barton | |
Object selection now supports clipping. | |||
2019-01-24 | Correct doxy file | Campbell Barton | |
2019-01-24 | DRW: API for own versions of builtin GPU shaders | Campbell 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-23 | Cleanup: comments above struct members, shader group assignments | Campbell Barton | |
Avoid using pointer to pointer when building shader groups. | |||
2019-01-23 | 3D View: draw clipping region | Campbell Barton | |
Only for workbench solid/wire modes. | |||
2019-01-23 | Cleanup: use eGPU prefix for GPU enum types | Campbell Barton | |
2019-01-23 | DRW: generalize selecting between regular/clipped shaders | Campbell Barton | |
Each engine was doing this on its own. Move to DRWContextState, use an enum. | |||
2019-01-23 | Cleanup: add BEGIN/END to GPL headers | Campbell Barton | |
2019-01-23 | DRW: only show hidden geometry when selection is used | Campbell Barton | |
Matches 2.7x behavior. | |||
2019-01-22 | Cleanp: use single global for draw manager | Campbell 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-22 | Cleanup: use const args | Campbell Barton | |
2019-01-22 | DRW: Add DRW_shader_create_from_arrays utility | Campbell 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-21 | DRW: Fix corner indices order in clipping plane setup | Clément Foucault | |
Fix T60667: Eevee: reflection plane bug in rendered view. | |||
2019-01-21 | Fix clipping shaders with some AMD/Intel drivers | Campbell 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-21 | DRW: Support wire overlay clipping | Campbell Barton | |
2019-01-21 | Cleanup: rename terms count/num to len | Campbell Barton | |
2019-01-18 | DRW: Increase frustum culling precision | Clé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-18 | DRW: Fix assert when using draw debug API | Clément Foucault | |
2019-01-17 | DRW: Make missing uniform debuging print only once | Clément Foucault | |
2019-01-17 | DRW: 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-17 | Fix T60545: Buffer overflow in selection batch creation | Clément Foucault | |
Use loose_edges and loose_verts buffer instead of detecting them manually. | |||
2019-01-17 | Cleanup: de-duplicate loose vert/edge checks | Campbell Barton | |
2019-01-17 | Fix T60578: Crash selecting after hiding vertices | Campbell Barton | |
2019-01-15 | Cleanup: rename BASE_FROMDUPLI -> BASE_FROM_DUPLI | Campbell Barton | |
Matches `BASE_FROM_SET`. | |||
2019-01-15 | Fix T60504: Armature wire draw type hidden when unselected | Campbell Barton | |
2019-01-15 | Edit Mesh: Improve selected double vertices visibility | Clément Foucault | |
The issue is that the edge fix geometry goes on top of the actual drawn points. This commit reduce the edge fix size to the strict minimum but does not get rid of it. Related to T60139 | |||
2019-01-15 | Fix T59482: Creating 2 Particle systems breaks the app | Clément Foucault | |
2019-01-14 | Fix T60476 Loose vertices only partially drawn | Clément Foucault | |
Was caused by a missing vbo attachement. Also fix said Vbo refreshing when selecting. | |||
2019-01-14 | Fix T60332: Lattice objects do not display properly in Edit mode | Clément Foucault | |
This was caused by wires not having alpha by default, making them disapear with MSAA. | |||
2019-01-12 | Drawing API: shgroup_instance and shgroup_instance_alpha clarification | Dalai Felinto | |
shgroup_instance_alpha was getting a color[4] but would only use the alpha defined upon creation of the shading group. This was very limiting since it wouldn't allow for different instances to have different alpha values. Patch made with Clément Foucault (he made the code of it, while I fixed all the parts of the code that were relying on shgroup_instance_alpha. | |||
2019-01-11 | EditUV: Only clear data VBO when selection changes | Clément Foucault | |
This is a small optimisation that make UV selection faster. | |||
2019-01-11 | Fix T59990: Crash when entering edit mode with skin modifier enabled | Clé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-11 | UVEdit: Port texpaint_loop_wire to batch request | Clé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-11 | UVEdit: Add back uv angle stretch aspect correction | Clément Foucault | |
This is now done in shader so that the batches are shared across ImageUV areas. |