摘要:
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
阅读(395)
评论(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
阅读(537)
评论(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
阅读(384)
评论(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
阅读(559)
评论(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
阅读(342)
评论(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
阅读(299)
评论(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
阅读(404)
评论(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
阅读(183)
评论(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
阅读(163)
评论(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
阅读(146)
评论(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
阅读(1305)
评论(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
阅读(385)
评论(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
阅读(139)
评论(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
阅读(334)
评论(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
阅读(228)
评论(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
阅读(502)
评论(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
阅读(572)
评论(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
阅读(1401)
评论(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
阅读(147)
评论(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
阅读(159)
评论(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
阅读(181)
评论(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
阅读(184)
评论(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
阅读(290)
评论(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
阅读(494)
评论(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
阅读(890)
评论(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
阅读(268)
评论(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
阅读(315)
评论(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
阅读(135)
评论(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
阅读(409)
评论(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
阅读(477)
评论(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
阅读(3034)
评论(0)
推荐(0)
浙公网安备 33010602011771号