Tag: SDL

Shadow volumes

The purpose of this project was to provide a straightforward implementation of shadow volumes using the depth fail approach. The project is divided into the following sections: After loading an object, detect duplicate vertices. Build the object's edge list while identifying each face associated with an edge. Identify the profile edges from the perspective of …

OpenGL, Rendering Continue reading →

Fiducial detection based on topological region adjacency information with identification by angle information

In my last post we discussed blob extraction and event tracking. We will continue with that project by adding support for two-dimensional fiducial tracking. We will attempt to implement the fiducial detection algorithm used on the Topolo Surface 1 . We will first describe the fiducials and how their properties are encoded in their structure, …

Multi-touch Software Development on the Linux Platform Continue reading →

Detecting blobs with cvBlobsLib and tracking blob events across frames

· 26 comments

In my previous post we discussed using OpenCV to prepare images for blob detection. We will build upon that foundation by using cvBlobsLib to process our binary images for blobs. A C++ vector object will store our blobs, and the center points and axis-aligned bounding boxes will be computed for each element in this vector. …

Multi-touch Software Development on the Linux Platform Continue reading →

Using OpenCV to process images for blob detection (with SDL and OpenGL for rendering)

· 10 comments

In this post I will discuss how you can capture and process images in preparation for blob detection. A future post will discuss the process of detecting and tracking blobs as well as fiducials, but here we are concerned with extracting clean binary images that will be passed to our detector module. We will use …

Multi-touch Software Development on the Linux Platform Continue reading →