在没有显卡的虚拟机上测试 vtk mip投影报错

vtkWin32OpenGLRenderWindow (000000005EBBB180): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2.
翻译:
vtkWin32OpenGLRenderWindow (000000005ebbbb180): GL版本2.1与gpu_shader4扩展不支持您的图形驱动程序,但需要新的OpenGL渲染后端。请更新您的OpenGL驱动程序。如果您正在使用Mesa,请确保您的版本为10.6.5或更高版本,并确保您的Mesa驱动程序支持OpenGL 3.2。

因为不懂Mesa是啥,查了一下OpenGL 和Mesa的关系:

OpenGL and Mesa aren’t really two separate choices, but rather Mesa is a specific type of OpenGL. OpenGL is simply an interface that defines a standard set of functions needed for drawing 3d graphics. It doesn’t involve the actual code that makes these functions happen, it only specifies what the functions are called and what they are supposed to do. An openGL implementation provides the actual code that runs the methods specified by the OpenGL standard. Without an implementation installed, you cannot run any opengl programs. Mesa is just one of many OpenGL implementations, and is the most standard one included in linux distributions. It does all the work in software, which is why it is slow. When you install Nvidia or ATI drivers for a fancy graphics card, these drivers provide a new OpenGL implementation that runs on the graphics card. This implementation would take the place of the Mesa implementation, but it is still an openGL implementation. That is, all of Mesa/ATI/NVidia drivers implement the same set of functions, they just do it in different ways, and they are all openGL.
翻译:
OpenGL和Mesa并不是两个独立的选择,Mesa是OpenGL的一种特定类型。OpenGL只是一个定义绘制3d图形所需的标准函数集的接口。它不涉及使这些函数发生的实际代码,它只指定函数被调用和它们应该做什么。openGL实现提供了运行openGL标准指定的方法的实际代码。如果没有安装实现,您就不能运行任何opengl程序。Mesa只是OpenGL实现中的一种,也是linux发行版中最标准的一种。它所有的工作都是通过软件完成的,这就是它速度慢的原因。当你为显卡安装Nvidia或ATI驱动程序时,这些驱动程序会提供一个运行在显卡上的新的OpenGL实现。这个实现将取代Mesa实现,但它仍然是openGL实现。也就是说,所有Mesa/ATI/NVidia驱动程序都实现了相同的功能集,它们只是以不同的方式实现,而且它们都是openGL。

以上答案是在https://oomake.com/question/3425444获取的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值