10.5

Mac OS X 10.5 (Leopard)

fragDepth (Composition by gtoledo3)

Author: gtoledo3
License: Public Domain
Date: 2012.10.20
Compatibility: 10.5, 10.6, 10.7, 10.8
Categories:
Required plugins:
KinectTools

I was reading an OpenGL forum last night, and it became obvious that many people think you can't mix the results of a scene created with a fragment shader with objects created with vertices (like a Sphere or Cube, in QC world).

This composition shows how to write to gl_FragDepth, so that your scene can depth test against other geometry rendered in the scene. Specifically, it uses a Kinect input, in the most basic way possible, to make it very obvious how to tweak to your liking. Note that my hand is in front of the teapot in the sample image, while the rest of me is behind it. This is depth testing with the most basic kinect output image.

The same principle can be applied to stuff that's done programmatically in the fragment shader by taking whatever value represents the depth of the objects, and writing that to gl_FragDepth, usually with some number massaging.

(Thanks to cwright for showing me gl_FragDepth some years back.)

Release: Serial IO, v1.0

Release Type: Production
Version: 1.0
Release Notes

Changes since Serial IO 0.2

  • Released source code on GitHub.

Release: AudioTools, v1.1

Release Type: Production
Version: 1.1
Release Notes

Source code available on GitHub.

Changes since AudioTools 1.0

  • Added "Channels" input to the Kineme Audio Input patch, for specifying which channels to analyze (feature request).
  • Tested on 10.8.

Credits

@gtoledo3 (http://qctwit.blogspot.com/) commissioned the development of the Audio Embedded File patches.

Release: DataTools, v1.2

Release Type: Production
Version: 1.2
Release Notes

Source code is available on GitHub.

Changes since DataTools 1.1

  • Fixed DTMultiExpressionPath so that underscores, logical and, and logical or no longer throw exceptions on use.

Known Issues

Kineme StructureTools, Kineme Value Historian, and Kineme Spooky must be uninstalled to use Kineme DataTools.

Release: MultitouchPatch, v1.1

Release Type: Production
Version: 1.1
Release Notes

Changes since MultitouchPatch 1.0

  • Fixed MultitouchPatch so that output structure retains events in the order received. (feature request)
  • Fixed MultitouchPatch so that the output structure's key values are no longer integers, and thus compatible with the Structure Key Member patch.
  • Tested on 10.8.