摘要: So Cool! Well, I would like to say that this sample shows us the beautiful and the magic of mathematic. The programming knowledge or OpenGL API involved in here are not too much or just a very lit... 阅读全文
posted @ 2012-08-23 22:38 opencoder 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:35 opencoder 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:27 opencoder 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:24 opencoder 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:19 opencoder 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:15 opencoder 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:11 opencoder 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:06 opencoder 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 22:00 opencoder 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-08-23 21:55 opencoder 阅读(290) 评论(0) 推荐(0) 编辑