opengl tag

24 questions


1 answers
135 views
0
Open External Symbols Occurred in relation to SOIL.lib

I'm in big trouble https://github.com/gameprogcpp/codeEven though I tried to copy chapter07 in to opengl's software called SOIL, I made the necessary entries for additional dependent files and additio...


1 answers
109 views
0
Gtk::GLAarea does not draw

I am trying to program graphics with OpenGL using Gtkmm's GLArea, but when I call glBegin~glEnd or glDraw*, the contents are not drawn.DrawCall seems to be ignored when using Gtkmm, even though it is ...

2 years ago

1 answers
109 views
0
I want to make the background of OpenGL that I draw in NSView transparent.

I am trying to draw using OpenTK on my Mac.I'm trying to make the background transparent based on the sample, but I can't see any change while it's black.Here's the code: gameWindow=newMonoMacGameView...

2 years ago

2 answers
72 views
0
Glfw3.h is no longer recognized after gcc version 5.5

The raw string literal on the mac got an error, so I thought it was not compatible with C++11. When I installed gcc5 using MacPorts, the glfw3 that I had previously installed on HomeBrew was no longer...

2 years ago

2 answers
75 views
0
About 2D game map display and character superposition

I would like to reproduce 2D RPG games like dot-pictured drakue and Pokémon in C++, but there is something I don't understand.View MapsView characters on top of the mapShould I make a map image of a d...


1 answers
94 views
0
Python and OpenGL do not blend squares well.

I want to display a square above the image with PyOpenGL(3.1.1a1)+Python3.7, but the behavior is strange.A PNG image is textured and a translucent black square is displayed thereon.The rectangle is on...


1 answers
93 views
0
Let me ask you an OpenGL man-making question

How are you? I am a student studying OpenGL. I'm just using OpenGL to squeeze the sauce, but I can't do it with my humble skills, so I end up leaving a question at dawn.The source is given a notepad, ...

2 years ago

1 answers
75 views
0
Android opengl fragment shader color change question

precision mediump float; \n void main(){ \n gl_FragColor = vec4(1.0, 1.0, 0, 1.0); \n } \n;In the current Android studio environment, I approached the fragment shader by...

2 years ago

1 answers
89 views
0
I have a question as I am analyzing the source of the circle drawing in OpenGL rotation.

#define PI 3.1415926#define No_theta 36#define No_phi 18 float theta, phi;float delta_theta, delta_phi;float start_theta, start_phi;float Radius;void Vertex_Generation(void){ start_theta = 0.0; delta_...

2 years ago

1 answers
93 views
0
I'd like to ask you a question about reading C language file input/output data

void main(int argc, char** argv){ double *fv; int numOfVertex; int i; FILE *f; f = fopen(head_new.txt, r); // Open Stream fscanf(f, %d \n, &numOfVertex); // Read the number of vertices fv = (doubl...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.