opengl
OpenGL left-handed coordinate system
I\'m writing a 3D OpenGL app and I\'m having problems with my vertex translation matrix. Here\'s my vertex shader:[详细]
2023-04-11 21:47 分类:问答Getting nearest focused object in opengl
I\'m making a minecraft-inspired game through Java LWJGL, which is heavy into development already. However, I am not quite sure what method I would use to pick/highlight the nearest block in t开发者_运[详细]
2023-04-11 17:11 分类:问答Phonon's VideoWidget show wrong colors on a QGLWidget (Qt, Python)
I have a pet project that contains a videoplayer with a feature to display subtitles. Until now I was working on the other parts of my project, but now I have to implement the subtitle rendering part,[详细]
2023-04-11 16:39 分类:问答OpenGL compiling issues
I am using Visual Studio C++ and GLEW. The Project Settings are all set (Includes/Libs). MenuState.obj : error LNK2001: unresolved external symbol __imp____glewUseProgramObjectARB[详细]
2023-04-11 16:19 分类:问答Fix my opengl rendering function
I\'m using this as a portion of a rendering function for my lwjgl game. It doesn\'t render anything to the screen, but I can\'t figure out what\'s messed up. The program already draws an advanced worl[详细]
2023-04-11 14:33 分类:问答OpenGL lighting and shading on a GL_QUAD_STRIP
New to OpenGL, trying to imp开发者_运维百科lement a sphere with shading and lighting.I am aware that there is a sphere function I could call on, but trying to create my own.However, while I can get li[详细]
2023-04-11 13:14 分类:问答OpenGL/GLSL - Writing A Smart Texture Shader
Let\'s say my texture is 256x256 pixel. It contains 16 sub-textures of 64x64 pixel. The sub-textures are to be rendered to quads. To increase performance I want to pass discrete values to the shader w[详细]
2023-04-11 12:15 分类:问答glVertexPointer invalid operation
I\'m having rather strange problem with OpenGL. When I try to use glVertexPointer with no buffer bound to GL_ARRAY_BUFFER and using Vertex Array Object(VAO), it generates invalid operation error. This[详细]
2023-04-11 12:00 分类:问答Projecting a 3D point to 2D screen coordinate OpenTK
Using Monotouch and OpenTK I am trying to get the screen coordinate of one 3D point. I have my world view projection matrix set up, and OpenGL makes sense of it and projects my 3D model perfectly, but[详细]
2023-04-11 10:27 分类:问答What is supposed to happen with the transpose flag for glUniformMatrix with non-square matrices?
I encountered what seemed to me as strange behavior using glUniformMatrix4x3fv. Specifically when I give TRUE as for the transpose flag entire rows of my matrices are missing in my shader variable (an[详细]
2023-04-11 09:02 分类:问答