Skip to content

Add configurable image interpolation - #16

Merged
pthom merged 3 commits into
pthom:masterfrom
hoanhle:feat/configurable-image-interpolation
Aug 14, 2026
Merged

Add configurable image interpolation#16
pthom merged 3 commits into
pthom:masterfrom
hoanhle:feat/configurable-image-interpolation

Conversation

@hoanhle

@hoanhle hoanhle commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Add ImageInterpolationMode to ImageParams so we can control texture sampling.

@hoanhle

hoanhle commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

@pthom Could you review and merge this? :0

@pthom

pthom commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Thanks a lot for your PR! It is interesting and I will study it.
However, I will need a few days as i am on holiday
thanks!

@hoanhle

hoanhle commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

@pthom Thank you : ) No rush of course, enjoy your holiday!

hoanhle and others added 3 commits August 14, 2026 11:11
…ling mode

Since imgui 1.92.8, renderer backends control the sampling mode.

Introduced IMMVISION_SETSAMPLER_VIA_IMGUI (for imgui >= 1.92.8). The legacy SetTextureFiltering path is kept as a runtime fallback for backends that do not provide the
sampler draw callbacks.
@pthom
pthom force-pushed the feat/configurable-image-interpolation branch from a737281 to 3d8850d Compare August 14, 2026 10:03
@pthom

pthom commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Once again, thanks a lot for your PR :-)

I did a few changes to it before merging:

  • Add radio buttons to control this in the options panel
  • Handle imgui >= 1.92.8 where backends now control the sampling mode

Merging now. Thanks!

Cheers

@pthom
pthom merged commit fea5cf2 into pthom:master Aug 14, 2026
@pthom

pthom commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Note: this will also be included in the next release of imgui bundle (1.92.900, which will be out shortly)

@hoanhle

hoanhle commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

@pthom Thank you for awesome repos (including imgui bundle)! : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants