<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
  <title>www.keithlantz.net</title>
  <link>https://www.keithlantz.net/</link>
  <description>computer science and mathematics</description>
  <language>en-us</language>
  <item>
    <title>Controlling Halloween decorations with an Arduino Uno, an Ethernet Shield, and a Relay Shield.</title>
    <link>https://www.keithlantz.net/2015/09/controlling-halloween-decorations-with-an-arduino-uno-an-ethernet-shield-and-a-relay-shield/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2015/09/controlling-halloween-decorations-with-an-arduino-uno-an-ethernet-shield-and-a-relay-shield/</guid>
    <pubDate>Sun, 20 Sep 2015 16:14:48 +0000</pubDate>
    <category>Arduino</category><category>Networking</category>
    <description>We had a few Halloween decorations with push button switches that we networked via an Arduino Uno. Three of the relays from the relay shield were used to activate a Grim Reaper and two sets of skulls. The push button from each decoration was cut and discarded. One of the wires coming from a decorati</description>
  </item>
  <item>
    <title>Shadow volumes</title>
    <link>https://www.keithlantz.net/2015/03/shadow-volumes/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2015/03/shadow-volumes/</guid>
    <pubDate>Sun, 01 Mar 2015 22:16:29 +0000</pubDate>
    <category>OpenGL</category><category>Rendering</category>
    <description>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&#39;s edge list while identifying each face associated wit</description>
  </item>
  <item>
    <title>Path tracing: sphere and triangle texture mapping</title>
    <link>https://www.keithlantz.net/2013/10/path-tracing-sphere-and-triangle-texture-mapping/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/10/path-tracing-sphere-and-triangle-texture-mapping/</guid>
    <pubDate>Fri, 18 Oct 2013 14:16:03 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>I had been planning to refine this project and offer a more detailed writeup on adding sphere and triangle texture mapping to the path tracer project, but for the time being I thought I would offer the code for download. Below are a couple of screen captures from the most recent version of the proje</description>
  </item>
  <item>
    <title>Feature detection and tracking with an affine consistency check</title>
    <link>https://www.keithlantz.net/2013/05/feature-detection-and-tracking-with-an-affine-consistency-check/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/05/feature-detection-and-tracking-with-an-affine-consistency-check/</guid>
    <pubDate>Sun, 12 May 2013 10:31:55 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>Mathematics</category>
    <description>The equations for detecting features, tracking them between consecutive frames, and checking for consistency using an affine transformation will be derived below using the inverse compositional approach. We will begin by deriving the equations for tracking, because this will yield some insight into </description>
  </item>
  <item>
    <title>kd tree construction using the surface area heuristic, stack-based traversal, and the hyperplane separation theorem</title>
    <link>https://www.keithlantz.net/2013/04/kd-tree-construction-using-the-surface-area-heuristic-stack-based-traversal-and-the-hyperplane-separation-theorem/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/04/kd-tree-construction-using-the-surface-area-heuristic-stack-based-traversal-and-the-hyperplane-separation-theorem/</guid>
    <pubDate>Sun, 21 Apr 2013 16:21:18 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>In this post we will employ the hyperplane separation theorem and the surface area heuristic for kd tree construction to improve the performance of our path tracer. Previous posts have relied simply on detecting intersections between an axis aligned bounding box and the minimum bounding box of a tri</description>
  </item>
  <item>
    <title>Path tracer: thin lens, texture mapping, Fresnel equations, and smooth shading</title>
    <link>https://www.keithlantz.net/2013/04/path-tracer-thin-lens-texture-mapping-fresnel-equations-and-smooth-shading/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/04/path-tracer-thin-lens-texture-mapping-fresnel-equations-and-smooth-shading/</guid>
    <pubDate>Sat, 13 Apr 2013 19:00:23 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>A few new features have been added to our path tracer. The depth of field extension has been reworked slightly using the thin lens equation allowing us to specify a focal length and aperture. Fresnel equations have been added to more accurately model the behavior of light at the interface between me</description>
  </item>
  <item>
    <title>Path tracer with triangle primitives and binary space partitioning</title>
    <link>https://www.keithlantz.net/2013/03/path-tracer-with-triangle-primitives-and-binary-space-partitioning/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/03/path-tracer-with-triangle-primitives-and-binary-space-partitioning/</guid>
    <pubDate>Sun, 24 Mar 2013 19:15:31 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>UPDATE: The post below was a purely naive attempt at implementing a rudimentary bounding volume hierarchy. A much more efficient implementation using a kd tree is available in this post . We will continue with the project we left off with in this post . We will attempt to add triangles to our list o</description>
  </item>
  <item>
    <title>An Arduino-based networked rover</title>
    <link>https://www.keithlantz.net/2013/03/an-arduino-based-networked-rover/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/03/an-arduino-based-networked-rover/</guid>
    <pubDate>Sat, 16 Mar 2013 16:32:49 +0000</pubDate>
    <category>Arduino</category><category>Input Devices</category><category>Networking</category>
    <description>The purpose of this project was to create an internet-based rover using the combination of a cheap RC vehicle, an Arduino Uno with a Seeed Relay Shield , a Samsung Galaxy S3 in host mode, a workstation and PlayStation 3 controller. Our server software will run in the background on the S3 and visual </description>
  </item>
  <item>
    <title>Path tracer depth of field</title>
    <link>https://www.keithlantz.net/2013/03/path-tracer-depth-of-field/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/03/path-tracer-depth-of-field/</guid>
    <pubDate>Thu, 14 Mar 2013 20:23:28 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>This is a small extension to the previous post . We will add a depth of field simulation to our path tracer project. I ran across this algorithm at this site . Below is a render of our path tracer with the depth of field extension. Essentially, we will define the distance to the focal …</description>
  </item>
  <item>
    <title>A basic path tracer with CUDA</title>
    <link>https://www.keithlantz.net/2013/03/a-basic-path-tracer-with-cuda/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/03/a-basic-path-tracer-with-cuda/</guid>
    <pubDate>Wed, 13 Mar 2013 22:34:19 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>CUDA</category><category>Mathematics</category><category>Rendering</category>
    <description>The path tracer we will create in this project will run on CUDA-enabled GPUs. You will need to install the CUDA Toolkit available from NVIDIA. The device code for this project uses classes and must be compiled with compute capability 2.0. If you are unsure what compute capability your card has, chec</description>
  </item>
  <item>
    <title>Bidiagonalization using Householder transformations</title>
    <link>https://www.keithlantz.net/2013/02/bidiagonalization-using-householder-transformations/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2013/02/bidiagonalization-using-householder-transformations/</guid>
    <pubDate>Sat, 23 Feb 2013 22:52:01 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>Mathematics</category>
    <description>The previous post was a discussion on employing Householder transformations to perform a QR decomposition. This post will be short. I&#39;ve had this code lying around for a while now and thought I would make it available. The process of bidiagonalization using Householder transformations amounts to not</description>
  </item>
  <item>
    <title>QR decomposition using Householder transformations</title>
    <link>https://www.keithlantz.net/2012/05/qr-decomposition-using-householder-transformations/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2012/05/qr-decomposition-using-householder-transformations/</guid>
    <pubDate>Sun, 27 May 2012 10:06:36 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>Mathematics</category>
    <description>It&#39;s been a while since my last post. A project I have in the works requires some matrix decompositions, so I thought this would be a good opportunity to get a post out about QR decompositions using Householder transformations. For the moment we will focus on the field of real numbers, though we can</description>
  </item>
  <item>
    <title>A threaded server in Java for the Android platform</title>
    <link>https://www.keithlantz.net/2011/12/a-threaded-server-in-java-for-the-android-platform/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/12/a-threaded-server-in-java-for-the-android-platform/</guid>
    <pubDate>Sun, 04 Dec 2011 15:55:38 +0000</pubDate>
    <category>Networking</category>
    <description>In this post we will create a basic concurrent server using threads in Java. The server will be implemented for the Android platform as part of a larger project to control a USB interface board remotely. Below are two screen captures. The first shows a state of the server after a few clients have co</description>
  </item>
  <item>
    <title>Ocean simulation part two: using the fast Fourier transform</title>
    <link>https://www.keithlantz.net/2011/11/ocean-simulation-part-two-using-the-fast-fourier-transform/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/11/ocean-simulation-part-two-using-the-fast-fourier-transform/</guid>
    <pubDate>Sat, 05 Nov 2011 14:36:47 +0000</pubDate>
    <category>GLSL</category><category>Mathematics</category><category>Rendering</category>
    <description>In this post we will analyze the equations for the statistical wave model presented in Tessendorf&#39;s paper[1] on simulating ocean water. In the previous post we used the discrete Fourier transform to generate our wave height field. We will proceed with the analysis in order to implement our own fast </description>
  </item>
  <item>
    <title>Ocean simulation part one: using the discrete Fourier transform</title>
    <link>https://www.keithlantz.net/2011/10/ocean-simulation-part-one-using-the-discrete-fourier-transform/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/ocean-simulation-part-one-using-the-discrete-fourier-transform/</guid>
    <pubDate>Sun, 30 Oct 2011 15:22:59 +0000</pubDate>
    <category>GLSL</category><category>Mathematics</category><category>Rendering</category>
    <description>In this post we will implement the statistical wave model from the equations in Tessendorf&#39;s paper[1] on simulating ocean water. We will implement this model using a discrete Fourier transform . In part two we will begin with the same equations but provide a deeper analysis in order to implement our</description>
  </item>
  <item>
    <title>Tangent space normal mapping with GLSL</title>
    <link>https://www.keithlantz.net/2011/10/tangent-space-normal-mapping-with-glsl/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/tangent-space-normal-mapping-with-glsl/</guid>
    <pubDate>Wed, 19 Oct 2011 23:29:00 +0000</pubDate>
    <category>GLSL</category><category>Mathematics</category><category>OpenGL</category><category>Rendering</category>
    <description>In the previous post we discussed lighting and environment mapping, and our evaluation of the lighting contribution was performed in view space. Here we will discuss lighting in tangent space and extend our lighting model to include a normal map . If we apply a texture to a surface, then for every p</description>
  </item>
  <item>
    <title>Lighting and environment mapping with GLSL</title>
    <link>https://www.keithlantz.net/2011/10/lighting-and-environment-mapping-with-glsl/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/lighting-and-environment-mapping-with-glsl/</guid>
    <pubDate>Sun, 16 Oct 2011 14:03:59 +0000</pubDate>
    <category>GLSL</category><category>Mathematics</category><category>OpenGL</category><category>Rendering</category>
    <description>In this post we will expand on our skybox project by adding an object to our scene for which we will evaluate lighting contributions and environment mapping . We will first make a quick edit to our Wavefront OBJ loader to utilize OpenGL&#39;s Vertex Buffer Object . Once we can render an object we will …</description>
  </item>
  <item>
    <title>Rendering a skybox using a cube map with OpenGL and GLSL</title>
    <link>https://www.keithlantz.net/2011/10/rendering-a-skybox-using-a-cube-map-with-opengl-and-glsl/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/rendering-a-skybox-using-a-cube-map-with-opengl-and-glsl/</guid>
    <pubDate>Sat, 15 Oct 2011 16:43:13 +0000</pubDate>
    <category>GLSL</category><category>OpenGL</category><category>Rendering</category>
    <description>I realized in my previous posts the use of OpenGL wasn&#39;t up to spec. This post will attempt to implement skybox functionality using the more recent specifications. We&#39;ll use GLSL to implement a couple simple shaders. We will create an OpenGL program object to which we will bind our vertex and fragme</description>
  </item>
  <item>
    <title>A preliminary Wavefront OBJ loader in C++</title>
    <link>https://www.keithlantz.net/2011/10/a-preliminary-wavefront-obj-loader-in-c/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/a-preliminary-wavefront-obj-loader-in-c/</guid>
    <pubDate>Sun, 09 Oct 2011 01:28:59 +0000</pubDate>
    <category>Rendering</category>
    <description>This post will examine the Wavefront OBJ file format and present a preliminary loader in C++. We will overlook the format&#39;s support for materials and focus purely on the geometry. Once our model has been loaded, an OpenGL Display List will be used to render the model. Below is a rendering of a drago</description>
  </item>
  <item>
    <title>A keyboard handler and timer in C++ for the Linux platform</title>
    <link>https://www.keithlantz.net/2011/10/a-keyboard-handler-and-timer-in-c-for-the-linux-platform/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/a-keyboard-handler-and-timer-in-c-for-the-linux-platform/</guid>
    <pubDate>Thu, 06 Oct 2011 21:43:29 +0000</pubDate>
    <category>Input Devices</category>
    <description>In this post we will construct a simple timer for evaluating the duration of a frame in addition to a keyboard handler. We will use these objects in conjunction to update our position relative to a cube. SDL and OpenGL will be used for rendering. Below is a frame captured from our application. We wi</description>
  </item>
  <item>
    <title>A Linux C++ joystick object</title>
    <link>https://www.keithlantz.net/2011/10/a-linux-c-joystick-object/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/10/a-linux-c-joystick-object/</guid>
    <pubDate>Wed, 05 Oct 2011 21:24:23 +0000</pubDate>
    <category>Input Devices</category>
    <description>In this post we will implement an object in C++ for accessing the state of an attached joystick. Below is a rendering using SDL and OpenGL of a joystick state. In &#34;/usr/include/linux/joystick.h&#34; we find the following event structure: Once we have opened a device node for reading we will populate thi</description>
  </item>
  <item>
    <title>Adding preliminary TUIO support for multi-touch systems (parsing OSC packets for 2D cursor descriptions)</title>
    <link>https://www.keithlantz.net/2011/05/adding-preliminary-tuio-support-for-multi-touch-systems-parsing-osc-packets-for-2d-cursor-descriptions/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/05/adding-preliminary-tuio-support-for-multi-touch-systems-parsing-osc-packets-for-2d-cursor-descriptions/</guid>
    <pubDate>Wed, 11 May 2011 00:38:24 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>In this post we will begin to add TUIO (Tangible User Interface Object) support to our project by implementing a server module to parse OSC (Open Sound Control) packets for 2D cursor descriptions. This will allow us to import blob events from a client application. We will use the TUIOdroid applicati</description>
  </item>
  <item>
    <title>A calibration method based on barycentric coordinates for multi-touch systems</title>
    <link>https://www.keithlantz.net/2011/05/a-calibration-method-based-on-barycentric-coordinates-for-multi-touch-systems/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/05/a-calibration-method-based-on-barycentric-coordinates-for-multi-touch-systems/</guid>
    <pubDate>Tue, 03 May 2011 23:09:07 +0000</pubDate>
    <category>Mathematics</category><category>Multi-touch Software Development on the Linux Platform</category>
    <description>In this post we will touch upon the calibration component for multi-touch systems. By the end of this post we will implement a calibration widget that is integrated with our tracker modules, but before we do that we&#39;ll discuss the mathematics behind one method for mapping camera space to screen spac</description>
  </item>
  <item>
    <title>Implementing a multi-touch event system to deliver blob events to registered widgets (and creating a demo photo application with inertia) part 2 of 2</title>
    <link>https://www.keithlantz.net/2011/05/implementing-a-multi-touch-event-system-to-deliver-blob-events-to-registered-widgets-and-creating-a-demo-photo-application-with-inertia-part-2-of-2/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/05/implementing-a-multi-touch-event-system-to-deliver-blob-events-to-registered-widgets-and-creating-a-demo-photo-application-with-inertia-part-2-of-2/</guid>
    <pubDate>Sun, 01 May 2011 12:26:22 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>In the previous post we discussed the event queue and the abstract base class for the widgets. Now we will concentrate on creating some widgets that we can use by extending the base class, and we will look at setting up the queue, registering widgets, and calling the processEvents() method in our pr</description>
  </item>
  <item>
    <title>Implementing a multi-touch event system to deliver blob events to registered widgets (and creating a demo photo application with inertia) part 1 of 2</title>
    <link>https://www.keithlantz.net/2011/04/implementing-a-multi-touch-event-system-to-deliver-blob-events-to-registered-widgets-and-creating-a-demo-photo-application-with-inertia-part-1-of-2/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/04/implementing-a-multi-touch-event-system-to-deliver-blob-events-to-registered-widgets-and-creating-a-demo-photo-application-with-inertia-part-1-of-2/</guid>
    <pubDate>Sun, 24 Apr 2011 00:48:39 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>In my previous posts we&#39;ve discussed blob extraction and tracking. Now we&#39;ll take it one step further and design an event system to handle those events and deliver them to registered widgets. In this post we will focus on the event system and the widget base class. In the next post we will extend th</description>
  </item>
  <item>
    <title>C++ implementation of the Connected Component Labeling method using the Disjoint Set data structure</title>
    <link>https://www.keithlantz.net/2011/04/c-implementation-of-the-connected-component-labeling-method-using-the-disjoint-set-data-structure/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/04/c-implementation-of-the-connected-component-labeling-method-using-the-disjoint-set-data-structure/</guid>
    <pubDate>Thu, 14 Apr 2011 23:36:40 +0000</pubDate>
    <category>Algorithms and Data Structures</category><category>Multi-touch Software Development on the Linux Platform</category>
    <description>In the post before last we discussed using cvBlobsLib as a tool for blob extraction. We&#39;re going to revisit the extraction theme and look at a C++ implementation of the Connected Component Labeling method, but before we do that we&#39;re going to look at an implementation of the Disjoint Set data struct</description>
  </item>
  <item>
    <title>Fiducial detection based on topological region adjacency information with identification by angle information</title>
    <link>https://www.keithlantz.net/2011/04/fiducial-detection-based-on-topological-region-ajacency-information-with-identification-by-angle-information/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/04/fiducial-detection-based-on-topological-region-ajacency-information-with-identification-by-angle-information/</guid>
    <pubDate>Sat, 09 Apr 2011 04:52:36 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>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</description>
  </item>
  <item>
    <title>Detecting blobs with cvBlobsLib and tracking blob events across frames</title>
    <link>https://www.keithlantz.net/2011/04/detecting-blobs-with-cvblobslib-and-tracking-blob-events-across-frames/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/04/detecting-blobs-with-cvblobslib-and-tracking-blob-events-across-frames/</guid>
    <pubDate>Mon, 04 Apr 2011 23:01:32 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>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</description>
  </item>
  <item>
    <title>Using OpenCV to process images for blob detection (with SDL and OpenGL for rendering)</title>
    <link>https://www.keithlantz.net/2011/04/using-opencv-to-process-images-for-blob-detection-with-sdl-and-opengl-for-rendering/</link>
    <guid isPermaLink="true">https://www.keithlantz.net/2011/04/using-opencv-to-process-images-for-blob-detection-with-sdl-and-opengl-for-rendering/</guid>
    <pubDate>Sun, 03 Apr 2011 20:18:34 +0000</pubDate>
    <category>Multi-touch Software Development on the Linux Platform</category>
    <description>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.</description>
  </item>
</channel>
</rss>
