-
Notifications
You must be signed in to change notification settings - Fork 13
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
transparency does not work for text #396
Comments
@doutriaux1 I must be missing something here. Which property on the |
the color |
But then how does setting the color to "blue" do that? |
oh sorry probably was a bad copy/paste job 😆 txt.color = [0,0,100,50] |
BTW txt.color = [0,0,100,0] Does make it go away |
Ah, gotcha. I've played with it now, and it seems that VTK expects a floating point number between 0 and 1. If you try with 0.5, you'll see it's working. So it's just a matter of knowing what the user is expected to input and mapping that into [0.0, 1.0] properly. Looks like the rest of the color components are expected to be given by the user in the range [0, 100]? |
in isofill test double check but i'm pretty sure the opacity is sent from user in the 0-100 range as well |
let's ,make it uniform |
I'll put together a PR for it. |
thx |
The text was updated successfully, but these errors were encountered: