社区
其它技术问题
帖子详情
OpenGL为什么贴图后CPU占用100%
welling007
2009-05-03 12:07:22
我是在Qt4.*的环境下写OpenGL的程序,不知道为什么,我按教程上一步一步来画出来的那个四方体,没贴图很流畅,但一贴图后就会变得很卡。
如果是贴图多了变卡就不奇怪,但我才贴一张图啊,并且我已经将它的大小压缩了。
请问高手们这是怎么会事啊?贴图还要注意一些什么事情么?
...全文
169
5
打赏
收藏
OpenGL为什么贴图后CPU占用100%
我是在Qt4.*的环境下写OpenGL的程序,不知道为什么,我按教程上一步一步来画出来的那个四方体,没贴图很流畅,但一贴图后就会变得很卡。 如果是贴图多了变卡就不奇怪,但我才贴一张图啊,并且我已经将它的大小压缩了。 请问高手们这是怎么会事啊?贴图还要注意一些什么事情么?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
welling007
2009-05-04
打赏
举报
回复
太好了,问题解决了,原来是图像尽寸的问题。长和宽都分别要是2的N次方,一跑起来就快了~~
welling007
2009-05-03
打赏
举报
回复
[Quote=引用 1 楼 lingyin55 的回复:]
http://topic.csdn.net/t/20050820/17/4220691.html
[/Quote]
先谢过楼上将05年的贴挖出来给我看。
还是不明白,为什么一贴图就会占用100%。
还有请问下,那个贴子里说的解码编码是什么意思。。
怎样才可以令它不卡。
lingyin55
2009-05-03
打赏
举报
回复
http://topic.csdn.net/t/20050820/17/4220691.html
welling007
2009-05-03
打赏
举报
回复
我在默默的等
mengde007
2009-05-03
打赏
举报
回复
帮顶;
OpenGL
飘动的钟表
根据NeHe的框架修改,钟表的纹理使用GDI+绘制,初学者作品,
占用
CPU
略高,欢迎大家提出修改意见。
opengl
es 3.x
opengl
es 3.x,书籍,上卷,下卷还有。
display-list.rar_list_
opengl
_
opengl
list_
opengl
显示列表
OpenGL
显示列表加速图形绘制的功能实现。运行时可显示帧频。
OpenGL
ES.2.0 Programming Guide
In the
OpenGL
® ES 2.0 Programming Guide, three leading authorities on the Open GL ES 2.0 interface—including the specification’s editor—provide start-to-finish guidance for maximizing the interface’s value in a wide range of high-performance applications. The authors cover the entire API, including Khronos-ratified extensions. Using detailed C-based code examples, they demonstrate how to set up and program every aspect of the graphics pipeline. You’ll move from introductory techniques all the way to advanced per-pixel lighting, particle systems, and performance optimization.
OpenGL
4 Shading Language Cookbook, Second Edition
OpenGL
4 Shading Language Cookbook, Second Edition
其它技术问题
3,882
社区成员
9,046
社区内容
发帖
与我相关
我的任务
其它技术问题
C/C++ 其它技术问题
复制链接
扫一扫
分享
社区描述
C/C++ 其它技术问题
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章