Transparency limited by rounding issues while rendering 2D plots in MATLAB
显示 更早的评论
I've found that 2D plot rendering calculations for transparency seem to suffer from an integer rounding issue. My guess is that this is an issue with the Matlab implementation, as the behavior occurs for both Painters and OpenGL renderers.
I expect that a sufficiently large number of overlapping transparent dots of a color should look the same as an opaque dot of the same color.
Yet, while attempting to visualize the density of point clouds using point transparency, I found that the color never saturated, no matter how dense the point cloud. Instead, the "final" color reached depended on the alpha of the dots, which it should not.
Please see this post for full details and example code:
Is there an explanation for this behavior?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!