Glass teapot (Composition by voxdeserti)

Author: voxdeserti
License: Public Domain
Date: 2012.11.06
Compatibility: 10.6, 10.7, 10.8
Required plugins:

glass GLSL shader

fragDepth (Composition by gtoledo3)

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

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.)

Ordered Cue Stack (Composition by lbk)

Author: lbk
License: Creative Commons Attribution-NonCommercial-ShareAlike
Date: 2012.09.21
Compatibility: 10.7
Required plugins:

I built this for a project where I would be sending my media off to be played in a live performance setting by an operator other that myself. The copyright stuff only makes sense in that context. The rest should be generally useful.

It is a simple linear cue stack with spacebar as "GO" button configured for a 6 cue show. Adding more cues is a matter of cut, paste, and connect the dots. The thought was that the final show version would be wrapped in a simple application via XCode or Quartz Builder to hold all the media within a custom application and keep away from prying (copyright infringing) eyes. The copyright stuff is a simple bit of logic where all you need do is change the second date (it's up to you to translate the Human readable date into Time Interval Since Reference Date number) to the day after the show closes on your contract and a watermark shows up over the video.

Obviously variants are easily customizable by substituting one or more Sprites for the Billboard to stretch across multiple screens, different "GO" buttons for different screens/Sprites, etc, etc.

Hopefully I commented the code clearly enough for it to make sense if it is not immediately obvious. You will need your own video files to test the QTZ file.

If you like it (or hate it) or make modifications I'd love to see(hear) what you do(think) with(about) it.

It was built in Lion using Quartz Composer 4.6 so may not read properly if you are on SL or earlier.



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.


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