摘要: 1) Use zip command to compress files: zip -r hello.zip hello 2) 寻找.h头文件所在的包, sudo apt-file search XXX.h sudo apt-file search Xf86vmode.h 阅读全文
posted @ 2012-08-24 08:03 opencoder 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1) Create a new, empty mercurial repository: hg init myproject 2) Add some files into the current repository: hg add <file name>|<dir_name> 3) Commit files into the repository: hg commit -m “mess... 阅读全文
posted @ 2012-08-24 08:02 opencoder 阅读(174) 评论(0) 推荐(0) 编辑
摘要: NeHe Productions_ Prep_ The Graphics Pipeline This article gives us a brief idea on how does OpenGL make your triangles display on the screen. Well, it is simplified one, and some information mi... 阅读全文
posted @ 2012-08-24 07:59 opencoder 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Some ideas about calculating tangent space for meshes are cleaned here. It is very easy to calculate the tangent basis vectors if the vertex normal and diffuse uv sets were provided for each triang... 阅读全文
posted @ 2012-08-24 07:57 opencoder 阅读(281) 评论(0) 推荐(0) 编辑
摘要: This program shows how to play video with OpenGL & OpenAL. The .avi file that could be supported should be an old AVI file format, that no video & audio data compress happened here. This kind of AVI ... 阅读全文
posted @ 2012-08-24 07:55 opencoder 阅读(480) 评论(0) 推荐(0) 编辑
摘要: This sample shows how to Pick some objects from the screen and move an object on the screen. This style is a bit similar to the 3D content creator, like Maya, 3D Max. You could drag some objects to s... 阅读全文
posted @ 2012-08-24 07:51 opencoder 阅读(864) 评论(0) 推荐(0) 编辑
摘要: A good start to learn OpenGL Shading language. This simple program was built under Ubuntu OS. The process that OpenGL using shading language is the much similar as D3D. Some difference exists l... 阅读全文
posted @ 2012-08-24 07:48 opencoder 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(307) 评论(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 阅读(124) 评论(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 阅读(395) 评论(0) 推荐(0) 编辑