-
Notifications
You must be signed in to change notification settings - Fork 45
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
L16 images render as black until edit panel is open #613
Comments
Do you know the min and max pixel values in your L16 images? |
Oh, that could be a possibility. I am testing Dicom support and they could be out of visual range. I am not sure, but even if that was the case I don't know if converting them to rgba8 would compress them into 8bit per channel so they become visible - not sure if |
Okay, I checked it up: Will look more deeply into in the evening. I think it's linked to the texture type. R16 is missing, so I used R16Uint I suggest a 2 level fix:
I'm still kinda a newbie to rust. Is there an option to clone notan from github and use that source code directly to compile oculante with it? So I would have a good setup to test everything together :) |
Thank you so much! |
You're welcome!
Do you maybe have some hints for me? :) |
We were actually just discussing this the other day as Notan is behind in egui version which seems to be a bit of an annoyance. I emailed the dev a day or two ago asking about the status of updates in Notan since the entire repo seems to be quite inactive since around September. I will get back to you as well on this if I get a response! |
@B-LechCode Good news! Notan is still actively being developed, the creator is just focusing on some other things at the moment. If you had a PR in mind on Notans side, it should be fine to do so! |
Describe the bug
I suspect there is an issue with the texture / display of L16 images. It works if the edit panel is open and a Rgba8 operator is automatically added.
Tagging @B-LechCode for visibility.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots / sample files
If applicable, add screenshots to help explain your problem. You can also attach problematic images here to help test the bug. Please pay attention to image copyright.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: