Flash Pixel Bender 滤镜是一​​项广泛使用的功能吗?

发布于 2024-11-16 13:52:58 字数 178 浏览 3 评论 0原文

我还没有在 facebook 或其他应用程序上看到很多 Flash 游戏真正利用它(或似乎利用它)。

有一些很好的专业使用示例吗?

Pixel Bender 是否太慢而无法在当今的网络硬件上实际使用?例如,我读到 Flash 将在较旧的 Mac (PowerPC) 上回退到解释模式,但这会是一个交易杀手吗?

I haven't seen many Flash games on facebook or other applications really utilize it yet (or appear to utilize it).

Are there some good professional examples of its use?

Is pixel bender just too slow for practical use on today's web hardware? I read that Flash will fallback to interpreted mode on older Macs (PowerPC), for example, but is that a deal killer?

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

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

发布评论

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

评论(2

绝對不後悔。 2024-11-23 13:52:58

我将它们用于游戏和电影网站。例如,《哈利·波特 7》第一部分的官方网站。还有 Macgruber 的一些促销游戏,以及宣传电影《终结者救赎》的 AIR 应用程序。

它们效果很好,并且在许多情况下比以其他方式实现相同效果要快得多。但有一个非常具体的用例。我认为您很少看到它们的主要原因之一是新着色器的编程需要大多数 AS 开发人员不具备的技能。这很困难,而且完全是程序性的。

所以我无法解释它们被广泛使用的原因,但它们绝对是一个可以投入生产的好功能。

I have used them for games and websites of motion picures. For example the official site of Harry Potter 7, Part I. And also for some promotional games for Macgruber, and for an AIR app that promoted the movie Terminator Salvation.

They work great, and in many cases can be significantly faster than doing the same effects in another way. But have a very specific use case. I think one of the main reasons you see so little of them is the programming of new shaders requires skills most AS developer do not have. Its hard, and its entirely procedural.

So I cannot account for their being widely used, but theya re definitely a good feature that is production ready.

又爬满兰若 2024-11-23 13:52:58

我不确定“解释模式”是什么意思,但即使它们与像素着色器非常相似,像素弯曲过滤器 不在 Flash Player 10 中的 GPU 上运行。这主要是为了确保平台之间的一致性。然而,随着版本 11 的引入,这种情况将会改变,版本 11 支持适当的硬件加速 3D,并且可以使用像素着色器的像素弯曲过滤器。

至于它们有多常见很难说,它们确实需要一些努力才能制作,因为它们是在单独的程序中制作的。从速度上来说,它们比使用动作脚本循环单个像素要快几个数量级。

I'm not sure what you mean by "interpreted mode", but even though they are very similar to pixel shaders, pixel bender filters do not run on the GPU in Flash Player 10. This is primarily to ensure consistency between platforms. This will however change with the introduction of version 11 that supports proper hardware accelerated 3D and can use pixel bender filters for pixel shaders.

As for how common they are it is hard to say, they do require some effort to make as they're made in a separate program. Speedwise they are orders of magnitude faster than looping over individual pixels using actionscript.

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