尽管在运行时进行了测试,但在 Snow Leopard (10.6) 中创建的石英组合在 Leopard (10.5) 中不起作用

发布于 2024-08-26 10:24:38 字数 1345 浏览 7 评论 0原文

我有一个相当先进的(许多补丁和子补丁)石英合成,它是在 Snow Leopard 中创建的,但在 Leopard 中运行得不好(许多元素未渲染)。该组合通过 Quartz Composer 的“运行时测试”选项测试正常,并且适用于 Leopard 32 位和 Leopard 64 位(菜单项“文件 | 运行时测试 | Leopard 32 位”)。

在实际的 Leopard(32 位)中系统中,很多元素未在 Quartz 合成中渲染,下面是在 Leopard 下的 QuickTime Player 中运行合成时的日志文件摘录:

QuickTime Player[134] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 335 nodes>: Patch with name "/units to pixels" is missing 
QuickTime Player[134] *** Message from <QCPatch = 0x06D82880 "(null)">:Cannot create node of class "/units to pixels" and identifier "(null)" 
QuickTime Player[134] *** Message from <QCPatch = 0x06D7C130 "(null)">:Cannot create node of class "/resize image to target" and identifier "(null)" 
QuickTime Player[134] *** Message from <QCPatch = 0x06D7C130 "(null)">:Cannot create connection from ["outputValue" @ "Math_1"] to ["Target_Pixels" @ "Patch_2"] 

补丁 单位到像素 是 Snow 中的系统虚拟补丁。 Leopard(位于 /System/Library/Graphics/Quartz Composer Patches/Units to Pixels.qtz 中),而补丁 resize image to target 是位于我的自定义虚拟补丁 。

看来我们可以排除组合物引用丢失的虚拟补丁的问题,我已经在另一个用户的帐户下测试了该组合物,它运行良好,这表明它已经嵌入了“调整图像大小以目标”虚拟补丁 它位于我的主目录中,

我真的很困惑为什么该组合物通过了 Leopard 运行时测试,但无法在实际的 Leopard 操作系统中运行?我需要对合成文件运行后处理步骤吗?有什么办法可以让这个补丁与 Leopard 更加兼容吗?

提前致谢。

I have a reasonably advanced (many patches and subpatches) quartz composition that was created in Snow Leopard but doesn't run well (many elements are not rendered) in Leopard. The composition tested OK via Quartz Composer's Test in Runtime option and works fine for both Leopard 32-bits and Leopard 64-bits (menu item "File | Test in Runtime | Leopard 32-bits".

In an actual Leopard (32-bits) system, a lot of elements are not rendered in the quartz composition. Below are the log file excerpt when the composition is run in QuickTime Player under Leopard:

QuickTime Player[134] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 335 nodes>: Patch with name "/units to pixels" is missing 
QuickTime Player[134] *** Message from <QCPatch = 0x06D82880 "(null)">:Cannot create node of class "/units to pixels" and identifier "(null)" 
QuickTime Player[134] *** Message from <QCPatch = 0x06D7C130 "(null)">:Cannot create node of class "/resize image to target" and identifier "(null)" 
QuickTime Player[134] *** Message from <QCPatch = 0x06D7C130 "(null)">:Cannot create connection from ["outputValue" @ "Math_1"] to ["Target_Pixels" @ "Patch_2"] 

The patch units to pixels is a system virtual patch in Snow Leopard (located in /System/Library/Graphics/Quartz Composer Patches/Units to Pixels.qtz) whereas the patch resize image to target is a custom virtual patch located in my home directory.

It seems that we can cross out problems in which the composition is referencing a missing virtual patch. I have tested the composition under another user's account and it ran fine which shows that it already embeds the "resize image to target" virtual patch that is located in my home directory.

I'm really puzzled why the composition passes the Leopard Runtime test but yet fail to run in an actual Leopard OS? Is there a post-processing step that I need to run to the composition file? Is there any way to make this patch more compatible with Leopard?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦亿 2024-09-02 10:24:38

Leopard 不支持嵌入式虚拟补丁(尽管“运行时测试”功能似乎支持)。

转到文件菜单并按住Option键,然后选择将拼合副本另存为...。这会将所有虚拟补丁转换为 Leopard 应该能够理解的普通宏。

Leopard does not support embedded virtual patches (even though the Test In Runtime feature appears to).

Go to the File menu and hold the Option key, then select Save a Flattened Copy As.... This will convert all virtual patches to normal Macros, which Leopard should be able to comprehend.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文