Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


OpenGL Articles

Article Listing

OpenGL Batch Rendering

Published in OpenGL

By Marek Krzeminski - You should render as many vertices as possible in a single draw call for optimal performance. In this article I demonstrate how I implemented a ba...

OpenGL 3.3+ Tutorials

Published in OpenGL

By Michal Bubnar - OpenGL 3.3+ Tutorials from the very basics to more advanced concepts. The minimum version of OpenGL used is 3.3, where all of the deprecated stuff...

Concentration of all The Lessons in Common Library GLSummary in MFC

Published in OpenGL

By Petrov Vladimir - All NeHe's OpenGL Lessons integrated in one project in Visual C++ MFC.


View Complete Archive You cannot add articles


Like
8Likes
Dislike

OpenGL Batch Rendering

Nov 23 2014 12:45 AM | Posted By Marek Krzeminski in OpenGL
You should render as many vertices as possible in a single draw call for optimal performance. In this article I demonstrate how I implemented a batch rendering technique for OpenGL using C++.

Tagged With:  batch  render  opengl  degenerate  vbo  triangle strips  batching  rendering  manager 
Like
29Likes
Dislike

OpenGL 3.3+ Tutorials

Jul 27 2014 09:56 AM | Posted By Michal Bubnar in OpenGL
mbsoftworks.sk — OpenGL 3.3+ Tutorials from the very basics to more advanced concepts. The minimum version of OpenGL used is 3.3, where all of the deprecated stuff has been removed, so the knowledge you learn is forward compatible

Tagged With:  OpenGL  Tutorials  Shaders  GPU 
Like
3Likes
Dislike

Concentration of all The Lessons in Common Library GLSummary in MFC UNDER REVIEW

Oct 02 2013 12:11 PM | Posted By Petrov Vladimir in OpenGL
All NeHe's OpenGL Lessons integrated in one project in Visual C++ MFC.

Tagged With:  nehe  opengl  visual c++  mfc 
Like
25Likes
Dislike

OpenGL Instancing Demystified

Aug 08 2013 09:20 AM | Posted By Martin Thomas in OpenGL
This article is about basic OpenGL instancing. It intends to provide you with proper knowledge about instancing, so that next time when you do a project, you do take advantage of it.

Tagged With:  ogl  opengl  instancing 
Like
2Likes
Dislike

GLSL 4.0: Discarding Fragments to Create a Perforated Look

Feb 06 2012 08:41 PM | Posted By David Wolff in OpenGL
Fragment shaders can make use of the discard keyword to "throw away" fragments. Use of this keyword causes the fragment shader to stop execution, without writing anything (including depth) to the output buffer. This provides a way to create holes in polygons without using blending. In fact, since fragments are completely discarded, there is no dependence on the order in which objects ar...

Tagged With:  vec3  fragment  position  texture  shading  shader  uniform  using  function 
Like
4Likes
Dislike

GLSL 4.0: Using Subroutines to Select Shader Functionality

Feb 02 2012 08:38 PM | Posted By David Wolff in OpenGL
In GLSL, a subroutine is a mechanism for binding a function call to one of a set of possible function definitions based on the value of a variable. Subroutines therefore provide a way to select alternate implementations at runtime without swapping shader programs and/or recompiling, or using if statements along with a uniform variable.In this article by David Wolff, author of OpenGL 4.0 Shading...

Tagged With:  subroutine  uniform  function  vec3  shader  shading  position  opengl  variable 
Like
11Likes
Dislike

The Basics of GLSL 4.0 Shaders

Jan 27 2012 02:44 AM | Posted By David Wolff in OpenGL
Shaders give us the power to implement alternative rendering algorithms and a greater degree of flexibility in the implementation of those techniques. With shaders, we can run custom code directly on the GPU, providing us with the opportunity to leverage the high degree of parallelism available with modern GPUs.This article by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, provide...

Tagged With:  light  vertex  vec3  shader  diffuse  shading  position  surface  normal 
Like
3Likes
Dislike

OpenGL 4.0: Using Uniform Blocks and Uniform Buffer Objects

Jan 27 2012 02:39 AM | Posted By David Wolff in OpenGL
If your OpenGL/GLSL program involves multiple shader programs that use the same uniform variables, one has to manage the variables separately for each program. Uniform blocks were designed to ease the sharing of uniform data between programs. In this article by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, we will create a buffer object for storing the values of all the uniform v...

Tagged With:  uniform  block  buffer  data  object  layout  variable  program  innercolor 
Like
1Likes
Dislike

OpenGL Frame Buffer Object 201

Dec 13 2006 06:07 PM | Posted By Rob “phantom” Jones in OpenGL
IntroductionIn the last OpenGL Framebuffer object article we covered the basic usage of an FBO for rendering to a single texture and then applying that texture some where else. However this isn’t allthe FBO extension can do; indeed one of the integrated features of this extension which was touched upon briefly in the last article was that of attachment points.In this article we’ll go a little...

Tagged With:  fbo  render  buffers  example  texture  textures  first  colour  opengl 
Like
4Likes
Dislike

OpenGL Texture Mapping: An Introduction

Feb 29 2000 11:34 AM | Posted By Nate Miller in OpenGL
This article will cover the basics of texture mapping in OpenGL. This includes the uploading of the texture to the video memory and the application of the texture onto geometry. This article will not cover the actual loading of the texture data itself. That is left up to the reader. If you have prior experience in OpenGL texture mapping I suggest that you pass on reading this article unless you...

Tagged With:  texture  opengl  call  data  uploaded  mapping  memory  image  video 
PARTNERS