Flash10 三角形渲染

发布于 2024-08-27 08:55:56 字数 135 浏览 2 评论 0原文

我了解 Papervision 3D。然而,很多真实感来自于纹理。

有谁知道一个基准测试可以显示 flash10 可以合理渲染多少个单色、闪光阴影的 3D 三角形?我无法在网上找到这个基准测试或为此的引擎(大多数人似乎真正重视位图/纹理)。

I know about Papervision 3D. However, alot of the realism there comes from textures.

Does anyone know of a benchmark that shows how many single-color, flash-shaded 3D triagnels flash10 can reasonably render? I can't find this benchmark online or an engine for this (most seems to really value bitmaps / texture).

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

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

发布评论

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

评论(2

意犹 2024-09-03 08:55:56

我最近在创建游戏时做了一些非常类似的事情。我在制作我正在制作的 papervision 游戏时遇到了很大的问题:

在 Flash 论坛上我说过这个......
http://built4flash.stackexchange.com/questions/ 197/efficiency-of-material-swapping-in-papervision

游戏本身将大约 200 个立方体渲染为单独的平面。 4 个带有纹理的可见平面。

当我第一次将这个自定义多维数据集预加载到内存中时,遍历它们将花费大约 45 秒到一分钟的时间。
在这种情况下,我通过交换材料来达到我的结果。本质上,在 colorMaterial 中渲染相同的走廊游戏需要 2 秒。 (然后我稍后在奔跑时将材质交换为真实纹理)

目前游戏在我的笔记本电脑上以每秒大约 8~15 帧的速度运行(我知道这很糟糕,但它对于测试来说已经很旧了)对于颜色材质来说也是如此,我很容易在 40 帧下玩得开心,没有渲染问题。

您可以观看最终比赛并自行判断

(按游戏底部的 roboidz 运行链接即可查看。)

如果您需要这部分代码的精简版本,我很乐意为您提供帮助。

I recently did do something very very similar whilst creating a game. I had massive problems with benching a papervision game I was making:

On a flash forum I said this...
http://built4flash.stackexchange.com/questions/197/effeciency-of-material-swapping-in-papervision

The Game itself renderers roughly 200 cubes as separate planes. 4 visible planes with texture.

When I first preloaded this custom cube into memory - traversing them all would take about 45 seconds to a minute.
In this instance I do swapping of materials to achieve my result. In essence, rendering the same corridor game in colorMaterial's takes 2 seconds. (then I swap materials later for real texture whilst running around)

Currently the game runs on my laptop at roughly 8~15 frames a seconds (bad I know but its old for testing) same thing for color materials I easily fun at 40 frames and no render problems.

You can see the final game and judge for yourself.

(Press roboidz run link at bottom of the game to see it.)

If you need a cut down version of this part of the code I'm happy to help.

囚我心虐我身 2024-09-03 08:55:56

这实际上取决于您的显卡和其他因素。没有固定的限制,但以 Papervision 为例,它可以在我的机器上以大约 50fps 的速度运行 1000 个多边形。

有关显示由 Flash 中的某些 3D 选项渲染的 1000 个多边形的一些基准测试,请参阅此博客文章

This really depends on your graphics card, and other things. There isn't a fixed limit, but Papervision, for example, can run 1000 polys in about 50fps on my machine.

For some benchmarks showing 1000 polys rendered by some of the 3D options in Flash, see this blog post.

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