2008年11月7日

《基于MFC的OpenGL编程》Part 19 Creating a Virtual Reality Walkthrough Application

摘要: 本文是整个系列文章的最后一篇,将创建一个完整的虚拟office应用程序(如图所示)来做为ending. 1,在CCY457OpenGLView类中加入下述变量,用来保存office内各个物体的显示列表 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter... 阅读全文

posted @ 2008-11-07 16:39 Phinecos(洞庭散人) 阅读(5454) 评论(5) 推荐(0) 编辑

《基于MFC的OpenGL编程》Part 18 Reading objects from the OBJ File Format

摘要: 本文将介绍如何从Obj文件格式中创建3D对象,我们使用的是Nate Miller的obj格式加载类。 This would be very useful to create large Virtual Reality applications as we could make use of the readily available 3D model files or make ... 阅读全文

posted @ 2008-11-07 16:06 Phinecos(洞庭散人) 阅读(5108) 评论(9) 推荐(0) 编辑

《基于MFC的OpenGL编程》Part 17 Shadows

摘要: Shadows Conceptually drawing a shadow is quite simple. A shadow is produced when an object keeps light from a source from striking some object or surface behind the object, casting the shad... 阅读全文

posted @ 2008-11-07 15:33 Phinecos(洞庭散人) 阅读(3914) 评论(12) 推荐(1) 编辑

《基于MFC的OpenGL编程》Part 16 Reflection

摘要: Reflections Adding reflections to a program too can improve its realism to a great extent. Here we'll look at a simple method to create reflection where we simply redraw the object with an appropr... 阅读全文

posted @ 2008-11-07 14:58 Phinecos(洞庭散人) 阅读(2855) 评论(1) 推荐(0) 编辑

《基于MFC的OpenGL编程》Part 15 Selection

摘要: Selection Selection is a powerful feature of OpenGL that allows you click at some position of the OpenGL window using the mouse and determine which of your objects lie beneath it. The act of selecting... 阅读全文

posted @ 2008-11-07 14:29 Phinecos(洞庭散人) 阅读(3458) 评论(1) 推荐(0) 编辑

导航