menu

Recent questions tagged opengl

1 vote
1 answer
Why doesn't it draw the z-axis? Good afternoon! I can not understand why it does not draw the z-axis. int main(int argc, char argv){ glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT ...
by Amigo2019
asked Apr 3, 2021
1 vote
2 answers
image
Is the sample application not working? Found a sample code here https://github.com/sgothel/jogl-demos/blob/master/... I threw it into my project package com.example.myapplication;import androidx.appcompat.ap ...
by Gremlin92
asked Mar 29, 2021
5 votes
2 answers
3 votes
1 answer
What OpenGL lessons are available for C? Please give me lessons on opengl for beginners in C, I already know the C language (the basics). ...
by ProstoUserName
asked Mar 22, 2021
1 vote
1 answer
Is Opengl ES obsolete? the actual question is in the header. ...
by MrHackerman
asked Mar 8, 2021
1 vote
2 answers
How does object overlap affect rendering speed? If you first draw objects in the vicinity of the camera, and then draw other objects behind them, it will be faster than rendering objects in random order? (Near objects ...
by Porohovnik
asked Feb 26, 2021
1 vote
1 answer
Which library to use for C I am a relatively new student of C I know about SharpGL, OpenTK, Tao, and so on. Can you tell me which one is better, and are there any others? I found an article on w ...
by DelinEDXRazer
asked Feb 22, 2021
1 vote
1 answer
Is it possible in C Is it possible in C Googled SharpDX, SlimDX, Managed DirectX and more, but they are all abandoned or not supported. Is there any way to use something like this? ...
by Makro_Slavik
asked Feb 22, 2021
1 vote
1 answer
Why doesn't the glUseProgram work? Hello, did the shaders by lesson and for some reason both with mine and with source code of the glUseProgram lesson does not work for me. Error: error C3861: __glewUs ...
by PRIYD
asked Feb 17, 2021
1 vote
1 answer
How to make a graph oriented (C The graph drawing program: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste ...
by cyberkilla
asked Feb 17, 2021
1 vote
2 answers
Why doesn't OpenGl work? Just a black window #include <iostream>#include <GLFW/glfw3.h>int main(){ try { if (!glfwInit()) { throw std::exception("GLFW Init error!"); } GLFWwind ...
by SanceiLaks
asked Feb 15, 2021
1 vote
3 answers
How do I pass a variable to a function without using global variables? OpenGL(glut) packages have a function of the form: void glutDisplayFunc( void (func)( ) ) That is, the function takes a void type function with no arguments. And here' ...
by 7ice
asked Feb 12, 2021
1 vote
1 answer
What is the problem with running a c++ game with glut? The mistake itself. ...\speedprogramming-master\snake>g++ main.cpp field.cpp game.cpp painter.cpp snake.cpp -o bch.exemain.cpp:3:10: error: #include expects "FILENAME ...
by Ivanusha
asked Feb 7, 2021
1 vote
1 answer
How is it possible to set the parameters, namely the texture separately for each triangle? I have a model that stores the vertex coordinates and index buffer separately along with the texture ID, the model is not divided into separate parts by texture. So the ...
by KazukiSamuel
asked Feb 4, 2021
1 vote
2 answers
PyOpenGL does not install GLUT, why is that? Installed PyOpenGL through the terminal, the libraries are visible, the import of modules goes without problems, but the following code from OpenGL.GL import from OpenG ...
by nosochek
asked Feb 1, 2021
1 vote
1 answer
How to use multiple textures in GLSL Shader?Hello! Write a 2D game in OpenGL ES / GLSL. There are the following video code here . This video shows how to make very quick rendering sprites. I'm a little like buildin ...
by lexdevel
asked Aug 6, 2020
1 vote
1 answer
How to insert OpenGL ES to XML?I did the animation using the View class, but I froze up animation, I was advised to use OpenGl ES. My animation is on 1/4 of the screen and I have it inserted via XML ma ...
by dim9044
asked Aug 4, 2020
1 vote
1 answer
Error LNK2001: unresolved external symbol when building the project with GLFW — how to resolve?1>controls.obj : error LNK2001: неразрешенный внешний символ ""struct GLFWwindow window" (?window@@3PAUGLFWwindow@@A)"I ordered in the additional dependencies of the ...
by Wiki-fan
asked Jul 31, 2020
1 vote
2 answers
How to fix a glitch in the video rendering to texture using MediaPlayer from Android SDK?Use the MediaPlayer for video playback. It was the need to render video to texture. In the end, 3188/3066 devices with Rockchip and AllWinner A10/A20 texture contains bla ...
by TheOddBeard
asked Jul 31, 2020
2 votes
1 answer
As in Java, the array of pixels to record obrazenia?I have a PNG image of 200x100 pixels. And I need to write an array of 200x100 pixels (values with specific rgb color). How it can be implemented? ...
by Quad_Tree
asked Jun 27, 2020