Tagged Questions
-5
votes
1answer
113 views
multiplayer game in openGL [closed]
what is the easiest way how to make network communication in openGL/glut? Does anybody know any good tutorial for beginners? thanks
(or is there any simpler way then openGL?)
1
vote
1answer
116 views
GLUT Window not responding
I'm trying to calculate the delta time of my program. In main, I call:
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize(250, 250);
...
2
votes
1answer
2k views
How does gluLookAt work?
From my understanding,
gluLookAt(
eye_x, eye_y, eye_z,
center_x, center_y, center_z,
up_x, up_y, up_z
);
is equivalent to:
glRotatef(B, 0.0, 0.0, 1.0);
...
0
votes
2answers
942 views
OpenGL: glGetError() returns invalid enum after call to glewInit()
I use GLEW and freeglut. For some reason, after a call to glewInit(), glGetError() returns error code 1280. Reinstalling the drivers didn't help. I tried to disable glewExperimental, it had no effect. ...
1
vote
0answers
319 views
Countdown Timer for Racing Game
I want to make a countdown timer for my racing game such as "3... 2... 1... GO!" I'm using GLUT, OpenGL, and C++. I was wondering what the most appropriate method to handle this in C++. clock()? ...
0
votes
1answer
385 views
Top-Down Racing Game C++
I'm creating a Top-Down Racing Game in C++ using GLUT/OPENGL and SOIL first of all I just wanted some opinions on how the track should be done. I was thinking about using a tile-map and so far I've ...
5
votes
3answers
631 views
Rotate a particle system
Languages / Libraries in use: C++, OpenGL, GLUT
Okay, here's the deal.
I've got a particle system which shoots out alpha blended textures to produce a flame. The system only keeps track of very ...
2
votes
1answer
2k views
Converting 3D coordinates to 2D and back?
I'm wondering if there is a simple way to convert 3D coordinates to 2D coordinates. Also, if it's possible, to convert in the reverse direction.
I'm using OpenGL(GLUT) in my C++ project.
I am also ...