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.

"Ashima" Vertex Noise with Lighting and Texture (Composition by gtoledo3)

Author: gtoledo3
License:
Date: 2012.09.01
Compatibility: 10.5, 10.6, 10.7, 10.8
Categories:
Required plugins:
(none)

Per the conversation here: http://kineme.net/forum/DevelopingCompositions/Environmentmapsandvertexn...

I decided to put together an example over morning coffee.

This is a GLSL shader that "intercepts" the lighting position, diffuse, specular, and shininess, etc., and basically just sets up a Blinn-Phong model lighting using that info - so Lighting patch controls can be used as expected.

Then I added the popular "ashima arts" perlin noise implementation that's been kicking around that I've been seeing in the frag shaders, but placed in the vertex shader - so that there's some tweakable exposure (though I don't really recommend it) instead of just invoking the default noise function.

Release: FileTools, v1.1

Release Type: Production
Version: 1.1
Release Notes

Changes since FileTools 1.0

  • Incorporated the PDF Renderer patch, which was formerly a standalone plugin. Be sure to remove PDFRenderer.plugin before installing FileTools 1.1.
  • Tested on 10.8.

Release: Alpha Blend Mode, v1.2

Release Type: Production
Version: 1.2
Release Notes

Changes since AlphaBlendMode 1.1

  • Tested on 10.8

Release: DataTools, v1.1

Release Type: Production
Version: 1.1
Release Notes

Source code is available on GitHub.

Changes since DataTools 1.1

  • Tested on 10.8
  • Fixed DTMultiExpressionPatch so that white space characters no longer throw errors when used in the right side of an equation.

Known Issues

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

OpenGL Lighting (Composition by gtoledo3)

Author: gtoledo3
License:
Date: 2012.08.02
Compatibility: 10.4, 10.5, 10.6, 10.7
Categories:
Required plugins:
(none)

This is an example that gives some pointers about using the lighting environment patch in QC (OpenGL Lighting).

I've made some basic notes about the main functions, and setup some lights with animated attenuation to demonstrate mixing colored lighting with a main white light. It's sort of a study in attenuation and placement.

Not groundbreaking stuff, but if you ever have trouble with gl lighting, this may help. It's pretty much based in one of the more popular dl's/instructions from my site (to my surprise), but a little bit updated, and better annotated.