摘要:
This sample shows us a small proto-type how to write a game with OpenGL. This is the first lesson that abandon using hard code game world. It seems like a engine, a small one. What is an engine? An e... 阅读全文
摘要:
This demo shows us how to wave texture though vertex position changing at the running time instead of moving texture coordinated. You could get such cool effect with the method used here. But obvious... 阅读全文
摘要:
This lesson shows us how to use the OpenGL display list. Display list is a special feature with OpenGL, that D3D does not have. A Display list is an OpenGL commands optimized cache. Some of it’s c... 阅读全文
摘要:
This demo shows us how to display some characters on the screen with OpenGL bitmap fonts. This is a very useful feature that we could used to display some text, debug information, fps or even menu co... 阅读全文
摘要:
This sample program show us how to display 3d characters on the screen. Those characters are called outline fonts. They are different from the bitmap fonts that are 2d only. Outline fonts are creat... 阅读全文
摘要:
This sample program shows us how to texture mapping outline fonts. It seems the outline fonts does not generate 3d font object texture coordinates for us. And luckily, OpenGL provide some interfac... 阅读全文
摘要:
This sample shows us how to use OpenGL fog feature. we will learn how to use 3 different fog filters, how to change the color of the fog, and how to set how far into the screen the fog starts and how... 阅读全文
摘要:
This sample show us how to display 2D texture font on the screen with OpenGL. This 2d texture font is just an image painted with characters instead of windows fonts. The mainly workflow for 2D text... 阅读全文
摘要:
This sample will introduce us to the wonderful world of quadrics. With quadrics you can easily create complex objects such as spheres, discs, cylinders and cones. These object can be created with jus... 阅读全文
摘要:
Here is a simple particle engine. The particle effect is a very important element in game. It could be used simulate an explosion, water fountain, flaming star and so on. Generally speaking, a par... 阅读全文