PDA

View Full Version : Quartz Composer GLHeightField Modification



toneburst
12-15-2007, 06:08 AM
Just wondering if anyone has tried modifying the GLHeightField Quartz Composer plugin example in the Leopard developer examples folder
(/Developer/Examples/Quartz Composer/Plugins/GLHeightField/).

It's a height field generator (as you'd expect) which uses VBOs. It currently has the option of outputting a flat-colour or wireframe mesh, but I'd really love to be able to apply a texture to the mesh. I've seen a few VBO tutorials, but none seem to show specifically how to apple a texture to the mesh. I wonder if anyone could give me some pointers as to how this might be achieved.

Cheers,

alx