gpt4 book ai didi

qt - Qt OpenGL模块和Qt/3D有什么区别

转载 作者:行者123 更新时间:2023-12-05 02:24:54 29 4
gpt4 key购买 nike

Qt Sdk(在opengl下)中的3D示例已经可以演示,但是没有Qt/3D。那么Qt OpenGL模块和Qt/3D有什么区别?

最佳答案

来自Qt/3D Reference Documentation :

Qt/3D is a set of extension classes for the Qt OpenGL module to enhance the use of OpenGL in Qt 4.7 and higher.

Porting between desktop OpenGL and embedded OpenGL/ES has traditionally been difficult. Desktop OpenGL, OpenGL/ES 1.1, and OpenGL/ES 2.0 use different function names, and shaders versus fixed function pipelines. Writing a single OpenGL application that runs on all platforms is quite difficult, even for simple objects.

所以 Qt/3D 是对普通 Qt OpenGL 模块的扩展。浏览该页面中的链接以获取更多详细信息和教程/示例。

关于qt - Qt OpenGL模块和Qt/3D有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7330259/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com