Transparency limited by rounding issues while rendering 2D plots in MATLAB
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!