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-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-26DRW: support clipping for empty objectCampbell Barton
2019-01-24DRW: support clipping for camera objectsCampbell Barton
2019-01-23Cleanup: add BEGIN/END to GPL headersCampbell Barton
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-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-15Cleanup: rename BASE_FROMDUPLI -> BASE_FROM_DUPLICampbell Barton
Matches `BASE_FROM_SET`.
2019-01-15Edit Mesh: Improve selected double vertices visibilityClé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-12Drawing API: shgroup_instance and shgroup_instance_alpha clarificationDalai 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-113D View: fade out dupli-wire color 70%Campbell Barton
2019-01-113D View: use faded wire for set-scene objectsCampbell Barton
Matches 2.7x behavior.
2019-01-11Cleanup: blend existing colorsCampbell Barton
2019-01-11Fix background color use in 3D viewCampbell 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-103D View: use faded color for dupli instance wire & pointsCampbell Barton
Similar to 2.7x, so instanced geometry can be differentiated.
2018-12-18Fix edit-mode wire color being used for other objectsCampbell Barton
2018-12-14Wireframe: Fix wireframe color in edit mode for surfacesClément Foucault
2018-12-11DRW: Fix redundant texture creationClément Foucault
2018-12-11DRW: Deprecate / Remove DRW_STATE_STIPPLE_*Clément Foucault
This was unused and used the old drawing paradygm
2018-12-10Edit Mesh: Make "fresnel effect" not transparent but mix between 2 colorsClément Foucault
Alpha blending is causing too many issues. Revert back to something simpler.
2018-11-02Armature: Fix stick bones not scaling with pixel sizeClément Foucault
2018-10-03Pose Mode: Add back IK Degrees of freedom displayClément Foucault
2018-10-03Cleanup: styleCampbell Barton
2018-10-01Cleanup: styleCampbell Barton
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-26Edit Surface: Use edit curve engine to display edit surfaceClément Foucault
It's so similar in practice that we don't need a separate engine for edit surface overlays.
2018-09-14Object Mode: Make Flat object outline visible in orthographic viewClément Foucault
2018-09-11DRW: Convert common theme color to linear for viewport renderClé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-05Fix T56692: The edges are not highlighted in Mark Freestyle EdgeClément Foucault
This was not ported yet.
2018-09-04Cleanup: overly polite/rude messagesCampbell Barton
2018-08-303D View: scale edit-mesh drawing by pixel sizeCampbell Barton
2018-08-27Revert "DRW: Remove unecessary GL calls"Clément Foucault
This reverts commit f8c857ad72e29eb509bd04067f94cd3df8a54aa4.
2018-08-27DRW: Remove unecessary GL callsClément Foucault
2018-08-22Object Mode: Add back spot cone displayClément Foucault
2018-08-22Cleanup: styleCampbell Barton
2018-08-17Object Mode: Use same empty (arrow) drawing as the bone axes displayClément Foucault
2018-08-17Cleanup: Remove unused uniform and UBO.Clément Foucault
2018-07-30Armature: Fix bone always transparent when enabling MSAAClément Foucault
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-16Smoke: Port display to Workbench + object modeClé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-01Cleanup: use '_len' suffix for line stippleCampbell Barton
2018-07-013D View: use 3px dashed relationship lineCampbell Barton
Seems this was accidentally doubled from 2.7x?
2018-06-19Revert: EditMode Inactive edge drawingJeroen Bakker
Did it manually as there was some refactoring done that has value
2018-06-15Edit Mesh: tweak vertex size & edge widthCampbell 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-13Cleanup: unused varCampbell Barton
2018-06-13T55456: EditMode DrawingJeroen Bakker
- Hide facedots, except when in V3D_ZBUF_SELECT mode `use_occluded_geometry` - Different theme (wire_inactive) when not in edge selection mode