Skip to content

Fix transfer function textures with new renderer use#8

Merged
alxvth merged 12 commits into
mainfrom
feature/FixTexturesWithNewRenderer
Mar 27, 2026
Merged

Fix transfer function textures with new renderer use#8
alxvth merged 12 commits into
mainfrom
feature/FixTexturesWithNewRenderer

Conversation

@alxvth
Copy link
Copy Markdown

@alxvth alxvth commented Mar 27, 2026

Since the point renderer now handles navigation and translating world to screen coordinates a bit differently than was the case when this plugin was first implemented, the selections made in the transfer function plugin are now a bit offset.

Here we introduce some ROI transformation and small speed-ups in transfer function generation.

This fix does not yet account for view port changes due to navigation or widget resizing. Since we use _pointRenderer->getScreenPointToWorldPosition which already takes into account widget resizing and navigation changes this actually does work - I just hadn't tested it for the PR and assumed it would not.

@alxvth alxvth merged commit 5d908a2 into main Mar 27, 2026
3 of 5 checks passed
@alxvth alxvth deleted the feature/FixTexturesWithNewRenderer branch March 27, 2026 16:31
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.

1 participant