glut
Object Oriented Programming and OpenGL
I want to use OpenGL as graphics of my project. But I really want to do it in a good style. How can I declare a member function \"draw()\" for each class to call it within OpenGL display function?[详细]
2023-03-19 09:00 分类:问答vtkaxesactor type axes in OpenGL
I need to display x-y-z axes like in VTK (vtkaxesactor class) in OpenGL, Which comes on the lower left of the scene.[详细]
2023-03-17 05:58 分类:问答OpenGL/GLUT keyboard managed with bool*: all values appear to be set to ints at second initialisation. Any ideas?
Making a game with OpenGL/GLUT and C++. I\'ve heard the easiest way to manage keyboard stuff in GLUT is to use an array of bools.[详细]
2023-03-17 00:46 分类:问答Opengl - GLfloat not being recognized
Having some trouble with this class declaration, Im trying to create nodes for an openGL implementation of Dijktra\'s shortest path algorithm. the getX(), getY(), getZ() methods cause an error:[详细]
2023-03-16 13:23 分类:问答glutBitmapString/glutStrokeString seem to require const unsigned char* - strings don't work
Ubuntu 11.04, G++, freeglut and GLUT. I don\'t understand this at all. Here\'s the error I get: whatever.cc:315:59: error: cannot convert ‘std::string’ to ‘const unsigned char*’ for argument ‘2[详细]
2023-03-15 23:51 分类:问答OpenGL textured objects visability (GLUT)
I\'m trying to make a textured table object in openGL using GLUT in C but it fails when it comes to \'visability\' of certain elements e.g. When the table is turned upside-down you should see its legs[详细]
2023-03-15 05:18 分类:问答Function to draw text on screen using C++/OpenGL/Glut faster than glutBitmapCharacter
I need something muuuch faster than glutBitmapCharacter(font, text[i]). It\'s decreasing performacne few times ! I need to display fps, xyz position etc. so not in 3D just displaying HUD.[详细]
2023-03-14 02:30 分类:问答Why My Flatten Shader (from Lighthouse3d Tutorial) Is Not Working?
The tutorial has an example called the Flatten Shader, which displays the GLUT teapot as a flatten teapot. Here is the link to the Flatten Shader.[详细]
2023-03-13 06:53 分类:问答Structuring Pong
I am making Pong using C++ and OpenGL using Visual Express 2010. It is one of the first games I have made, and I am wondering how to best structure it. The main part that is stumping me is the game me[详细]
2023-03-12 23:12 分类:问答Draw image from text file using OpenGL [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-12 18:01 分类:问答
加载中,请稍侯......