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

column density texture doesn't resize with window #170

Open
agurvich opened this issue Feb 13, 2023 · 0 comments
Open

column density texture doesn't resize with window #170

agurvich opened this issue Feb 13, 2023 · 0 comments
Labels

Comments

@agurvich
Copy link
Collaborator

this leads to pixelation of image if app is started in small window and window is made full screen.

image

it seems to only be an issue with the projection (thank you @ageller for the suggestion) and so it's probably that the texture buffer is initialized to the window size at app startup and never changes. Should (hopefully?) be an easy fix:

  • create a function that will destroy + create the texture buffer
  • call it at startup
  • call it on window resize
    • if that doesn't work because performance or something just call it when the box is checked.
@agurvich agurvich added the bug label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant