简体   繁体   English

如果您使用使用OpenGL的库,您在Windows PC上需要什么?

[英]What do you need on a Windows PC if you use a library that uses OpenGL?

I am looking at adding 3D functionality into my application. 我正在考虑在我的应用程序中添加3D功能。 For this I will probably use the QtOpenGl library, but it's not entirely clear if this requires anything special on my customers' PC's. 为此,我可能会使用QtOpenGl库,但是这并不完全清楚这是否需要客户PC上的任何特殊内容。

  • Will my customers need an OpenGL video card? 我的客户是否需要OpenGL视频卡?
  • Will my customers need an OpenGL driver? 我的客户是否需要OpenGL驱动程序?
  • Is a minimum Windows release required? 是否需要最低Windows版本?
  • Or does it require something else to be installed on the customers' PC's (besides Qt itself) 或者是否需要在客户的PC上安装其他东西(除了Qt本身)
  • Or will it run out of the box? 或者它会开箱即用吗?

Thanks 谢谢

  • Will my customers need an OpenGL video card? 我的客户是否需要OpenGL视频卡?

Not neccessarily, there's always the software rasterizer fallback. 不是必须的,总是有软件光栅化器后备。

  • Will my customers need an OpenGL driver? 我的客户是否需要OpenGL驱动程序?

Preferrably. Preferrably。 But there's always the software rasterizer fallback. 但总有软件光栅化器后备。

  • Is a minimum Windows release required? 是否需要最低Windows版本?

Yes, Windows NT 4 or Windows 95B 是的,Windows NT 4或Windows 95B

  • Or does it require something else to be installed on the customers' PC's (besides Qt itself) 或者是否需要在客户的PC上安装其他东西(除了Qt本身)

Ideally the customer has installed the drivers for his graphics card, as they are distributed by the graphics card maker. 理想情况下,客户已经为他的显卡安装了驱动程序,因为它们是由显卡制造商分发的。 Until Windows Vista this was the case anyway. 直到Windows Vista,无论如何都是如此。 Since Windows Vista, Windows ships with stripped graphics drivers: Microsoft has that policy to remove the OpenGL-ICD from the bundled drivers. 自Windows Vista以来,Windows附带了剥离的图形驱动程序:Microsoft有此策略从捆绑的驱动程序中删除OpenGL-ICD。 So customers have to install the original drivers from the vendor directly. 因此,客户必须直接从供应商安装原始驱动程序。 Without vendor OpenGL-ICDs you'll only have the OpenGL-1.4 emulation shipping with Windows Vista/7. 如果没有供应商的OpenGL-ICD,您只能使用Windows Vista / 7进行OpenGL-1.4仿真。 For anything beyond, the customer must install the original drivers. 除此之外,客户必须安装原始驱动程序。

  • Or will it run out of the box? 或者它会开箱即用吗?

Most likely, but the performance may not be the best, if the vendor drivers have not been installed. 最有可能,但如果没有安装供应商驱动程序,性能可能不是最好的。 My recommendation: Do it like the games: Upon programm start detect which graphics card is present and if the right drivers are installed, and if not, inform the user about it and offer to go to the vendors website to download and install the right driver for his box (that's how I do it). 我的建议:像游戏一样:在程序启动时检测到哪个显卡存在以及是否安装了正确的驱动程序,如果没有,请通知用户并提供给供应商网站下载并安装正确的驱动程序为他的盒子(这就是我的方式)。

All modern computers support OpenGL, according to their web site . 根据他们的网站 ,所有现代计算机都支持OpenGL。 From personal experience, it will run out of the box with no additional setup required, but you will have to distribute an additional DLL file (QtOpenGL.dll) with your program. 根据个人经验,它将开箱即用,无需额外设置,但您必须在程序中分发额外的DLL文件(QtOpenGL.dll)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 你需要安装什么来在Windows上使用Clang来构建64位的c ++ 14? - What do you need to install to use Clang on windows to build c++14 for 64 bit? 您使用什么工具在Windows上配置(本机)C ++? - What tools do you use to profile (native)C++ on Windows? 如何确定接口是否是Windows PC上的物理LAN端口? - How do you determine if an interface is a physical LAN port on a Windows PC? C ++:如何在使用libcurl的Windows中运行可执行文件? - C++: How do you run an executable in windows that uses libcurl? 您实际上如何使用C库? - How do you actually use a C library? 是否有一种在Adobe AIR和.NET之间发送“ Windows消息”的不错方法,还是您需要使用套接字? - Is there a decent way to send “Windows messages” between Adobe AIR and .NET, or do you need to use sockets? 您使用哪种日志工具用于Windows? - Which Logging tools do you use for Windows? 您是否需要 Docker 中的 OS (Windows) 许可证 - Do you need License for OS (Windows) inside Docker Windows 7 Embedded Standard:您需要关闭它吗? - Windows 7 Embedded Standard: Do you need to shut it down? 如何识别Windows静态库中的导出函数? - How do you identify exported functions in a Windows static library?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM