Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure background mode #443

Open
Tracked by #439
thomcom opened this issue Nov 17, 2022 · 0 comments
Open
Tracked by #439

Configure background mode #443

thomcom opened this issue Nov 17, 2022 · 0 comments

Comments

@thomcom
Copy link
Contributor

thomcom commented Nov 17, 2022

I'm considering having an alignment tool for background mode. Building this tool would help me work through the viewport alignment issue that I have now wherein scrolling doesn't follow the mouse cursor directly.

If I create a manual alignment tool for changing the background mode position, then the background world coordinates will be converted from hard coded values, specific to this image, to dynamic values that can be configured via text fields and interactive controls.

The two most likely methods for implementing this are:

  • display a new points layer with picking for the four corners of the background image.
  • allow the edges of the background image to be click/dragged.

The first method will allow for non-rectangular backgrounds, which is more desirable than clicking/dragging the background edge images. I'll investigate adding a new layer of control points and then computing their screen/world correspondence. This will make adjusting the background image relatively easy.

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

No branches or pull requests

1 participant