Questions tagged as 'opengl'

1
answer

How to solve the problem of accentuation in the terminal?

I'm writing some strings on the screen using the Opengl library and some of the stored words are accented words, for example: república checa , where the output ends up being: repblica checa can solve this problem without using exte...
asked by 30.04.2016 / 01:03
1
answer

Error with OpenGl in Python

(k36) C:\Users\rudij\Desktop\etapa 1>python main.py [INFO ] [Logger ] Record log in C:\Users\rudij\.kivy\logs\kivy_18-02-02_3.txt [INFO ] [Kivy ] v1.10.0 [INFO ] [Python ] v3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 1...
asked by 02.02.2018 / 22:52
1
answer

Why is it impossible to use OpenGL in Qt 5?

Probably OpenGL is the only thing I can not use in Qt, Maya and 3Ds and another autodesk program pa uses opengl in qt, but no tutorial or example that works. I have already created a class for the widget based on QOpenGLWidget (Since QGLWidge...
asked by 29.01.2018 / 14:24
1
answer

Opengl Unbind Texture?

I have a list of objects; Home Each object has different amounts of texture; Home When I make glBindTexture of 2 textures (diffuse and specular) for an object, it may happen that the next object can only have 1 (diffuse) texture; Home It...
asked by 30.12.2017 / 20:57
0
answers

I'm using the OpenGL lib, but in compiling the gcc is returned undefined reference, could anyone help?

#include <GL/gl.h> #include <GL/glut.h> void reshape(int w, int h) { glViewport(0, 0, w, h); /* Establish viewing area to cover entire window. */ glMatrixMode(GL_PROJECTION); /* Start modifying the projection matrix. */ glLoadIdent...
asked by 19.11.2017 / 03:53
0
answers

Vector in OpenGL

Hello, I'm venturing into OpenGL and so far I know the basics of creating figures. I need to create a number of bars ranging from 1 to 64, the problem is that I need to do this with a FOR. When the first for counter starts, it creates the first...
asked by 01.09.2017 / 18:05
1
answer

Texture error in opengl

I'm trying to do some things in C using SDL and opengl, and when it comes to drawing textures I can easily if I only want 1 texture object but when trying to put a texture in the background and another to any object both textures are being rende...
asked by 11.06.2017 / 22:14
0
answers

I'm using c ++ with the openGL library

I'm using c ++ with the openGL library, I'm having a bit of trouble creating a method. I need to create some buildings randomly, but not to create one inside the other I need to compare the 4 points of the building. If anyone can help me. stri...
asked by 23.02.2017 / 18:26
1
answer

glBindTexture does not apply texture in GL_QUADS

Problem: glBindTexture does not apply texture to "GL_QUADS" when using OPENGL in C ++. My experience in c ++, and especially in OPENGL is limited, but I relied on in this code . I made a few modifications to make it compatible with my projec...
asked by 26.09.2016 / 02:37
0
answers

How to use PyOpenGL

Well, I'd like to use the PyOpenGL library in Python, however I'm having trouble installing. I would like to know which version of OpenGL and Python I need to download and install. Thanks for the help right away.     
asked by 17.05.2015 / 16:28