Questions tagged [opengl-3]

OpenGL 3.0 is, after OpenGL 2.0, the second major release of OpenGL which, apart from some convenience updates, supports and requires a significantly advanced hardware generation (geometry shaders and instancing). Further, OpenGL 3.0 introduced a deprecation model which was meant to gradually eleminate the use of non-contemporary features that do not map well to current hardware, but without breaking existing application compatibility.

OpenGL 3.0 is, after OpenGL 2.0 (), the second major release of OpenGL () which, apart from some convenience updates, supports and requires a significantly advanced hardware generation (geometry shaders and instancing).

Further, OpenGL 3.0 introduced a deprecation model which was meant to gradually eleminate the use of non-contemporary features that do not map well to current hardware, but without breaking existing application compatibility.

Release Dates:

  • OpenGL 3.0: August 11, 2008
  • OpenGL 3.1: March 24, 2009
  • OpenGL 3.2: August 3, 2009
  • OpenGL 3.3: March 11, 2010
774 questions
-1
votes
1 answer

glDrawBuffer function producing 1282 invalid operation

Run into an error with the glDrawBuffer function. I am porting Figure 9.8 of Superbible OpenGL 7th ed. p.457. Any help will be greatly appreciated. Thank you. supporting files: stereo_support.zip expected output: #!/usr/bin/python3 import…
Stan S.
  • 539
  • 5
  • 13
-1
votes
1 answer

WriteJPGBuffer method using libjpeg libraries instead of ijl15.lib

We have following method implemented using ijl15.lib API. We want to use libjpeg libraries instead of ijl. How should I implement WriteJPGBuffer using libjpeg libraries? We are aware of LoadJPG and SaveJPG from file. However i want to write and read…
-1
votes
2 answers

Performance gain when using newer Versions over extensions?

For my Application I need a renderer. The renderer uses the OpenGL 3.3 core profile as a basic. In newer OpenGL versions, there are some neat features, which are also available via extensions. If available I want to use newer features, based on the…
Tim Diekmann
  • 5,740
  • 9
  • 30
  • 53
-1
votes
1 answer

Why does VertexAttribPointer not throw an INVALID_OPERATION with no VBO bound?

From the OpenGL 3.3 Core specification, page 344, it says that if nothing is bound to the ARRAY_BUFFER target (or no VAO is bound) when VertexAttribPointer is called, an INVALID_OPERATION occurs. See here. glBindBuffer(GL_ARRAY_BUFFER,…
user8585867
-1
votes
1 answer

why is this program not able to change the uniform?

this is my vertex shader code const GLchar* Vshader_source = "#version 130 \n" "in vec3 position; \n" "uniform float moving = 0.0;\n" "void main(){ \n" "gl_Position = vec4(position.x,position.y -…
-1
votes
1 answer

learnopengl tutorial fragment shader for 2 points light

I have been following www.learnopengl.com tutorial and tried to load models using the method described. It works until the very end where it asks you to load the nanosuit with 2 points lights. I have copied the exact code from the tutorial with:…
2A-66-42
  • 384
  • 3
  • 14
-1
votes
1 answer

Graphics : How to create a 3D cylinder around a line segment in opengl?

I have line segment with 2 end points, I wanted to create a cylinder around it with some radius r.
-1
votes
1 answer

OpenGL: Looking for resource for understanding the use of the vertex transformation sequence

I'm looking into learning the basics of OpenGL only with v.3.0 methods onwards. I've reached the point of needing to use the equivalent of a "camera" [the basic goal is to 'look around with the mouse' in first person]. I did ask a specific question…
j riv
  • 3,289
  • 6
  • 35
  • 53
-1
votes
1 answer

GLGenVertexArrays giving me an invalid memory address

I am new to openGL and I have search around the web and followed some tutorials but I am still having an issue. When I run my project I get a error: Unhandled exception at 0x0000000000000. Access Violation executing location 0x0000000000000 Below…
Bryce
  • 477
  • 1
  • 9
  • 22
-1
votes
1 answer

Taking very large screenshot from scene

I want to take very large screenshots from my application in OpenGL like 20000x20000 for printing on the banner. First of all, I am not able to create such big framebuffers because of the maximum GPU texture size limitation. Anyone can help me how…
mmostajab
  • 1,737
  • 1
  • 12
  • 28
-1
votes
1 answer

Skin Texture Inpainting

As a part of my project, I wish to build a product that takes as Input, Mesh Objects and textures of some regions of the objects(as of now objects are Humans), and the job of the product is to somehow predict what will be the texture of the regions…
-1
votes
1 answer

Objects placed inside classes to be rendered with OpenGL

I began to learn OpenGL about a week ago and I now want to create a mesh class. The code I'm about to show gives me a black screen (that's the color I fill it with). I basically stripped the code from my main function and placed it inside a class,…
v_johan
  • 462
  • 3
  • 16
-1
votes
1 answer

Load obj files and draw other figures inside a cube with size 1 - java opengl

I have to use JOGL to draw some figures and load objs from a file in order to implement some projections and rotations. What I have now is a canvas with 4 viewports and inside of each is a teaPot, drawn with: GLUT glu = new GLUT()…
Silva_PT_SCP
  • 311
  • 1
  • 6
  • 17
-1
votes
1 answer

Fastest way to load data into buffer object?

I am loading static data from CPU memory to an OpenGL buffer object. The data needs to be reformatted (i.e. filtered). Which of the following is fastest: 1) Copy and filter the data on the CPU. Then call glBufferData once. 2) Filter the data as it's…
Petar Ivanov
  • 84,604
  • 7
  • 74
  • 90
-1
votes
4 answers

Some OpenGL features working, some not

I have been trying to start using OpenGL with C++ on my new arch linux box, but I can only use functions from before OpenGL 3.0. For example, the following code works: glBegin(GL_TRIANGLES); { glColor3f(0.0f,0.0f,1.0f); glVertex3f( 0.0f,…
Jared Loomis
  • 55
  • 1
  • 2
  • 10
1 2 3
51
52