nVidia

CINormalMap_gt (Composition by gtoledo3)

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

This is a core image filter that takes a greyscale heightfield (bump map) image, and outputs a normal map, in the style of nVidia Normal Map Filter plugin for photoshop, or NMG.

This allows one to create greyscale imagery in Quartz Composer, run image through this filter, and generate normals that can be rendered in the GLSL shader. This example uses Christopher Wright's Normal Map 1.qtz as a rendering destination, to show how it works.

Normal mapping is used to fake the appearance of a higher poly mesh than is actually being used when using GL Lighting.

http://en.wikipedia.org/wiki/Normal_mapping

Graphics Driver message

cybero's picture
19/05/2010 09:52:58   kernel   The graphics driver has detected a corruption in its command stream.

was the error message that came after a QC crash whilst creating GL Tool structures and co-existing Mesh structures from, essentially the same array .

preceded by messages about

19/05/2010 09:52:58   Quartz Composer[29602]   *** __NSAutoreleaseNoPool(): Object 0x147173360 of class NSCFArray autoreleased with no pool in place - just leaking

Got an idea as to what is precipitating that message, but haven't ever achieved that deeper degree of graphical trouble before now from a previously AOK composition.