glut
How to reclaim memory after glutMainLoop is activated?
According to OpenGL documentation, 3.1 glutMainLoop glutMainLoop enters the GLUT event processing loop.[详细]
2023-03-11 08:08 分类:问答HOpenGL - OpenGL window remains minimized
Following some well-known OpenGL Haskell tutorial, I\'ve made my first HOpenGL program. Here\'s the code:[详细]
2023-03-11 01:43 分类:问答How to make Haskell GLUT using freeglut on Windows?
How to make the Haskell GLUT bindin开发者_运维问答g using freeglut instead of the original GLUT on windows?[详细]
2023-03-09 20:58 分类:问答OpenGL 3D text rendering
Short of writing my own text rendering engine, is there any way I can import external fonts to use with glutstrokecharacter to render开发者_如何学编程 3D text in OpenGL. (Just for clairty, this needs[详细]
2023-03-09 19:05 分类:问答how to make camera follow a 3d object in opengl?
i\'m making a car race for the first time using opengl,the first problem i face is how to make the camera follow the car with constant distance..here is the code for keyboard function.V is the velocit[详细]
2023-03-09 07:21 分类:问答In OpenGL, can I draw a pixel that exactly at the coordinates (5, 5)?
By (5, 5) I mean exactly the fifth row and fifth column. I found it very hard to draw things using screen coord开发者_如何学Cinates, all the coordinates in OpenGL is relative, and usually ranging fro[详细]
2023-03-08 23:05 分类:问答Opengl: how to make this triangle centred on the window
#include <GL/glut.h> GLint winWidth = 600, winHeight = 600; GLfloat x0 = 100.0, y0 = 100.0, z0 = 50.0;[详细]
2023-03-07 12:32 分类:问答OpenGL projection question: Why I can't see anything on the screen?
void init (void) { glClearColor (1.0, 1.0, 1.0, 0.0); //glMatrixMode(GL_MODELVIEW); //gluLookAt(x0, y0, z0, xref, yref, zref, Vx, Vy, Vz);[详细]
2023-03-07 12:10 分类:问答Display opencv frames in a window with button and text control
I\'d like to ask you some information about a problem which i want to solve. At the moment, I have two opencv applications:[详细]
2023-03-06 23:55 分类:问答how can I stop an object from rotating while other parts rotate?
I\'ve just drawn a 3 dof robot with 3 joints which are revoloute , i\'ve drawn a shere to use as an obstacle which should be constant without any moving but as the gripper of the robot starts to move[详细]
2023-03-04 08:03 分类:问答