I've been trying to do a simple animation on the x-axis, where I have a chair and I've drawn it by several cubes, and in all those cubes I want to move the x-variable of them so they can move in that direction.
He is already moving what happe...
Good morning,
I would like to make an application for Android to do the following: display the floor of a house on the cell phone, and the user touching a room on the screen, the color of the room change.
I'm familiarized with OpenGL ES 2.0...
I am new to the C world and have been tempted to learn more about the ecosystem and to study some language libraries more thoroughly. I have setup on my Visual Studio 2017 and msys2 computer with the Mingw-w64 development packages installed....
I installed Visual Studio Community 2017 and configured for use in OpenGl with the GLAD and GLFW libraries.
Here I am trying to run the code from the Learn OpenGL, Hello Window website:
#include <glad/glad.h>
#include <GLFW/glfw3.h...
I need to make a version of the game "Color Switch" in Visual Studio C ++ with Glut but I do not know how to make a geometric figure move.
Any help is welcome.
Below is the code for my circle
#include <math.h>
#include <GL/glu...
I need to change an object to where the mouse is clicked, I'm trying to do with a starting point. I already managed to capture the position of the mouse but it comes in pixel and I need that value in centimeter. Here is an excerpt of the code....
Hello, I would like to know if there is a problem in the code below. I need to draw a cylinder in the center of the window and make rotations through the mouse. The code below generates a very large cylinder with the camera looking in the middle...
My greatest difficulty is being able to represent multiple images at different positions on the screen
I would like to move the image by clicking any button on the keyboard.
I currently have the following code:
#include <windows....
I have a class where, within a non-static method, I want to make a call to another non-static call. However, in doing so, Visual Studio already gives this alert: "A reference to a non-static member must be relative to the specific object."
Th...
Well, I have an application for android that uses OpenGL ES 3.1, I did the whole procedure to compile the shaders, I decided to put them in a separate folder in assets, to retrieve the content I'm using