Aras Pranckevicius aras_p
Aras Pranckevicius pushed to text-shadow-contrast at aras_p/blender 2024-05-03 09:44:43 +02:00
8a302367c4 BLF: add "outline" font shadow type, use enum for shadow types
77088a702e Cleanup: BLF glyph_mode vertex attribute was not used at all
9a75b82ec4 WIP: UI: Automatic Text Contrast for Overlays
Compare 3 commits »
Aras Pranckevicius created branch text-shadow-contrast in aras_p/blender 2024-05-03 09:44:43 +02:00
Aras Pranckevicius closed pull request blender/blender#121222 2024-05-03 08:37:23 +02:00
BLF: fade out shadow when text color itself is dark
Aras Pranckevicius commented on pull request blender/blender#121222 2024-05-03 08:37:21 +02:00
BLF: fade out shadow when text color itself is dark

Closing this in favor of #121239

Aras Pranckevicius pushed to srgb_simd_scalar at aras_p/blender 2024-05-02 21:41:35 +02:00
6851f608c4 BLI: _bli_math_blend_sse can use fewer hoops on SSE4
aaef497963 Tests: update srgb<->linear test expectations
Compare 2 commits »
Aras Pranckevicius created pull request blender/blender#121368 2024-05-02 21:08:49 +02:00
BLI: Make color sRGB<->Linear non-SIMD fallback path use the same approximation
Aras Pranckevicius created branch srgb_simd_scalar in aras_p/blender 2024-05-02 21:04:45 +02:00
Aras Pranckevicius pushed to srgb_simd_scalar at aras_p/blender 2024-05-02 21:04:45 +02:00
5bf1a8391e BLI: make non-SIMD srgb<->linear path use the same approximation as SIMD one
8631909985 BLI: make srgb_to_linearrgb_v3_v3 and linearrgb_to_srgb_v3_v3 non-inlined
570b76f600 Enable sse2neon in BLI_simd except for hydra/USD
39f0e3c0f4 UI: Remove more use of brush tool type icons in enum
fd5a790f36 UI: Remove icon usage in brush tool RNA enums
Compare 10 commits »
Aras Pranckevicius commented on pull request blender/blender#121239 2024-05-02 19:54:57 +02:00
WIP: UI: Automatic Text Contrast for Overlays

At the very least that default_shadowed thing could go away but unsure of how. Using our current shadow width would simple - using this a “1”?

Right now in my hacky code it is "6". TBH I…

Aras Pranckevicius commented on pull request blender/blender#121239 2024-05-02 10:45:34 +02:00
WIP: UI: Automatic Text Contrast for Overlays

What I have now looks like this:

image image ![image](/attachments/2f46c5f2-0a43-499…

Aras Pranckevicius commented on issue blender/blender#121312 2024-05-01 21:00:40 +02:00
Result mismatch between SSE and non-SSE codepaths

We fix the code to give the same results for both C and SIMD

I'll assign this to myself in order to do this bit.

Aras Pranckevicius deleted branch blf_cleanup_matrix from aras_p/blender 2024-05-01 20:59:24 +02:00
Aras Pranckevicius pushed to main at blender/blender 2024-05-01 20:59:21 +02:00
877558858b Cleanup: Remove unused BLF matrix functionality
Aras Pranckevicius merged pull request blender/blender#121207 2024-05-01 20:59:21 +02:00
Cleanup: Remove unused BLF matrix functionality
Aras Pranckevicius deleted branch blf_blur_cleanup from aras_p/blender 2024-05-01 07:17:23 +02:00
Aras Pranckevicius pushed to main at blender/blender 2024-05-01 07:17:21 +02:00
13dcb30b79 Cleanup: Remove unused BLF_BLUR_ENABLE code path
Aras Pranckevicius merged pull request blender/blender#121270 2024-05-01 07:17:20 +02:00
Cleanup: Remove unused BLF_BLUR_ENABLE code path
Aras Pranckevicius commented on pull request blender/blender#121239 2024-04-30 20:34:29 +02:00
WIP: UI: Automatic Text Contrast for Overlays

is that we communicate the shadow size in a weird way to the shader Yes it is weird, and could be done in a much nicer way. All that "pass extra bits via negative numbers" sounds like very…

Aras Pranckevicius commented on pull request blender/blender#121239 2024-04-30 20:05:06 +02:00
WIP: UI: Automatic Text Contrast for Overlays

I could try implementing an "outline" part of the text shader, which is not that different from a 5x5 blur, just with somewhat different weights. I'll play around with that and will report back, ok?