摘要: This program is ParallaxOcclusionMapping Sample from D3D samples. I touch this technology because I found some one use DXT5 format as normal maps. DXT5 means the texture still keep full range of al... 阅读全文
posted @ 2012-08-24 09:01 opencoder 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Today, I found this very interesting program when I was surfing on the Internet. Occlusion culling, that is a big topic on Computer Graphic industry. The original passage come from here: http://ww... 阅读全文
posted @ 2012-08-24 08:53 opencoder 阅读(519) 评论(0) 推荐(0) 编辑
摘要: This demo shows how D3D hardware instance works. HW Instance means call DrawIndexedPrimitive on time, but with a group of geometry rendered. Those geometries could be positioned in different place ... 阅读全文
posted @ 2012-08-24 08:48 opencoder 阅读(373) 评论(0) 推荐(0) 编辑
摘要: This demo shows how to apply the render to texture target feature with D3D API. The whole content of the Quad geometry was rendered into a texture, and after a cube mesh take this texture as it’s d... 阅读全文
posted @ 2012-08-24 08:42 opencoder 阅读(545) 评论(0) 推荐(0) 编辑
摘要: This demo shows how to using d3d alpha blend. Before you switch on the alpha blend operation, you should specify where this alpha value come from. We could specify this alpha value come from the ma... 阅读全文
posted @ 2012-08-24 08:40 opencoder 阅读(326) 评论(0) 推荐(0) 编辑
摘要: This demo come from book <Direct3D Graphic Programming introduction>. It show mirror effect and shadow effect, both of them using stencil buffer. In the mirror effect, the stencil buffer used to fi... 阅读全文
posted @ 2012-08-24 08:36 opencoder 阅读(292) 评论(0) 推荐(0) 编辑
摘要: The demo how to use D3D vertex shader and pixel shaders. The difference between GPU API rendering and shaders one is not so hurge. While using shaders, you need to create vertex declaration instead... 阅读全文
posted @ 2012-08-24 08:34 opencoder 阅读(392) 评论(0) 推荐(0) 编辑
摘要: This demo shows the D3D lighting + texture. More accurately, you should name such texture as diffuse map. There are a lots of map exist, not only diffuse map. Like specular map, cube map or environ... 阅读全文
posted @ 2012-08-24 08:32 opencoder 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Based on the previous D3D Frame work demo, I write a simple program that using D3D hardware lighting. HW lighting means just use some D3D lighting API to create the lighting effect instead lighting... 阅读全文
posted @ 2012-08-24 08:31 opencoder 阅读(153) 评论(0) 推荐(0) 编辑
摘要: This is a simple D3D frame work. I write this simple program just to avoid start from beginning such as creating window, d3d device when I want to write some D3D demos. I do not want to repeat this... 阅读全文
posted @ 2012-08-24 08:30 opencoder 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 3D Free Form Deformation Demo Free-form deformation (FFD) is an important tool in computer-assisted geometric design and animation. Well, there are many methods that could be used to deform object... 阅读全文
posted @ 2012-08-24 08:27 opencoder 阅读(1272) 评论(1) 推荐(0) 编辑
摘要: I write this demo just to go though some key concepts of computer graphics. The following features are implemented in this demo: 1) t... 阅读全文
posted @ 2012-08-24 08:25 opencoder 阅读(369) 评论(0) 推荐(0) 编辑
摘要: In the last few years or months, I have made a lots of technology learning plans. Every time, I want to learn a new kind of technology, I always want to learn from the ZERO. That means I will copy or ... 阅读全文
posted @ 2012-08-24 08:22 opencoder 阅读(125) 评论(0) 推荐(0) 编辑
摘要: doc2pdf How to convert the web pages and word document to PDF files with text / image format kept? Sometimes, I will do some research on the internet and save some pages locally for afterward review... 阅读全文
posted @ 2012-08-24 08:21 opencoder 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Get start to write Maya Plug-in with Maya VCWizard. A pdf document included to details how to write a Maya Plug-in with Maya VC Wizard, how to use this plug-in in the Maya software, and also a “H... 阅读全文
posted @ 2012-08-24 08:19 opencoder 阅读(213) 评论(0) 推荐(0) 编辑
摘要: This sample program shows us how to write a Maya static mesh exporter with c++. At first, I planed to write some additional features on the skin animation, but Maya C++ API seems very complicated f... 阅读全文
posted @ 2012-08-24 08:18 opencoder 阅读(486) 评论(0) 推荐(0) 编辑
摘要: This program originally come from an Android OpenGLES sample. It display a cube with texture. What I did is I pull the hard code cube mesh data out of the code, and save as an external file “cube.m... 阅读全文
posted @ 2012-08-24 08:14 opencoder 阅读(557) 评论(0) 推荐(0) 编辑
摘要: This example shows us how to write a FBX file parser with FBX SDK. The mainly parts are how to retrieve vertexes, uv, normal, polygons, polygons' material, textures, skin animation data and so on. ... 阅读全文
posted @ 2012-08-24 08:09 opencoder 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: 1) Install gcc on ubuntu: sudo apt-get install gcc g++ sudo apt-get install build-essential 2) Write a Hello.c with VIM like this: #include <stdio.h>int main() { printf(“Hello, gcc\n”); ... 阅读全文
posted @ 2012-08-24 08:05 opencoder 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑