Questions tagged as 'opengl'

0
answers

openGL - Save Complex Rendering in Memory for Future Restore

I'm developing a c ++ application using opengl, but my knowledge in c ++ and opengl is limited, especially in the latter. I need to create a board similar to that of xadres, however for each execution of the program the size of the board will...
asked by 04.10.2016 / 11:46
0
answers

Helps to porting part of Java code to C ++ [closed]

I'm in a project and my 'responsibility' is to carry the Java code for C ++ that uses OpenGL. I've done almost everything, but it does not work. I think the problem is in this class that I could not do very well [I changed the code in java and g...
asked by 29.01.2016 / 17:14
0
answers

How to integrate OpenGL with Netbeans and start development? [closed]

I want to integrate the OpenGL "library" into the NetBeans IDE 8.0.2 (current version). Then import it into a class in NetBeans ( import command or otherwise) and start development.     
asked by 20.07.2015 / 21:13
0
answers

Encapsulation of OpenGL code in C ++ classes

I'm currently starting an SDL / OpenGL-based project based on the code for this article . At the moment, I am trying to find the best way to encapsulate the OpenGL code of the example. My main function is as follows: int main(int argc, char *...
asked by 13.08.2015 / 19:18
1
answer

How to develop a basic game using opengl that accepts keyboard commands [closed]

I tried to follow the source of a tutorial Metar Gearn Nanna because it was interesting to create a game in opengl and c ++, could be something simple, with precarious validations, just so I can understand the concept, I learned to draw triang...
asked by 01.07.2014 / 21:55
1
answer

I can not find the glew graphic library

The GLEW library site is offline, link Does anyone know of a site where I can download. I even found some but do not have the files I want, which is bin, include and lib.     
asked by 02.03.2018 / 20:57
1
answer

How to use two OpenGL viewports using QT?

I'm trying to do two viewports in qt but I'm not getting success, here's the code below: 1. Method that makes the drawings on the screen: void GLWidget::paintGL() { //Limpa buffer //glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BI...
asked by 03.08.2015 / 18:26
1
answer

I'm using openGL on android, at the time of emulating the error

I'm testing an example found on the internet and at the time of execution gives me the following error in LogCat    03-23 09: 43: 22.286: E / AndroidRuntime (1036): FATAL EXCEPTION: GLThread   72 03-23 09: 43: 22.286: E / AndroidRuntime (10...
asked by 23.03.2015 / 14:53
1
answer

Could not find -lGL

I'm running the default CodeBlocks for OpenGL on Ubuntu: /* * GLUT Shapes Demo * * Written by Nigel Stewart November 2003 * * This program is test harness for the sphere, cone * and torus shapes in GLUT. * * Spinning wireframe and smoo...
asked by 24.09.2018 / 13:31
1
answer

Global variables in GLSL?

Is there any way to declare variables so they can be used in other files, with the same value as the original? I've already tried to use varying but it only works for the file .vsh and .fsh of the same part. Example: In t...
asked by 15.07.2016 / 04:50