I'm not sure how it is that Value Historian provides access to writing data
inside the qtz via input ports from a technical standpoint.

I do know that the image importer patch is prototypical example patch of how
to pull in any kind of file or data, and embed it in a qtz. Any data can be
pulled in, so long as the extension is an image file type. So, I know there
is some kind of mechanism for storing data to qtz via patch, undocumented or
not.

In the attached composition, if one selects settings on this image importer,
and holds down Option while pressing the Import From File field, one can
save the "Image Data" to your Desktop (or wherever). Rename the file with a
dae extension, and "voila", the qtz was used as a receptacle to hold dae
data.

One can hold pretty much any info in a qtz using this method. It would be
nice to have a "holds any kind of data via input port" sample and hold type
patch using some of these principles.

EDIT: The message was too big because of the qtz attachment... I simply
renamed the sphere.dae from the mesh filter examples as a jpg, and embedded
it into a qtz file. One can try this on their own if they wish.

-George Toledo

On Mon, May 3, 2010 at 5:14 AM, Achim Breidenbach <ac...@boinx.com> wrote:

> Hello George,
>
> the problem I see is that, when you try to save data to the qtz file from a
> plugin point of view, you don't have any connections back to your container
> file where your plugin instance was originally extracted from. So I see no
> way for a plugin to find the host composition file to store data in.
>
> Any ideas how to solve this problem?
>
> Best,
>
> Achim Breidenbach
> Boinx Software
>
> On 03.05.2010, at 07:29, George Toledo wrote:
>
>
> On Wed, Apr 28, 2010 at 5:27 PM, Jerry Smith <je...@sonsmi.com> wrote:
>
>> Thanks for the feedback, Chris and Achim.
>>
>> I am writing before coming back to this -- I was thinking there could be a
>> solution using logic/conditionals. The Signal patch could trigger a Sample
>> and Hold on startup, right? Macros/patches keep their values, so why so
>> difficult?
>>
>
> Sample and Hold only has a Virtual input. Virtual data isn't able to be
> stored to file, or in-composition. Trying to store something across Open and
> Saves with Sample and Hold is going to be a gigantic time burner, and
> doesn't work.
>
> It would be technically possible to have a version of Sample and Hold that
> embedded data in the qtz, and it could do it with any data type, save for
> Virtual. The Kineme Value Historian is a version of this concept that will
> store many data types, but not Images, Virtual, Interaction, Structure or
> other non-standard types. Yes, it does have Virtual Inputs, but stores a few
> different data types through conversion.
>
> I don't think that Value Historian is configured in a way that makes it an
> instant replacement for Sample and Hold, but you may be able to make it work
> for you. It could very well be extended to save other data types, and you
> may want to file a feature request, or request a quote if there is some
> functionality that you need that isn't there.
>
> I don't believe Achim is correct that data cannot be stored in-composition
> with a custom patch. Any data type is able to be embedded in a qtz, though
> large file sizes can cause problems when attempting to run the resulting
> qtz. There shouldn't be a technical problem with recording user data to the
> actual qtz file, and having a patch have a setting to retrieve that data.
>
>
> Best,
> George Toledo
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com
>
> This email sent to ac...@boinx.com
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to