RenderingPipeline

from geometry to pixels

OpenGL

Some thoughts about the Vulkan API (glNext) and the future of OpenGL

Today the Khronos group announced officially the name of the new cross-plattform 2D/3D and compute API which will be (kind of) the successor of OpenGL. So far it was named “Next Generation OpenGL Initiative” or shorter: “glNext”, the official name will now be Vulkan (btw. the german name for Vulcano). I read at some places, […]

 

, , , , , , , ,

OpenGL on Oculus Rift DK2

Oculus is sending out the first batch of the new development kit DK2 now and has released a new SDK (version 0.4.0) to support it. The display of the Rift (DK1 or DK2) can now be configured using the “Oculus Configuration Utility” in one of two modes (Tools->Rift Display Mode): Direct HMD Access from Apps […]

 

, , ,

GLSL Syntax Highlighting for OpenGL 4.4

The syntax highlighting definitions for QT Creator, KDE Kate, TextWrangler and BBEdit have been updated for OpenGL 4.4 (GLSL 440).  The update includes a fix of one typo and highlight the noise functions in QT Creator as not available ( e.g. noise4(); ) as those are defined as deprecated beginning with GLSL 440 and are […]

 

, , , ,

(Simulating) KHR_debug on MacOS X

KHR_debug makes finding errors in OpenGL applications much simpler than the old glGetError method. Sadly, Apple does not yet support KHR_debug (or any other debug extension) natively in OS X 10.8 and it doesn’t look too well for 10.9 either. On most other systems the latest drivers will provide KHR_debug either as an extension or […]

 

, , , ,

OpenGL debugging with KHR_debug

Debugging OpenGL has always been a bit painful. In most cases an OpenGL error will just result in the offending call being ignored (unless the problem was too little memory, in which case anything could happen). To get informed of the problem, the application had to query an error number for OpenGL to get the […]

 

, , , , , ,

MacOS X OpenGL driver status (10.8.3)

Apples latest software patch for MacOS X 10.8 (Mountain Lion, 10.8.3) fixed some issues related to OpenGL. To recap, my currently known bugs and issues are these: Wrong values from uniform structs (bug id #10518401) – Fixed Wrong names for uniforms in uniform blocks (bug id #11335828) – Still exists (this bug was reported in april 2012) […]

 

, , ,

OpenGL conditional rendering bug on MacOS X

At least on Intel HD4000 GPUs there seems to be a bug regarding conditional rendering in OpenGL on 10.8 Mountain Lion: After the conditional rendering the condition state (ignore draw calls or execute them) is ‘stuck’ until the next draw call gets issued – this can ignore glClear calls which shouldn’t get ignored. Here’s an […]

 

, , , , ,

GLSL Syntax Highlighting for TextWrangler & BBEdit

I hacked together a very simple codeless language module for TextWrangler (also compatible with BBEdit) for GLSL shaders. It is much simpler than the Kate/QTCreator highlighting and only highlights GLSL version 430 (core profile) but it’s better than nothing (In case you are writing shaders for OpenGL ES 3.0, or OpenGL 3.0 – 4.2 it […]

 

, , , , ,

GLSL Syntax Highlighting for QTCreator (and Kate)

The syntax highlighter in QTCreator for GLSL shaders is currently far from ideal: It’s basically stuck at OpenGL 2.1. If you write shaders for OpenGL 3 (and later) or OpenGL ES 3, you will see a lot of red marks indicating errors in your code simply because QTCreator doesn’t know the latest keywords. On the […]

 

, , , , , , ,

Noperspective varying interpolation bug on MacOS X

There seems to be a bug with noperspective varyings in OpenGL 3.2 contexts on MacOS X on Intel HD4000 hardware: The varying does not get interpolated and all fragments of the triangle get the same value (similar to flat interpolation). Note that in the left screen shot the image looks similar to perspective correct interpolated texture […]

 

, , ,

Previous Posts