OpenGL: Is overlapping predictable and consistent phenomena?

This may be a weird question, but I need to know if the OpenGL method with the aliases of the edge of the drawn geometry (polygons, lines, etc.) is “consistent”, that is, it looks the same on different platforms / equipment.

Aliasing in this case is sharp edges, which the purpose of “smoothing” is to remove. However, I want aliasing and would like to use it for animation techniques for which the smoothing effect should be a perfect pixel (for effects like sprite). Is it possible or impossible to predict how it will be displayed on different computers?

+4
source share
1 answer

No, it is not. To quote the specification (any version, Appendix A: Invariance):

The OpenGL specification is not an exact pixel . Therefore, it does not guarantee an exact match between images created by various GL implementations. However, the specification specifies exact matches, in some cases, for images created using the same implementation.

Therefore, changes are possible. Also think that some graphics drivers allow the user to force smoothing by overriding application settings.

+6
source

All Articles