会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
GIS开发
博客园
首页
新随笔
联系
管理
订阅
2014年3月6日
osg直接使用OpenGL FBO
该文被密码保护。
阅读全文
posted @ 2014-03-06 21:03 20118281131
阅读(14)
评论(0)
推荐(0)
编辑
OpenGL4.x不支持gluPerspective函数。故备份之
摘要: template inline mat4 mat4::perspectiveProjection(type fovy, type aspect, type zNear, type zFar){ type f = (type) 1 / tan(radians(fovy) / 2); return mat4(f / aspect, 0, 0, 0, 0, f, 0, 0, 0, 0...
阅读全文
posted @ 2014-03-06 20:52 20118281131
阅读(254)
评论(0)
推荐(0)
编辑
公告