[英]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上的任何特殊内容。
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.