from geometry to pixels


Poll Results: Learning a new graphics API

A couple of days ago I started an online poll asking about which new graphics APIs people want to learn next and how they believe what resources should support this task. So far 130 answers were collected and I’d like to thank everyone who took some time to give me feedback. The Google Form is […]


, , , , , , ,

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 […]


, , ,

What’s the big deal with Apples Metal API?

During the WWDC 2014 keynote Apple surprised us all by announcing a new 3D graphics API: called Metal (try to google that…). But this one is not a new high level API on top of OpenGL ES (like SceneKit) but a new low level rendering and compute API which can replace OpenGL ES in games. […]


, , , , , , ,

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 […]


, , , , ,

Previous Posts