OpenGL
文章平均质量分 66
日食
一个很久没有编码的coder
展开
-
3D坐标系、矩阵变换、视景体与裁剪
背景当前3D图形界主要有两个:微软的Direct 3D以及某组织的OpenGL。曾经一度OpenGL几乎占据所有3D图形领域,这在巨人微软面前简直就是屌丝逆袭。曾几何时微软搞IDE borland公式倒闭了,后来微软搞浏览器,网景公司解散,员工卷铺盖走人了,也就是说微软搞谁,谁倒霉。直到OpenGL的出现,打破了这一魔咒,在与微软竞争的前期,OpenGL几乎甩了微软几条街,并成为事实上的工业标原创 2013-04-12 19:56:10 · 5520 阅读 · 5 评论 -
level of detail algorithm-rendering of massive real-time terrain
BackGround:Before I introduce the algorithm of level of detail,let's look at two pictures below:The two pictures are grid terrian which is rendered using the level of detail algorithm.In ord原创 2013-04-27 18:56:49 · 1739 阅读 · 0 评论 -
LOD层次细节算法-大规模实时地形的绘制
背景在介绍层次细节算法之前,先来看两幅图片。图一图二这两幅图片是用层次细节算法也即LOD算法绘制的地形网格。为了更清晰的看清地形网格的结构,我没有给其贴上纹理。这两幅图片看上去给人第一感觉就是分辨率不同,图一分辨率较低,图二分辨率很高。图一图二是由同一个程序生成的,图一时在调节系数为1的情况下生成的,图二是在调节系数为25的情况下生成的。为了增加对比度,我故意把两幅图片的分辨率调节原创 2013-04-14 01:13:34 · 11380 阅读 · 11 评论 -
广告牌技术教程:引言
Billboarding is a technique that adjusts an object's orientation so that it "faces" some target, usually the camera. The wordfaces is in quotes since it can have several meanings, as the tutorial wi翻译 2013-04-13 14:39:07 · 1032 阅读 · 0 评论 -
广告牌技术教程:我的物体在哪里?
When an object is placed in the world using translations and rotations it becomes hard to find its world coordinates. In this section a simple technique to find the whereabouts in world coordinates of翻译 2013-04-13 00:15:59 · 682 阅读 · 0 评论 -
第八章,缓冲区对象:存储尽在掌握中
缓冲区 在OpenGL有缓冲区对象之前,应用程序只有有限的选择可以在GPU中存储数据,现在有了缓冲区之后对GPU存储空间的操作更加灵活方便了。缓冲区有很多用途,比如它能够保存顶点数据、像素数据、纹理数据、着色器处理的输入、不同阶段着色器的输出。要使用缓冲区首先要创建缓冲区:Gluint pixBuffObjs[1];glGenBuffers(1,pixBuffObjs)。前者定义一个无原创 2013-02-05 00:00:11 · 1690 阅读 · 0 评论 -
广告牌技术教程:欺骗-快速但不容易
As mentioned before to get a cheating version of a billboard it is enough to reverse the orientations of the top 3x3 submatrix from the modelview matrix. The previous sections achieved this by setting翻译 2013-04-13 17:04:48 · 913 阅读 · 0 评论 -
广告牌技术:欺骗-圆柱体化广告牌
As mentioned in the previous section, the modelview matrix contains the transformations required to perform the change of coordinates between local coordinates and world coordinates. It has been shown翻译 2013-04-13 16:16:16 · 1042 阅读 · 0 评论 -
广告牌技术教程:欺骗-快速而简单的球体化广告牌
The technique about to be presented isn't true billboarding. Instead it provides a cheap way of achieving an approximation that may be good enough in some applications.这里将要展示的不是真正的广告牌技术。相反它提供了一些应用软件翻译 2013-04-13 15:27:46 · 1383 阅读 · 2 评论 -
广告牌技术教程:球体广告牌
The spherical version is a simple extension to the cylindrical case. After the object is rotated using the cylindrical approach, all that is left to do is to tilt the object until it truly faces the翻译 2013-04-12 23:38:31 · 903 阅读 · 0 评论 -
初学OpenGL
下学期是本科最后一个学期了,毕业设计选的题目是OpenGL三维动态场景的绘制。以前从没有接触过这方面的东西。于是去图书馆借了几本书。作为入门,打算读一下:OpenGL超级宝典和OpenGL红宝书。其他的就有选择的读一下。 目前读了一部分。里面有大量关于矩阵变换的,比如模型矩阵,视图矩阵,投影矩阵,模型视图投影矩阵。模型矩阵是用来操作视景体的,视图矩阵是操作照相机(也即观察者视角)的,原创 2013-02-04 14:02:46 · 1002 阅读 · 2 评论 -
广告牌技术教程:欺骗-快速但不容易
As mentioned before to get a cheating version of a billboard it is enough to reverse the orientations of the top 3x3 submatrix from the modelview matrix. The previous sections achieved this by setting翻译 2013-04-13 18:45:06 · 1075 阅读 · 0 评论 -
广告牌教程:圆柱型广告牌技术
True cylindrical billboarding constraints the objects rotation to an axis, as in the cheating version, but the look at vector from the object will be rotated in the camera's direction, restricted to t翻译 2013-04-12 22:57:09 · 1743 阅读 · 0 评论 -
一个简单的第三人称汽车驾驶系统
下载地址:http://code.google.com/p/car-steer/downloads/detail?name=car-steer-1.zip&can=2&q=本人的毕业设计,已上传至google code。欢迎大家下载,提出意见。截图原创 2013-05-31 18:28:49 · 1811 阅读 · 1 评论