opengl
Qt OpenGL default scale is really strange
I\'m working on an OpenGL example out of a Qt programming book. Almost everything works fine, but the default scale seems to be way off. I should be seeing a pretty standard cube, but instead I see th[详细]
2023-04-11 07:31 分类:问答Can a ARB program(shader pair) use non ARB buffer objects and vertex arrays?
Can a ARB program(shader pair) use non ARB buffer objects and vertex 开发者_开发问答arrays? Non ARB means with no extension, like NV, ATI, ARB, EXT or other. Yes, this is perfectly possible. Note that[详细]
2023-04-11 02:22 分类:问答Problems compiling an c++ application using QT and OpenGL
I\'m following this tutorial for building a simple OpenGl application in C++ using QT. I\'m trying to compile the application using g++ and the command line but I get the following errors:[详细]
2023-04-11 01:39 分类:问答Using glDrawRangeElements in OpenGL 2.1
Based on the information in Questions about glDrawRangeElements() and given the following items: struct MyVertex[详细]
2023-04-11 01:03 分类:问答OpenGL water refraction
I\'m trying to create an OpenGL application with water waves and refraction.I need to either cast rays from the sun and then the camera and figure out where they intersect, or I need to start from the[详细]
2023-04-10 22:52 分类:问答How to make a curve vertex on OpenGL C++
I am learning how to make a 2D object with OpenGL. I made a simple rectangle with GL_QUADS with four vertex 3f example vertex1, vertex2, vertex3, vertex4. The question is, is there anyway so I can mak[详细]
2023-04-10 22:12 分类:问答How to tell the size of font in pixels when rendered with openGL
I\'m working on the editor for Bitfighter, where we use the default OpenGL stroked font.We generally render the text with a linewidth of 2, but this makes smaller fonts less readable.What I\'d like to[详细]
2023-04-10 17:28 分类:问答Shader GLSL file Not compiling
I am writing my first program using OpenGL, and I have gotten to the point where I am trying to get it to compile my extremely simple shader program. I always get the error that it failed to compile t[详细]
2023-04-10 11:06 分类:问答Where do shaders fit in with the older methods of rendering in OpenGL?
I have written a level renderer in OpenGL following many online tutorials. I actually render with vertex arrays and the开发者_StackOverflow中文版 range draw command. Now because I want to have the lev[详细]
2023-04-10 11:02 分类:问答super smooth, full screen fade-in animated popup image on win32
Any ideas on how to implement it with Qt4.7 or with th开发者_如何转开发e native win32 api. It\'s fine to use DirectX (via sth like this) or OpenGL too. An animation with a semi-transparent window that[详细]
2023-04-10 07:15 分类:问答