随笔分类 - OpenGL
摘要:Here are some OpenGL samples with advance features. NeHe OpenGL tutorial focus on the OpenGL fixed pipeline, but those samples are foucs on the programmable renderering pipeline, OpenGL shader languag...
阅读全文
摘要:In the last several weeks, I dedicated myself to one “EasyGame”series C++ coding during my spare time. The first version source origin from <<学OpenGL编3D游戏>>. The source structure and coding style are ...
阅读全文
摘要:Currently, some game development tool provide you some ways that could allow developer to tune the game objects parameters when the game is running. For example, Unity3D provide the user to tuning the...
阅读全文
摘要:All most every game could save the current progress into hard-disc. This is a vey important feature, so that you could show the game achievement to your friends, re-play some level again. And some gam...
阅读全文
摘要:This samples shows us several solutions about collision detection and collision detected handling without using some advance physics libraries. Character Movement: every time you move the character...
阅读全文
摘要:Particles are some kind of visual effect, such as explosion, gun shot spark, or fountain, rain and so on. Usually, they are transparent meshes or planes. From my experience, you could not play too ma...
阅读全文
摘要:MDL Amati on is the very famous skeleton animation. All joints matrix will be saved for each frame. Each joint will give some impact to some vertex, different vertex will give different weight. And ea...
阅读全文
摘要:MD2 Animation is a kind of vertex animation that will save all vertex position for each frame. Yes, this technology is very memory consuming. But it also have some advantage too. You could take it as ...
阅读全文
摘要:This sample shows us how to read, parse 3DS file, and display them on the screen with OpenGL. The key point here is read the model vertex position, texture coordinates, vertex color and feed them into...
阅读全文
摘要:Billboard is a special kind of plane that always face to the player camera. Billboard tress are just some planes that textures with some tree shapes. This method could simplify the tree model a lots, ...
阅读全文
摘要:This sample shows us how to draw some text on the screen with OpenGL. If you just want to display some characters or digital numbers, you could go with the OpenGL built in display list or even with a ...
阅读全文
摘要:For the outdoor level, the sky and terrain are always necessary. For the sky, a sky doom or sky box that with a huge size in a fixed position or move with the player camera, both of them could work w...
阅读全文
摘要:After the level ready, the artist always to walk around in the scene. They will check the lighting, texture, the relative size among different items, animation, VFX and so on to make sure that all tho...
阅读全文
摘要:A interactive game level is not a static environment, we need to add something to make the whole staff alive. We could blew the grass, make them swap to left or right. Some animals work around, monst...
阅读全文
摘要:This sample shows us how to draw some primitives and some simple geometries with OpenGL. Building the geometry from the source code is not a good idea, the interactive video games development always r...
阅读全文
摘要:This sample shows us how to build a OpenGL framework for windows, ubuntu and android with C++. Before you could use the source code here, you need to make sure that you already have installed Visual S...
阅读全文
摘要:This sample shows how to apply Spherical Harmonic diffuse lighting as Global Illusion (GI). GI could give some more realistic effect to improve the global lighting effect than the traditional ambie...
阅读全文
摘要: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...
阅读全文
摘要: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 ...
阅读全文
摘要: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...
阅读全文