The second example is a triangle with middle level of opacity in a white background. The content is visible behind the triangle. If the background is changed to any other color, the background also becomes translucent (can’t upload the code since I’m a new user but it is similar in structure to the Cylinder example but the actor has an opacity value).
At this point I do not know if I did something wrong or it’s something else. Any guidance will be helpful!
Thanks,
Ariel.
Hi Ben, Yes, it is Linux. The system is running on a VM so the video card and drivers are recognized for VM, but it was reproducible in other machines with Centos 7. BTW the problem happened with mesa 17 and 20.
This seems to be a Mesa/driver bug to me. Could to submit the information to the Mesa developers? I wonder if the VM is also doing weird things here. Feel free to link to it from here so others can follow along if they want.
This happens with x11 on Linux. The workaround: skip ARGB visuals,
export XLIB_SKIP_ARGB_VISUALS=1
But now, you won’t have alpha blending. A workaround: use a discrete GPU with drivers and avoid mesa. I’m not sure if there’s any other way around it other than hacking vtkXOpenGLRenderWindow somewhere around this line and here.
Check this for details if you choose to go down that road.
Could be an out-of-date Mesa as well (or a new bug I suppose!). I don’t think we’ve noticed it with 18.2.2, but that isn’t the newest release by a long shot.
Thanks for the workaround tips. I will evaluate if it is necessary to modify VTK. If I submit the information to Mesa devs, I will link it so other users can follow what is happening.
Thanks!