Unsupported — We cannot guarantee that this software will work properly on Mac OS 10.8 and above. Please be careful.

Release: GL Tools, v20071212

Release Type: Beta
Version: 20071212
Release Notes

This update to GLTools adds in a Grid Generator and Renderer. Unlike the GLSL Grid patch, you are free to modify the vertexes on the generated grid directly.

It's a little difficult to understand at first, so I'll probably make a demo composition shortly.

PreviewAttachmentSize
GLTools-20071212.zip444.57 KB

cwright's picture
demo

Here's a demo composition and screenshot.

(Video courtesy of @franz)

PreviewAttachmentSize
GLGrid Demo.qtz2.75 KB
GLGrid Demo ScreenShot.jpg
GLGrid Demo ScreenShot.jpg63.46 KB

cwright's picture
uv and state saving

the U and V coordinates may get messed up in the demo composition (and may get messed up in normal usage too?) -- I'll try to fix that.

I'm thinking about making the structure generator save its state too, so you can continue editing it at a later time. How do y'all feel about this?

franz's picture
feel good

State saving is overkill....

franz's picture
Hidden edges

Thank you so much, now I can have a quad display of my grid, and it still works within my displacement shader...

yanomano's picture
Really elegant grid !

These Patches are very promising. I have some problem with point selection. Perhaps I don't understand how it works : I can select a point with mouse (left clic) ...but the point does not stay at his new place when I release the left button (I have a wacom tablet and losed the original apple mouse, perhaps a bug with this... )

yanomano.

cwright's picture
commit changes

You have to trigger the "Commit Changes" input for the modification to stick. It's a weird interface, but it was the best I could do at the time :) This allows you to see how a modification would look, without committing to it (free undo, in a weird way)

In my demo composition, commit is tied to a right-mouse click which my not be possible with a tablet... maybe bind it to a keyboard key?

Installation Instructions

Place the plugin file in
/Users/[you]/Library/Graphics/Quartz Composer Patches/
(Create the folder if it doesn't already exist.)

A set of patches for drawing GL primitives and modifying the GL environment.

Source code is available on GitHub.

Credits

Logo by @usefuldesign.au.

Known issues

  • The GL Field of View patch doesn't work properly on Mac OS 10.9 (it produces stretched output).