首页 移动开发 QT     /    基于Qt和GLSL的着色器例子(演示程序+源代码)

基于Qt和GLSL的着色器例子(演示程序+源代码)

上传者: jiangcaiyang123 | 上传时间:2018/9/23 21:43:13 | 文件大小:6.24MB | 文件类型:zip
基于Qt和GLSL的着色器例子(演示程序+源代码)
此程序附带了演示程序和源代码。
-------------------------------------------------欢迎访问我的博客:http://blog.csdn.net/gamesdev此资源相关的博文:http://blog.csdn.net/gamesdev/article/details/10295961http://blog.csdn.net/gamesdev/article/details/10296587------------------------------------------------- 我的计算机换成新的了,可以支持OpenGL2.0以及以上的规范,这样我开始正式涉足OpenGL高级的内容了。
目前我的OpenGL基础库是Qt,它有完备的功能,以及对OpenGL一层好的封装,所以用它来开发基于OpenGL的应用程序非常合适。
下面是我就来介绍一下如何开发基于Qt和GLSL的程序。
我制作的这个小例子还带了一个着色器编辑器。
支持即时编译链接着色器,支持在GLSL规定的语法高亮,有关语法高亮的内容,感兴味的同学可以下载一下。
本软件ID:6007447

文件下载

资源详情

[{"title":"(33个子文件6.24MB)基于Qt和GLSL的着色器例子(演示程序+源代码)","children":[{"title":"source","children":[{"title":"appIcon.ico <span style='color:#111;'>16.56KB</span>","children":null,"spread":false},{"title":"DefaultShader.vert <span style='color:#111;'>117B</span>","children":null,"spread":false},{"title":"zh_CN.ts <span style='color:#111;'>4.03KB</span>","children":null,"spread":false},{"title":"Icon.qrc <span style='color:#111;'>138B</span>","children":null,"spread":false},{"title":"Translation.qrc <span style='color:#111;'>87B</span>","children":null,"spread":false},{"title":"QtShader_3.pro <span style='color:#111;'>3.44KB</span>","children":null,"spread":false},{"title":"ShaderEditor","children":[{"title":"ShaderKeywordHighlight.h <span style='color:#111;'>3.81KB</span>","children":null,"spread":false},{"title":"ShaderEditor.pri <span style='color:#111;'>249B</span>","children":null,"spread":false},{"title":"ShaderEditor.cpp <span style='color:#111;'>3.60KB</span>","children":null,"spread":false},{"title":"ShaderEditor.h <span style='color:#111;'>3.42KB</span>","children":null,"spread":false},{"title":"ShaderKeywordHighlight.cpp <span style='color:#111;'>6.47KB</span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"libFeedback.a <span style='color:#111;'>580.71KB</span>","children":null,"spread":false}],"spread":true},{"title":"ShaderDialog.ui <span style='color:#111;'>2.41KB</span>","children":null,"spread":false},{"title":"ShaderDialog.cpp <span style='color:#111;'>5.36KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>3.21KB</span>","children":null,"spread":false},{"title":"Shader.qrc <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"Feedback","children":[{"title":"Feedback.qrc <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"FeedbackDialog.h <span style='color:#111;'>3.95KB</span>","children":null,"spread":false},{"title":"Feedback.pri <span style='color:#111;'>205B</span>","children":null,"spread":false},{"title":"textEditBackground.png <span style='color:#111;'>97.66KB</span>","children":null,"spread":false},{"title":"pushButtonBackground.png <span style='color:#111;'>2.72KB</span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.h <span style='color:#111;'>3.30KB</span>","children":null,"spread":false},{"title":"Icon","children":[{"title":"compileIcon.png <span style='color:#111;'>532B</span>","children":null,"spread":false},{"title":"saveIcon.png <span style='color:#111;'>1.35KB</span>","children":null,"spread":false}],"spread":false},{"title":"Camera.h <span style='color:#111;'>3.91KB</span>","children":null,"spread":false},{"title":"GLWidget.cpp <span style='color:#111;'>12.44KB</span>","children":null,"spread":false},{"title":"ShaderDialog.h <span style='color:#111;'>3.66KB</span>","children":null,"spread":false},{"title":"zh_CN.qm <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"GLWidget.h <span style='color:#111;'>4.25KB</span>","children":null,"spread":false},{"title":"DefaultShader.frag <span style='color:#111;'>55B</span>","children":null,"spread":false},{"title":"Camera.cpp <span style='color:#111;'>4.82KB</span>","children":null,"spread":false},{"title":"MainWindow.cpp <span style='color:#111;'>6.99KB</span>","children":null,"spread":false}],"spread":false},{"title":"bin","children":[{"title":"QtShader.exe <span style='color:#111;'>5.97MB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 妙为:
    谢谢楼主分享,还是不错的2021-06-04
  • u011030529:
    学习了。很好的例子!2019-01-07
  • 影子丝汀:
    还行,就是有点贵啊2017-08-11
  • Extre_Lin:
    一些简单的例子,入门可以。2016-10-25
  • ddcross:
    感谢LZ分享,学习学习2016-08-20

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明