UP
If you you can just tell me in which order I have to delete all what I have created it would be great.
So I have VAO, some Buffer Objects and 2 textures.
If I delete a VAO with Buffer bound...
Type: Posts; User: holyll
UP
If you you can just tell me in which order I have to delete all what I have created it would be great.
So I have VAO, some Buffer Objects and 2 textures.
If I delete a VAO with Buffer bound...
Sorry but it did not help.
I only have problems when doing this :
glTexBuffer(GL_TEXTURE_BUFFER, GL_RG32F, position_buffer[i]);
I suggest the OpenGL superbible and OpenGLinsigths
Hi,
Recently I made a simple OpenGL program that works.
Today, I decided to copy this code in another new project, in order to re-use it.
The surprise is that this same code is not working.
...
Thank, everythink works fine now.
Hi,
I want to know how can I get my data back from a Buffer.
Actually, I'm making use of a vertex shader that draws result into a transformfeedbackbuffer.
Now I want to get my data that is in the...
Sorry I was really ridiculous, it works fine now.
Thank you so much.
Stop Spam please.
Hi,
I'm trying to do a simple cloth simulation based on the Opengl SuperBible.
We consider that we have vertices that are connected to each other.
For each vertice, we only consider perturbation...
Ok!
First of all you have to put the file glut.h in the folder GL of your project.
Usually, if the project name is AAA, you put in in AAA/AAA/GL, or simply just find your main file and then create...
Hi,
I want to compute FFT using opengl and shaders.
I have seen that some people have done this using the fragment shader like this one GPU GEMS 2
But I think of using the Transform FeedBack...
Thank you it is working fine !
However I just have one last question, in the render part should I unbind the VAO after calling glDrawElements ?
like this ? does this change anything ?
If I do so I have nothing on the screen.
I am using Qt.
This is the content of my initiliaze function :
And this is the render part
I think that your understading is alright.
However, I still don't get one point.
If you have a lot of geometry to rendrer, is it better to pack all objects in one single VAO and use...
What should I use then ?
I have to use it because otherwise it will not render at all.
Hi everyone,
I just want to ask something about drawing a lot of geometry efficiently.
I read that it would be better to use glMultiDrawElements, however I really don't understand how.
Let's...
Hi,
I am trying to render using VAO, everything works fine but I just want to understand something.
When I initialize my opengl context using Qt I do also create a VAO this way :
...