2008年11月6日

《基于MFC的OpenGL编程》Part 14 Quadrics

摘要: 本文在第11篇文章的基础上,为其加入显示各种二次曲面的代码; Quadrics Every quadric has a few settings associated with it. We have to create a quadric first and then customize its settings to render the shape we want. ... 阅读全文

posted @ 2008-11-06 17:12 Phinecos(洞庭散人) 阅读(2767) 评论(0) 推荐(0) 编辑

《基于MFC的OpenGL编程》Part 13 Creating 2D and 3D Text

摘要: wglUseFontBitmaps函数 The wglUseFontBitmaps() function creates a set of bitmap display lists based on the glyphs in the currently selected font in the current DC for use in the current OpenGL RC. It bas... 阅读全文

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

《基于MFC的OpenGL编程》Part 12 Creating and Using Display Lists

摘要: 本文对第11篇文章进行修改,使用显示列表来存储渲染命令。 显示列表 OpenGL provides a facility to create a preprocessed set of OpenGL commands called a display list. Creating a display list is a straight forward process. We jus... 阅读全文

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

《基于MFC的OpenGL编程》Part 11 Blending, Antialiasing and Fog

摘要: Blending and Transparency Blending in OpenGL provides pixel-level control of RGBA color storage in the color buffer. To enable blending we must first call glEnable(GL_BLEND). We have to set up the ble... 阅读全文

posted @ 2008-11-06 11:41 Phinecos(洞庭散人) 阅读(3037) 评论(0) 推荐(0) 编辑

导航