python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
glReadPixel return fault result
I want to do the 3D-picking on OpenGl by the way of frame pick. On this way I need to use glReadPixel to get some information of the pixels on the screen currently, so I test it on the following way ...
ZjuTh
Votes: 0
Answers: 1
Open GL Depth and Alpha issues
I am rendering two triangles in GL. The bottom two vertices of each have a set alpha value to make them transparent. I am using Depth testing and Alpha blending defined by the following calls
glEnable...
Śaeun acreáť
Votes: 0
Answers: 2
Drawing A triangle with SDL2 and OpenGL
I am trying to make a game in C++ and using SDL2 with OpenGL.
When I try to draw a simple triangle to the opengl context with GLEW nothing is showing up. I haven't used opengl before.
Here is my code:...
Aries
Votes: 0
Answers: 1
sRGB vs bits per component
OpenGL defines the following internal formats for sRGB color space:
GL_SRGB
GL_SRGB8
GL_SRGB_ALPHA
GL_SRGB8_ALPHA8
Could you please explain why there are no sRGB/sRGBA equivalents for formats with ot...
Irbis
Votes: 0
Answers: 1