opengl tag

24 questions


1 answers
331 views
0
I want to know what I have to do until the next loop if I finish with a multi-threaded game loop.

Question detailsI'd like to know how to make a game loop process.As it is asynchronous, one of them ends first, so what should I do then?What I checked and foundAn object to be drawn by calculation is...

1 years ago

1 answers
401 views
0
I want to know why the 0x501 error occurs when I run the GLSL binary in glProgramBinary().

Question detailsI'd like to compile a GLSL shader and run the shader by loading the binary file on the execution side.The following error occurs, what is the cause of this?What is invalid?Confirmation...

1 years ago

1 answers
367 views
0
OpenGL files in C language cannot be compiled.

I got a mysterious error.It happens every time with GlutMainLoop.Could you tell me the solution here?y); | ^~~~~~~~~~~~~~~opengltest.c:11:2:warning:implicit declaration of function 'glutMainLoop' [-Wi...

2 years ago

1 answers
447 views
0
I want to play audio files in OpenGL in Cygwin environment

I am working on the game with opengl, but the following error occurred and I cannot execute it.Can't I use PlaySound because it's a Windows-specific function?Also, please let me know if there is any o...

2 years ago

1 answers
129 views
0
OpenTK SEMI-TRANSMISSION METHOD

I am currently drawing 3D graphics using C#OpenTKFor questions, please let me know if it is possible to GL.Clear in semi-transparent black (0,0,0,0.5).Currently, I draw music waveforms using LinesAt t...

2 years ago

1 answers
98 views
0
I want OpenGL to synchronize the position of the light source with the point of view and texture.

As the title says, I would like to do texture mapping on 3D objects by projecting two-dimensional images.Also, I want to make sure that the position of the projected light source is always the same.In...

2 years ago

1 answers
134 views
0
Custom shader for cocos2d-x v3.8 to reflect changes later in setUniformLocation

I'm trying to use a custom shader with cocos2d-x v3.8.Every time I press the button and menuCallback is called, the _sprite gets brighter.I'd like to make it shine white in the end, but The sprite doe...

2 years ago

1 answers
123 views
0
I want to make a winning decision with OpenGL.

I'd like to set limits on the range of movement on the game stage and ride on the box.To do so, you need to receive information that 3D objects are in contact.In the case of 2D, I can find materials s...

2 years ago

1 answers
138 views
0
In OpenGL, I want to cut the figure in a straight line drawn by the mouse, but I don't know the algorithm.

I would like to implement a program where OpenGL cuts the figure in a straight line drawn by the mouse.The OpenGL version is 4.6, but I'm studying a tutorial based on ver1.1 here (http://wisdom.sakura...

2 years ago

1 answers
89 views
0
gem-vertex-array error in cl-opengl

I was trying OpenGL's tutorial in Common Lisp, but (gl:gen-vertex-array) will fail.OpenGL signalled (1282.INVALID-OPERATION) from GEN-VERTEX-ARRAYS.Condition of type CL-OPENGL-BINDINGS: OPENGL-ERRORCo...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.