共 20 篇文章
显示摘要每页显示  条
) PFD_DRAW_TO_WINDOW | // Format Must Support Window PFD_SUPPORT_OPENGL | // Format Must Support OpenGL PFD_DOUBLEBUFFER, // Must Support Double Buffering PFD_TYPE_RGBA, // Request An RGBA Format 24, // Select A 24Bit Color Depth 0, 0, 0, 0, 0, 0, // Color Bits Ignored (?// Gets A D...
OpenGL 4.1规范宣布在OpenGL 4.0发布仅仅5个月后,负责OpenGL的行业组织Khronos Group宣布(中文PDF)了OpenGL 4.1规范。OpenGL 4.1规范由Khrnos Group的OpenGL ARB架构审核组(Architecture Review Board)定义,新版本演进包括OpenGL渲染语言升级至GLSL4.10,以及为免授权费用的OpenGL标准引入一系列业界领先的功能扩展。全新OpenGL 4.1规范核心...
《基于MFC的OpenGL编程》Part 12 Creating and Using Display Lists豆豆网 技术应用频道 2008年12月30日关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 12 Creating and Using Display Lists。
if(m_fog) glEnable(GL_FOG);//设置雾  ::glFogi(GL_FOG_MODE, GL_EXP);  GLfloat fog_color[4] = {0.2f,0.2f,0.2f,0.0f};  ::glFogfv(GL_FOG_COLOR, fog_color);  ::glFogf(GL_FOG_DENSITY, 0.25);  //加载纹理  LoadGLTextures();  //设置灯光  SetupLighting();  ::glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_AL...
It provides two types of texture filters: the minification filter (GL_TEXTURE_MIN_FILTER) for polygons smaller than the texture image and the magnification filter (GL_TEXTURE_MAG_FILTER) for polygons that are larger than the texture image.//All Texture Names GLuint m_Texture[3];gluBuild2DMipmaps(GL_TEXTURE_2D, 3, ...
《基于MFC的OpenGL编程》Part 9 Lighting豆豆网 技术应用频道 2008年12月30日 关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 9 Lighting。glLightfv(GL_LIGHT0, GL_AMBIENT, ambient1);glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse1);glLightfv(GL_LIGHT0, GL_SPECULAR, specular1);glLightfv(GL_LIGHT1, GL...
《基于MFC的OpenGL编程》Part 8 Colors豆豆网 技术应用频道 2008年12月30日 关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 8 Colors。
《基于MFC的OpenGL编程》Part 7 Animation豆豆网 技术应用频道 2008年12月30日 关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 7 Animation。// the very last thing we do is to save // the elapsed time, this is used with the // next elapsed time to calculate the // elapsed time since ...
《基于MFC的OpenGL编程》Part 6 Keyboard and Mouse Control豆豆网 技术应用频道 2008年12月30日关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 6 Keyboard and Mouse Control。case VK_RIGHT: m_xPos = m_xPos + 0.1f;} void COpenGLView::OnLButtonUp(UINT nFlags, CPoint point){ // TODO: Add yo...
《基于MFC的OpenGL编程》Part 5 Transformations - Rotations, Translations and Scaling关键字: malloc wxWidgets OpenGL 多态性 doxygen《基于MFC的OpenGL编程》Part 5 Transformations - Rotations, Translations and Scaling。Transformations - Translation, Rotation and Scaling.An object said to be undergoing a transformation cou...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部