摘要: Here is a simple tutorial for the dynamic software light maps for OpenGL. This program was built on Ubuntu OS. The project management tool is CMake. In this program, a light map will be created ... 阅读全文
posted @ 2012-08-24 07:46 opencoder 阅读(309) 评论(0) 推荐(0) 编辑
摘要: NeHe Productions_ Matrices Some basic ideas about the matrix and matrix operation listed here. Such as Identity matrix, rotation matrix, translation matrix, scale matrix, storage of matrix, how to ... 阅读全文
posted @ 2012-08-24 07:44 opencoder 阅读(126) 评论(0) 推荐(0) 编辑
摘要: This sample program shows us to use pre-compressed dds file with OpenGL. With pre-compressed textures, on the one hand we could reduce the file size on the disk; on the other hand we could improve th... 阅读全文
posted @ 2012-08-24 07:41 opencoder 阅读(396) 评论(0) 推荐(0) 编辑
摘要: This is a very good article that clean up my way to get close to OpenGL. This article address the issue about how glColor, glMaterial, glLight and glTexture works together to get the final effect tha... 阅读全文
posted @ 2012-08-24 07:32 opencoder 阅读(469) 评论(1) 推荐(0) 编辑
摘要: When you come across this compiling error in Visual Studio, you could re-save the source file with “Advanced Save Options” setting. To address this issue, switch to “File“->”Advanced Save Options“, Se... 阅读全文
posted @ 2012-08-24 07:21 opencoder 阅读(3002) 评论(0) 推荐(0) 编辑
摘要: I started learn NeHe OpenGL lessons in university, but I never went though all of his lessons. I wish this time my blog will go though all of content, and figure out all of the OpenGL technology poin... 阅读全文
posted @ 2012-08-23 23:12 opencoder 阅读(309) 评论(0) 推荐(0) 编辑
摘要: NeHe OpenGL Lesson02 – Your First Polygon. This lesson shows how to draw polygons with OpenGL API. The following lines are source code that used to draw a triangle. As you see, it is very easy and ... 阅读全文
posted @ 2012-08-23 23:08 opencoder 阅读(242) 评论(0) 推荐(0) 编辑
摘要: This sample shows how to add color to your primitives. The main idea used here is that specify the vertex color for each vertex or the next all vertexes. And the vertex color was added by the functio... 阅读全文
posted @ 2012-08-23 23:03 opencoder 阅读(207) 评论(0) 推荐(0) 编辑
摘要: This program shows how to make the objects rotated. OpenGL API is kind of so low level graphic API that allows the user create some separate matrix components. Here this sample just give some basic... 阅读全文
posted @ 2012-08-23 22:58 opencoder 阅读(195) 评论(0) 推荐(0) 编辑
摘要: This programs show how to build 3d objects and render them with OpenGL. Those shapes displayed here are very primitive, they were hard code in the source code. When you come to some games, you wil... 阅读全文
posted @ 2012-08-23 22:54 opencoder 阅读(273) 评论(0) 推荐(0) 编辑