Windows 95 上的 OpenGL

发布于 2024-10-22 04:11:47 字数 164 浏览 5 评论 0原文

我最近在一台装有Windows 95的旧机器上安装了VC++ 6.0。在Windows 95上有一个用OpenGL制作的3D迷宫屏幕保护程序,但计算机没有3D显卡。我想知道如何在没有 3D 显卡的情况下制作 3D 图形,就像在 3D 迷宫中一样。

如果您知道好的教程或书籍,我会很高兴收到您的建议。

I recently installed VC++ 6.0 on an old machine with Windows 95. On Windows 95 there is a 3D maze screensaver made with OpenGL but the computer doesn't have a 3D video card. I would like to know how I can make 3D graphics like in the 3D maze for no 3D video cards.

If you know of a good tutorial or book, I would be happy with your suggestion.

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

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

发布评论

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

评论(3

你的心境我的脸 2024-10-29 04:11:47

如果没有专用的 3D 硬件可用,OpenGL 可以在 CPU 上渲染图形。您可能已经注意到,当屏幕保护程序运行时,CPU 使用率会变得相当高。
如果您想了解有关 OpenGL 的更多信息,我建议您查看 https://stackoverflow.com/q/62540 /1103747
我个人最喜欢的是《OpenGL Superbible》。但作为一个建议,如果你想学习 3D 图形并且你的目标操作系统是 Windows,我认为你应该学习其他东西(WPF、DirectX、XNA 等)。显然您可能希望从 Windows 95 升级。

OpenGL, if no dedicated 3D hardware is available, can render the graphics on the CPU. You might have noticed that, while the screensaver is running, CPU usage gets pretty high.
If you want to learn more about OpenGL, the I would recommend that you take a look at https://stackoverflow.com/q/62540/1103747.
My personal favorite is the OpenGL Superbible. But as a suggestion, if you want to learn 3D graphics and your target OS is Windows, I think that you should study something else (WPF, DirectX, XNA, etc). Obviously you will probably want to upgrade from Windows 95.

与酒说心事 2024-10-29 04:11:47

许多 3D 游戏都是用软件提供的图形编写的。 Open GL 和 Direct 3D 都具有允许软件渲染的模式。

《半条命》的原始版本可以在没有图形硬件的情况下运行,这是其成功的原因之一。

当 Windows 95 出现时,很少有机器拥有带 3D 加速器的显卡,因此 PC 游戏就是这样运行的。

Many 3D games were written with graphics provided by software. Both Open GL and Direct 3D have modes that allow for software rendering.

The original version of Half Life can run without graphics hardware and this was one of the reasons for its success.

Back when Windows 95 was current, very few machines had graphics cards with 3D accelerators and so this was how PC games worked.

萌面超妹 2024-10-29 04:11:47

该演示实际上是一个光线投射器。这与《德军总部》和《毁灭战士 1/2》中使用的技术相同。

更多信息请参见:http://en.wikipedia.org/wiki/Ray_casting

The demo is actually a raycaster. It's the same tech that is used in Wolfenstein, and Doom 1/2.

More info here: http://en.wikipedia.org/wiki/Ray_casting

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