AuburnSounds / Dplug

Audio plugin framework. VST2/VST3/AU/AAX/LV2 for Linux/macOS/Windows.
https://dplug.org/
Other
484 stars 32 forks source link

UIImageKnob, store 2 downsampled source image in KnobImage #791

Open p0nce opened 1 year ago

p0nce commented 1 year ago

Perhaps the resizing algo is now a bit too aggro for Diffuse map. Best see in macOS, Auburn Sounds latest thing, PBR diffuse has slight halos. It has a blurry and "detached" look.

(EDIT: actually very annoying)

p0nce commented 11 months ago

I think this is instead due to UIImageKnob resampling twice. Slight blurry feel on Inner Pitch, the big knob on rotated knob, since it's resampling once for storing the image, and another one for displaying it. Wasteful!

p0nce commented 9 months ago
p0nce commented 9 months ago

In A/B unclear who wins between 1.3 oversampled baseline, vs direct cubic sampling. and for smaller size it's worse so we need resampling for smaller sizes.

Proper fix for that is: