Direct3D9 是否支持四元组?

发布于 2024-09-14 20:00:24 字数 465 浏览 0 评论 0原文

我在 Direct3D9 帮助中阅读(强调我的):

Direct3D 9 支持点、线、三角形和网格图元。这些已扩展为支持线性以外的高阶插值。虽然三角形和直线具有空间范围,但到目前为止它们都是使用线性插值来渲染的。在 Direct3D 9 中,Direct3D 支持使用高阶(最多五次)插值来渲染这些基元类型。 此外,现在支持新的四元类型。这种新类型也可以通过高阶插值来渲染。

这让我相信 Direct3D9 支持四边形,但我在 Direct3D9 包含文件中找不到任何类似 D3DPT_QUADLIST 的内容,所以帮助是错误的,还是我在这里遗漏了一些明显的东西?

I read in the Direct3D9 help (emphasis mine) :

Direct3D 9 supports points, lines, triangles, and grid primitives. These have been extended to support higher-order interpolation beyond linear. While triangles and lines have spatial extent, until now they were both rendered using linear interpolation. In Direct3D 9, Direct3D supports rendering of these primitive types using higher order, up to quintic, interpolation. Furthermore, a new quad primitive type is now supported. This new type can also be rendered with higher-order interpolation.

This leads me to believe that Direct3D9 supports quads, but I can't find anything resembling D3DPT_QUADLIST in the Direct3D9 include files, so is the help wrong, or am I missing something obvious here?

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

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

发布评论

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

评论(2

夏见 2024-09-21 20:00:24

很抱歉这么晚才回复,但我有一种感觉,来自 OpenGL 背景的人会偶然发现这一点并感到困惑。

存在这种情况的实际原因是因为它基本上是 Direct3D 11 中现有的曲面细分着色器的早期版本。然而,对它的支持非常少,因此它的文档非常少,并且在 D3D10 中基本上被删除了。

如果您好奇或想要了解更多信息,请查看 此处 或搜索“使用高阶基元 (Direct3D9)”(如果文章已移动,正如它们经常出现的那样)。

Sorry for the even later reply, but I have a feeling someone coming from an OpenGL background will stumble onto this and get confused.

The actual reason that's there is because it was basically an early version of the tessellation shaders we now have in Direct3D 11. There was -very- little support for it, however, so it was very poorly documented and essentially dropped in D3D10.

If you're curious or want more information, check here or do a search for "Using Higher-Order Primitives (Direct3D9) if the article's moved, as they so often seem to.

丢了幸福的猪 2024-09-21 20:00:24

抱歉回复晚了,我在寻找其他东西时遇到了这个。

Direct3D9 不支持 Quad Lists,这实际上可能是早期文档,或者可能是其他系统(例如 Xbox 360)的文档不小心泄露出来的。

Sorry for the late answer, I ran across this searching for something else.

Direct3D9 doesn't support Quad Lists, this may actually be early documentation, or perhaps documentation from another system (such as Xbox 360) That accidentally leaked over.

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