Hi all, I notice that converting tiger Javascript patches to Leopard (after rewriting to the function 'main' format) act strange, yielding script errors when re-written to QC3. I copy scripts into new Javascript patches and they work with no errors. QC3 bug?
Dave C. -----Original Message----- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 11/20/2007 5:38 PM To: [email protected] Subject: Quartzcomposer-dev Digest, Vol 33, Issue 53 Send Quartzcomposer-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/quartzcomposer-dev or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Quartzcomposer-dev digest..." Today's Topics: 1. Re: Slow Performance in Leopard (Ricardo Silva) 2. Re: Slow Performance in Leopard (Patrick Sheffield) 3. Re: Slow Performance in Leopard (Ricardo Silva) 4. JavaScript Patch Names Inputs and Outputs (Alex Drinkwater) 5. Re: JavaScript Patch Names Inputs and Outputs (Karan Lyons) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Nov 2007 12:00:42 -0800 From: Ricardo Silva <[EMAIL PROTECTED]> Subject: Re: Slow Performance in Leopard To: [email protected] Cc: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Yes marco. I have sent messages to the list and getting no feedback regarding the same situation. I have experienced similar situation where the frame playback drops to 4 or 6 fps, but in tiger it was running at 60fps. I also have some comps where the interactivity inside QC becomes a frustration because I have to wait until QC decides to let me do the next move. Also, I have noticed that inside QC I can do a "Tiger runtime" test, and then the composition seems to play more fluid, but when I am adjusting or editing the comp, it is very slow to the point that I need to restart the application and then it becomes "just a little bit faster" - - - - - - - - - - : Ricardo Silva [EMAIL PROTECTED] : ======================= -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.apple.com/pipermail/quartzcomposer-dev/attachments/20071120/126f889f/attachment.html ------------------------------ Message: 2 Date: Tue, 20 Nov 2007 12:14:40 -0800 From: Patrick Sheffield <[EMAIL PROTECTED]> Subject: Re: Slow Performance in Leopard To: Ricardo Silva <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED], [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Can I ask what graphics card you're running? Patrick On Nov 20, 2007, at 12:00 PM, Ricardo Silva wrote: > Yes marco. I have sent messages to the list and getting no feedback > regarding the same situation. > > I have experienced similar situation where the frame playback drops > to 4 or 6 fps, but in tiger it was running at 60fps. > > I also have some comps where the interactivity inside QC becomes a > frustration because I have to wait until QC decides to let me do > the next move. > > Also, I have noticed that inside QC I can do a "Tiger runtime" > test, and then the composition seems to play more fluid, but when I > am adjusting or editing the comp, it is very slow to the point that > I need to restart the application and then it becomes "just a > little bit faster" > > - - - - - - - - - - > : > Ricardo Silva > [EMAIL PROTECTED] > : > ======================= > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer- > [EMAIL PROTECTED]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/psheffield > %40earthlink.net > > This email sent to [EMAIL PROTECTED] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.apple.com/pipermail/quartzcomposer-dev/attachments/20071120/d2943e95/attachment.html ------------------------------ Message: 3 Date: Tue, 20 Nov 2007 13:24:50 -0800 From: Ricardo Silva <[EMAIL PROTECTED]> Subject: Re: Slow Performance in Leopard To: Patrick Sheffield <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED], [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Sure: I have a G5 dual 2Ghz with the standard card with 256 MB. (ATI) - - - - - - - - - - : Ricardo Silva ======================= On Nov 20, 2007, at 12:14 PM, Patrick Sheffield wrote: > Can I ask what graphics card you're running? > > Patrick > > On Nov 20, 2007, at 12:00 PM, Ricardo Silva wrote: > >> Yes marco. I have sent messages to the list and getting no feedback >> regarding the same situation. >> >> I have experienced similar situation where the frame playback drops >> to 4 or 6 fps, but in tiger it was running at 60fps. >> >> I also have some comps where the interactivity inside QC becomes a >> frustration because I have to wait until QC decides to let me do >> the next move. >> >> Also, I have noticed that inside QC I can do a "Tiger runtime" >> test, and then the composition seems to play more fluid, but when I >> am adjusting or editing the comp, it is very slow to the point that >> I need to restart the application and then it becomes "just a >> little bit faster" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.apple.com/pipermail/quartzcomposer-dev/attachments/20071120/8d0f3ce9/attachment.html ------------------------------ Message: 4 Date: Tue, 20 Nov 2007 22:21:26 +0000 (GMT) From: Alex Drinkwater <[EMAIL PROTECTED]> Subject: JavaScript Patch Names Inputs and Outputs To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Is it possible to have more than one named output from a JavaScript module? I can name the inputs without difficulty, but if I attempt to define more than one named output, I get errors. I notice in the Developer Examples folder, example compositions using the JavaScript patch either have a single named output, or multiple un-named ones. Is this a bug or a feature? The following code: function (__number input1) main (__number UnitHeight, __number UnitWidth, __number PixelHeight, __number PixelWidth) { var result = new Object(); return result; } gives the following error message, and an error message at the bottom of the editor window saying Incorrect or missing "main" function' - - - - - - - - - - - - - - - - - - - - - - - - - - - 0x00387c82: GFException 0x003898c5: GFThrowException 0x002dbf57: -[GFNode createInputPortWithArguments:forKey:] 0x002dbd9a: -[QCPatch(Override) createInputPortWithArguments:forKey:] 0x002debef: -[QCPatch(Wrappers) createInputWithPortClass:forKey:attributes:arguments:order:] 0x002deb46: -[QCPatch(Wrappers) createInputWithPortClass:forKey:attributes:] 0x002e901f: -[QCProgrammablePatch _updateTypes:ports:list:direction:] 0x002e8b6b: -[QCProgrammablePatch setParameterList:] 0x1e5582d2 0x1e555c85 0x002e566c: -[QCProgrammablePatch recompileSourceOfType:] 0x003d39ca: -[QCProgrammablePatch setValue:forUndefinedKey:] 0x01e41ac8: _NSSetUsingKeyValueSetter 0x01e4152e: -[NSObject(NSKeyValueCoding) setValue:forKey:] 0x002e4965: -[QCPatch(StateKeys) setValue:forStateKey:] 0x003c6d70: -[QCProgrammablePatchView _updateSource:] 0x01e54663: __NSFireTimer 0x00f25b7e: CFRunLoopRunSpecific 0x00f25d38: CFRunLoopRunInMode 0x037608a4: RunCurrentEventLoopInMode 0x037606bd: ReceiveNextEventCommon 0x03760531: BlockUntilNextEventMatchingListInMode 0x0111dd5b: _DPSNextEvent 0x0111d6a0: -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 0x011166d1: -[NSApplication run] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Any further attempts to edit the code results in the reappearance of the above error. Oddly, the output ports all show up, named as specified, but the input port does not appear. Anyone any thoughts on how to get this to work? alx http://www.toneburst.net ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------ Message: 5 Date: Tue, 20 Nov 2007 17:36:48 -0500 From: Karan Lyons <[EMAIL PROTECTED]> Subject: Re: JavaScript Patch Names Inputs and Outputs To: Alex Drinkwater <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" There is one solution, which is using the old javascript patch. The support for it is still there, you just need to have an old composition that still has the patch in it. Attached is such a composition. Hope it helps! -------------- next part -------------- A non-text attachment was scrubbed... Name: Old Javascript.qtz Type: application/x-quartzcomposer Size: 683 bytes Desc: not available Url : http://lists.apple.com/pipermail/quartzcomposer-dev/attachments/20071120/78ab343f/OldJavascript.bin -------------- next part -------------- Namaste, Karan Karan "The Architect" Lyons: Web Design & Development at Geek Ramblings | Student | Omnigeek contact | email: [EMAIL PROTECTED]| cell: 857-544-9527 | skype: taoofkaran | aim: taoofkaran On Nov 20, 2007, at 5:21 PM, Alex Drinkwater wrote: > Is it possible to have more than one named output from > a JavaScript module? I can name the inputs without > difficulty, but if I attempt to define more than one > named output, I get errors. > > I notice in the Developer Examples folder, example > compositions using the JavaScript patch either have a > single named output, or multiple un-named ones. Is > this a bug or a feature? > > The following code: > > function (__number input1) main (__number UnitHeight, > __number UnitWidth, __number PixelHeight, __number > PixelWidth) > { > var result = new Object(); > > > return result; > } > > gives the following error message, and an error > message at the bottom of the editor window saying > Incorrect or missing "main" function' > > - - - - - - - - - - - - - - - - - - - - - - - - - - - > > 0x00387c82: GFException > 0x003898c5: GFThrowException > 0x002dbf57: -[GFNode > createInputPortWithArguments:forKey:] > 0x002dbd9a: -[QCPatch(Override) > createInputPortWithArguments:forKey:] > 0x002debef: -[QCPatch(Wrappers) > createInputWithPortClass:forKey:attributes:arguments:order:] > 0x002deb46: -[QCPatch(Wrappers) > createInputWithPortClass:forKey:attributes:] > 0x002e901f: -[QCProgrammablePatch > _updateTypes:ports:list:direction:] > 0x002e8b6b: -[QCProgrammablePatch setParameterList:] > 0x1e5582d2 > 0x1e555c85 > 0x002e566c: -[QCProgrammablePatch > recompileSourceOfType:] > 0x003d39ca: -[QCProgrammablePatch > setValue:forUndefinedKey:] > 0x01e41ac8: _NSSetUsingKeyValueSetter > 0x01e4152e: -[NSObject(NSKeyValueCoding) > setValue:forKey:] > 0x002e4965: -[QCPatch(StateKeys) > setValue:forStateKey:] > 0x003c6d70: -[QCProgrammablePatchView _updateSource:] > 0x01e54663: __NSFireTimer > 0x00f25b7e: CFRunLoopRunSpecific > 0x00f25d38: CFRunLoopRunInMode > 0x037608a4: RunCurrentEventLoopInMode > 0x037606bd: ReceiveNextEventCommon > 0x03760531: BlockUntilNextEventMatchingListInMode > 0x0111dd5b: _DPSNextEvent > 0x0111d6a0: -[NSApplication > nextEventMatchingMask:untilDate:inMode:dequeue:] > 0x011166d1: -[NSApplication run] > > - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - > > Any further attempts to edit the code results in the > reappearance of the above error. Oddly, the output > ports all show up, named as specified, but the input > port does not appear. > > Anyone any thoughts on how to get this to work? > > > alx > http://www.toneburst.net > > > ___________________________________________________________ > Want ideas for reducing your carbon footprint? Visit Yahoo! For > Good http://uk.promotions.yahoo.com/forgood/environment.html > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list ([email protected] > ) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/karan%40geekramblings.com > > This email sent to [EMAIL PROTECTED] ------------------------------ _______________________________________________ Quartzcomposer-dev mailing list [email protected] http://lists.apple.com/mailman/listinfo/quartzcomposer-dev End of Quartzcomposer-dev Digest, Vol 33, Issue 53 **************************************************
<<winmail.dat>>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

