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-26 | DRW: support clipping for empty object | Campbell Barton | |
2019-01-24 | DRW: support clipping for camera objects | Campbell Barton | |
2019-01-23 | Cleanup: add BEGIN/END to GPL headers | Campbell Barton | |
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-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-15 | Cleanup: rename BASE_FROMDUPLI -> BASE_FROM_DUPLI | Campbell Barton | |
Matches `BASE_FROM_SET`. | |||
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-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 | 3D View: fade out dupli-wire color 70% | Campbell Barton | |
2019-01-11 | 3D View: use faded wire for set-scene objects | Campbell Barton | |
Matches 2.7x behavior. | |||
2019-01-11 | Cleanup: blend existing colors | Campbell Barton | |
2019-01-11 | Fix background color use in 3D view | Campbell Barton | |
TH_BACK was being used when drawing the 3D view even though there was no way to set the color in the preferences. The color was zero'd when moving to the new 2.8x theme. Having both gradient and background colors was confusing, especially having to use 'TH_HIGH_GRAD' for the 3D view, 'TH_BACK' for other views. Move the background color back to 'TH_BACK', 'TH_BACK_GRAD' is used when gradients are enabled. RNA is unchanged so presets don't need updating. | |||
2019-01-10 | 3D View: use faded color for dupli instance wire & points | Campbell Barton | |
Similar to 2.7x, so instanced geometry can be differentiated. | |||
2018-12-18 | Fix edit-mode wire color being used for other objects | Campbell Barton | |
2018-12-14 | Wireframe: Fix wireframe color in edit mode for surfaces | Clément Foucault | |
2018-12-11 | DRW: Fix redundant texture creation | Clément Foucault | |
2018-12-11 | DRW: Deprecate / Remove DRW_STATE_STIPPLE_* | Clément Foucault | |
This was unused and used the old drawing paradygm | |||
2018-12-10 | Edit Mesh: Make "fresnel effect" not transparent but mix between 2 colors | Clément Foucault | |
Alpha blending is causing too many issues. Revert back to something simpler. | |||
2018-11-02 | Armature: Fix stick bones not scaling with pixel size | Clément Foucault | |
2018-10-03 | Pose Mode: Add back IK Degrees of freedom display | Clément Foucault | |
2018-10-03 | Cleanup: style | Campbell Barton | |
2018-10-01 | Cleanup: style | Campbell Barton | |
2018-09-27 | Implement 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-26 | Edit Surface: Use edit curve engine to display edit surface | Clément Foucault | |
It's so similar in practice that we don't need a separate engine for edit surface overlays. | |||
2018-09-14 | Object Mode: Make Flat object outline visible in orthographic view | Clément Foucault | |
2018-09-11 | DRW: Convert common theme color to linear for viewport render | Clément Foucault | |
This is not 100% correct (it should use a transfer function depending on the display profile) but this is already much better than using srgb. | |||
2018-09-05 | Fix T56692: The edges are not highlighted in Mark Freestyle Edge | Clément Foucault | |
This was not ported yet. | |||
2018-09-04 | Cleanup: overly polite/rude messages | Campbell Barton | |
2018-08-30 | 3D View: scale edit-mesh drawing by pixel size | Campbell Barton | |
2018-08-27 | Revert "DRW: Remove unecessary GL calls" | Clément Foucault | |
This reverts commit f8c857ad72e29eb509bd04067f94cd3df8a54aa4. | |||
2018-08-27 | DRW: Remove unecessary GL calls | Clément Foucault | |
2018-08-22 | Object Mode: Add back spot cone display | Clément Foucault | |
2018-08-22 | Cleanup: style | Campbell Barton | |
2018-08-17 | Object Mode: Use same empty (arrow) drawing as the bone axes display | Clément Foucault | |
2018-08-17 | Cleanup: Remove unused uniform and UBO. | Clément Foucault | |
2018-07-30 | Armature: Fix bone always transparent when enabling MSAA | Clément Foucault | |
2018-07-18 | GWN: Port to GPU module: Replace GWN prefix by GPU | Clément Foucault | |
2018-07-16 | Smoke: Port display to Workbench + object mode | Clément Foucault | |
This does not fix the smokesim. It only port the drawing method. The Object mode engine is in charge of rendering the velocity debugging. Things left to do: - Flame rendering. - Color Ramp coloring of volume data. - View facing slicing (for now it's only doing sampling starting from the volume bounds which gives a squarish look) - Add option to enable dithering (currently on by default. | |||
2018-07-01 | Cleanup: use '_len' suffix for line stipple | Campbell Barton | |
2018-07-01 | 3D View: use 3px dashed relationship line | Campbell Barton | |
Seems this was accidentally doubled from 2.7x? | |||
2018-06-19 | Revert: EditMode Inactive edge drawing | Jeroen Bakker | |
Did it manually as there was some refactoring done that has value | |||
2018-06-15 | Edit Mesh: tweak vertex size & edge width | Campbell Barton | |
- Vertex size now matches the theme setting. - Edge width is closer to a single pixel line. - Face dot was scaled up to be drawn as a circle, but is currently a square. | |||
2018-06-13 | Cleanup: unused var | Campbell Barton | |
2018-06-13 | T55456: EditMode Drawing | Jeroen Bakker | |
- Hide facedots, except when in V3D_ZBUF_SELECT mode `use_occluded_geometry` - Different theme (wire_inactive) when not in edge selection mode |