Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A .qtz is like source code. No way to compile it?



But I guess you mean I can subclass QCRenderer and create a method like
[[QCRenderer alloc] initWithOpenGLContext:_openGLContext pixelFormat:_format encryptedfile:[[NSBundle mainBundle] pathForResource:@"MyComp" ofType:@"qtz"]];

actually, it's quite a lot easier; no need for subclassing -QCRenderer needs a file, so give it a file:

myEncryptedFile = [[NSBundle mainBundle] pathForResource:@"MyComp" ofType:@"qtz"];
myDecryptedFile = [ANYUnencrypter decryptFile:myEncryptedFile];
[[QCRenderer alloc] initWithOpenGLContext:_openGLContext
pixelFormat:_format
file:myDecryptedFile];


I'm sure there are plenty of (NSData*)encrypt / (NSData*)decrypt algorythms out there!

maybe there's an QCRenderer initializer for initWithData: ?
would be easier, because otherwise you'd had to create a temp file by code which someone already mentioned earlier...






I have to mention, that I dislike the Idea of filing a request on source-protecting methods.

In general this makes the thing more slowly (taking time to decrypt), less open (less examples and things to learn from) and less fun!
In fact, that's the only reason I'm answering...



;)

Regards,
Michael




btw: if you're just playing the composition, have you already tried to make a *.mov out of it?
It's hard opening a *.mov in QC :D


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: A .qtz is like source code. No way to compile it? (From: "Christopher Hickman" <email@hidden>)
 >Re: A .qtz is like source code. No way to compile it? (From: Fabrice Pipart <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.