Questions tagged [OpenGL] (305)

2
answers

OpenGL and C++. How to sort the polygons?

I have a hobby, I write the engine for the game in C++ and OpenGL. There are several hundred polygons in the scene. I learned how to determine the collision with the polygons. Could also sort the polygons in groups, to check the collision first with the group, and then with each polygon. But it's not the best option. If BSP...
Maymie.Roberts97 asked April 4th 20 at 14:13
3
answers

Is it possible in linux server to use OpenGL to draw on screen directly?

Welcome! For experiments installed ubuntu server 19.10 (and any other distro) want no of X to use OpenGL directly (in principle) that would be displayed. Tell me, what do I need? glxinfo gives"unable to open display" Prompt, please, where to dig at least... Yet in complete confusion.
Bryana_West78 asked April 4th 20 at 00:45
1
answer

How to learn OpenGL?

The issue arose because of differences between versions, I read that the new OpenGL is too different from the old. I don't know what the distinction is well understood that you can write your own code for some stages of the graphics pipeline. So it is better to the beginner, just look for information on the new OpenGL, or...
treva47 asked April 4th 20 at 00:04
1
answer

What am I doing wrong with Qt openGL?

Error on standard features gl What am I doing wrong?
wilbert_Littel asked April 3rd 20 at 23:52
0
answer

How to work with QOpenGLWidget?

I would like here to have openglwidget and bring him some 3D model and move/twist it depending on actions of the user. how to work with this widget which I placed in the designer?
maxie.Sawa asked April 3rd 20 at 23:51
0
answer

Why is my PyOpenGL code is not run?

While trying to run on Win7 x64 example of displaying 3d graphics in PyQtGraph I get the error: Traceback (most recent call last): File "C:\Users\user\project\PycharmProjects\pyqt_samples\default_venv\lib\site-packages\pyqtgraph\opengl\GLViewWidget.py", line 171, in paintGL glViewport(*self.getViewport()) File "C:\Users\u...
Terrence.Howe asked April 3rd 20 at 18:46
6
answers

What to choose beginner: DirectX or OpenGL?

Want to learn the basics of some of these APIs to be able to do something simple. And I don't know what to choose, I need something that is easier to learn, and the first result will be faster..
Ivah_Koepp asked April 3rd 20 at 18:30
1
answer

Why blur images in WebGl?

Doing all the lessons, but it's vague. Although I did also and it was all good. In what may be the problem?
Veda_Wuckert52 asked April 3rd 20 at 17:12
1
answer

Swears on a line in the gl file.h?

286 errors such as this: Severity Code Description Project File Line Status suppress Status suppress Error C2144 syntax error before "void" requires ";" C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\GL\gl.h 1157 and the string itself : WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
rolando_Shanahan45 asked April 3rd 20 at 17:03
2
answers

Does not work the depth test in OpenGl and SFML. What to do?

What do I do? I decided to write a rotating cube in OpenGL and SFML (SFML working with for a long time, but OpenGL just started to learn). Did everything as shown in tutorial, but for some reason it's not working. My cube rotates, and it is good, but the depth test does not work or works incorrectly. Why? Where is the error...
charlene35 asked April 1st 20 at 17:53