摘要: This sample shows us how to work with collision detection and response. At first, it provide some ideas about how to determine whether a intersection happened between a ray and a plane, a ray and a c... 阅读全文
posted @ 2012-08-23 20:36 opencoder 阅读(287) 评论(0) 推荐(0) 编辑
摘要: This sample shows us how to parse, load and display texture mapped Milkshape3D models. Milkshape3D is a free modeling package. Of course it is not popular as Maya or 3D Max. If you want to save mone... 阅读全文
posted @ 2012-08-23 09:15 opencoder 阅读(187) 评论(0) 推荐(0) 编辑
摘要: This simple game shows us how to do something funny that already detailed as in the title. 1) Screen mouse picking: We could emit a 3D ray from the current viewer position and do intersection tes... 阅读全文
posted @ 2012-08-23 09:11 opencoder 阅读(370) 评论(0) 推荐(0) 编辑
摘要: As the title describes, we could learn how to load TGA images as texture from this sample. Nothing special to advance about this lesson. The only thing that need to mention may be that refactoring an... 阅读全文
posted @ 2012-08-23 09:03 opencoder 阅读(124) 评论(0) 推荐(0) 编辑
摘要: This sample shows us how to create a landscape by means of height mapping. As the word height mapping means that the height of the landscape come from a gray image. Of course, you could apply other ... 阅读全文
posted @ 2012-08-23 08:59 opencoder 阅读(203) 评论(0) 推荐(0) 编辑
摘要: This sample shows us how to play AVI files with OpenGL. In addition to get AVI files frame animation images, the author used windows native AVI playing library instead of re-writing his own AVI file ... 阅读全文
posted @ 2012-08-23 08:53 opencoder 阅读(272) 评论(0) 推荐(0) 编辑
摘要: This sample shows us how to implement a radial blur effect with OpenGL render into a texture technology. To render objects into a texture: 1) set the view port size with the texture size; 2)... 阅读全文
posted @ 2012-08-23 08:45 opencoder 阅读(942) 评论(0) 推荐(0) 编辑
摘要: This sample shows us how to do Cel-Shading with OpenGL. The cel-shading contain two part: one is the color grading on the object surface; the other one is the outline effect. To get the color grad... 阅读全文
posted @ 2012-08-23 08:35 opencoder 阅读(565) 评论(1) 推荐(0) 编辑
摘要: This sample shows us how to load the texture data from the .exe file instead of external image files on the disk. The method was based on the Visual Studio resource data. That means you need to use V... 阅读全文
posted @ 2012-08-23 08:28 opencoder 阅读(207) 评论(0) 推荐(0) 编辑
摘要: This sample gives us some basics information about Physical Simulations. Some terminologies like Mass, Force, acceleration, velocity, time, position and the relationships among them are described h... 阅读全文
posted @ 2012-08-23 08:23 opencoder 阅读(160) 评论(0) 推荐(0) 编辑