Get Mesh Output Port Tooltip Image/ Tooltip Stuff -Structure Tools

It would be convenient to be able to "get" the image that appears at the output of a mesh port tooltip, and be able to render that directly to a Billboard/Sprite, whatever.

The output of a mesh tooltip shows an image (aberrant for the data type), of a post transformed mesh (distinctly different from "get texture" which just removes grabs the texture from the pipeline).

I'm marking this is started/inactive since there's been previous discussion of supplying tooltip info in a structure, or getting namespace info. I'm tagging this as a structure tools thing.

I know that mesh port is "undocumented", but it seems like the mechanism that provides tooltip images is probably well documented... I just don't know if that can be transferred into a full resolution image.

Also, there are tons of "namespace" things that would be great to be able to grab from structures that aren't actually "part" of a structure, and we can't do anything to get at them for making logic decisions.

OpenCL Sculpt (Composition by gtoledo3)

Author: gtoledo3
License: (Other — see description)
Date: 2010.07.19
Compatibility: 10.6
Required plugins:

This composition is a demo that shows how to setup an interactive sculpt method with the Apple Mesh engine in Snow Leopard.

Shoutout to cwright for a question he answered a long time ago (hmm, 2 years? Time flies...) where the resolution was to take a Kineme3D warp and sample the output with a sample and hold before the renderer, so that a gravity warp would freeze on mouse up, and clear on mouse down.

After that lingered in my mind, I realized I could setup a feedback/multiplexer loop that would allow one to do a type of additive sculpting that wouldn't clear the sample and hold data every time a mouse down event occurred, but additionally clear it if I wished with a secondary mouse button.

A recent discussion about pushing around vertices in OpenCL led me to whip this up, since I was pretty sure the routine could be applied to OpenCL just as easily.

So, this uses that kind of sample and hold based feedback loop with multiplexers to allow one to use a mesh filter in a way that adds the results of deformation to the resulting mesh with each push/pull motion. This is very similar to some sculpting and vertex push functions in modeling programs.

Rev History- .01- Slight tweak to improve clearing mesh filter effect.


gtoledo3's picture

I reconnected the numBodies output port to the corresponding input on the kernel.

This composition was really making my computer flip out when I would adjust the published numBodies; I believe this is because of the fact that the Initial Values javascript is still attached, which then causes the Position/Velocity calculations that happen with the feedback loop to be off.

The composition has been performing OK for me since doing that.

Working "Pages Jiggle"/Mesh Bend update example

gtoledo3's picture

As the title implies, this is an update to the Pages Jiggle.qtz from the OpenCL Developer Examples for Quartz Composer that allows it to function properly.

t-linked + cybero mixdown + music visualizers

cybero's picture

A] - a mixdown of the Audio Tools synced offline rendering of the examples posted @, with the kind permission of their author, Pascal Lesport.

t-linked + cybero mixdown - mini showreel from cybero on Vimeo.

With the kind permission of Pascal Lesport, the original author of some fine OpenCL examples to be found @ , a fresh mixdown of some of the examples posted.

Expect a posting of the visualizer versions of these Audio Tools based compositions soon.

Those files have been partially re-configured to suit an Audio Tools installation, although the original t-linked OpenCL & GLSL have been left , essentially, intact.

The compositions are audio synced to the mixdown tracks that also affect the resulting rotations, transformations, positions and other dynamic parameters, drawing into meshes and GLSL grids , sometimes with a static DAE input, otherwise with an OpenCL Particle output.

What really distinguishes these OpenCL compositions is that they employ a combination of Supersampling and Feedback to further change the rendered result of the OpenCL kernel, the output of which kernel has already been affected by the peak and spectrum [low, mid, high] data retrieved by Audio Tools from Kineme.

Offline rendered in Quartz Crystal to the tunes that they were set to. Resynced and output from GarageBand, wherein the original midid transcripts and loop mixes were created.

still being processed at the time of writing

B] - a set of re-drafted and protocolised for iTunes set of QC visualizers, employing the OpenCL & GLSL within the t-linked examples, as well as other components built in by yours truly :-).

Download link ----> [t-linked+cybero](