opengl tag

24 questions


1 answers
105 views
0
c. I have a question to read the language notebook data

I'm asking you a question because there's something I'm not familiar with while reading the data in the notepad.In the notepad, the number of vertices and (x,y,z) coordinates of vertices, the number o...

2 years ago

1 answers
82 views
0
The color cannot be printed as desired by OpenGL.

Hello, I am a student studying OpenGL alone. It's nothing but OpenGL right nowI'm creating an object using an array of vertices, but I can't get those two sides colored like in the picture.GLfloat ver...

2 years ago

1 answers
81 views
0
Question about cos and sin in math function

I'm using OpenGl, and when I'm studying, do #include<math.h> and define #define PI 3.141592 in the code. glBegin(GL_POINTS); for (double angle = 0.0; angle <= PI * 2.0; angle += PI / 30.0) { ...

2 years ago

1 answers
94 views
0
Question about the function that rotates an object in OpenGl.

When you open an obj file with a program like Notepad, it consists of a lot of vertexes and faces, but I can't think of a way to rotate the entire obj file that I called it by myself. For example, if ...

2 years ago
« - 3 -

© 2024 OneMinuteCode. All rights reserved.