EN VI
Posts (0)
Questions (3)
2024-03-10 23:00:04
If N_EBOS is 15, more than 1 that is, then the second argument of glGenBuffers must point to the first item of the array of at least this size, otherwise you'll get a buffer overflow. ::std::array ebo...
Tags: c++ opengl
2024-03-15 23:00:12
Yes. (see https://registry.khronos.org/OpenGL/specs/gl/glspec46.core.pdf#page=166&zoom=100,168,308) from rule 9 and 10 for std430: If the member is an array of S structures, the base alignment of the...
Tags: c++ opengl glsl
2024-03-16 23:00:09
In immediate mode OpenGL, glColor, glNormal, glTexCoord and so on are all per-vertex attributes. Their values are interpolated between vertices. You can simply do this: glBegin(GL_LINES) for edge in e...
Tags: python opengl

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login