易网时代-编程资源站
Welcome
首页
/
软件开发
/
VC.NET
《基于MFC的OpenGL编程》Part 3 Drawing Simple 2D Shapes
2017-02-06
23
《基于MFC的OpenGL编程》Part 3 Drawing Simple 2D Shapes2010-05-02 博客园 Phinecos(洞庭散人)剪裁区域In OpenGL when you create a window to draw in we must specify the coordinate system we want to use and how to map the specified coordinates into physi...
《基于MFC的OpenGL编程》Part 4 Drawing Simple 3D objects
2017-02-06
25
《基于MFC的OpenGL编程》Part 4 Drawing Simple 3D objects2010-05-02 博客园 Phinecos(洞庭散人)视见体Viewing Volume is nothing but the region of 3D Cartesian space in that will occupy the window. It is nothing but the minimum and maximum x, y and z va...
《基于MFC的OpenGL编程》Part 5 Transformations - Rotations……
2017-02-06
23
《基于MFC的OpenGL编程》Part 5 Transformations - Rotations……2010-05-02 博客园 Phinecos(洞庭散人)《基于MFC的OpenGL编程》Part 5 Transformations - Rotations,Translations and ScalingTransformations - Translation, Rotation and ScalingTranslation is nothing ...
《基于MFC的OpenGL编程》Part 6 Keyboard and Mouse Control
2017-02-06
20
《基于MFC的OpenGL编程》Part 6 Keyboard and Mouse Control2010-05-02 博客园 Phinecos(洞庭散人)在上一篇的基础上加入对键盘和鼠标的事件处理程序,以便用其来控制3D物体的旋转和移动。1,首先在CCY457OpenGLView类中为WM_KEYDOWN, WM_LBUTTONDOWN, WM_LBUTTONUP 和 WM_MOUSEMOVE四个事件加入事件处理函数。2,在CCY457OpenGLVie...
《基于MFC的OpenGL编程》Part 7 Animation
2017-02-06
22
《基于MFC的OpenGL编程》Part 7 Animation2010-05-02 博客园 Phinecos(洞庭散人)本文中将对第5篇文章的太阳系模型进行修改,加入一些动画效果。此外还会加入显示帧速率的代码。加入动画效果最容易的方法是响应WM_TIMER消息,在其消息处理函数中改变一些参数值,比如每过多少毫秒就旋转一定的角度,并且重绘场景。Frame RateFrame rate is nothing but the number of frames ...
《基于MFC的OpenGL编程》Part 8 Colors
2017-02-06
22
《基于MFC的OpenGL编程》Part 8 Colors2010-05-02 博客园 Phinecos(洞庭散人)OpenGL支持两种颜色模式:RGBA和颜色索引模式,本文关注于前者。Smooth Shading and Flat ShadingWhen Smooth Shading is specified, the color values are interpolated between vertices. If Flat Shading is s...
《基于MFC的OpenGL编程》Part 9 Lighting
2017-02-06
27
《基于MFC的OpenGL编程》Part 9 Lighting2010-05-02 博客园 Phinecos(洞庭散人)本文在第8篇文章的基础上,为其加入灯光效果。MaterialsOpenGL materials are description of what objects are made of. It basically specifies how much of light they reflect and this is what we wou...
《基于MFC的OpenGL编程》Part 10 Texture Mapping
2017-02-06
26
《基于MFC的OpenGL编程》Part 10 Texture Mapping2010-05-02 博客园 Phinecos(洞庭散人)本文在第9篇文章的基础上,为立方体加入纹理映射的功能。Texture MappingTexture Mapping in OpenGL is a fairly straightforward concept. Every texture is nothing but an image of some sort. Textu...
《基于MFC的OpenGL编程》Part 11 Blending, Antialiasing and Fog
2017-02-06
23
《基于MFC的OpenGL编程》Part 11 Blending, Antialiasing and Fog2010-05-02 博客园 Phinecos(洞庭散人)Blending and TransparencyBlending in OpenGL provides pixel-level control of RGBA color storage in the color buffer. To enable blending we must firs...
《基于MFC的OpenGL编程》Part 12 Creating and Using Display Lists
2017-02-06
21
《基于MFC的OpenGL编程》Part 12 Creating and Using Display Lists2010-05-02 博客园 Phinecos(洞庭散人)本文对第11篇文章进行修改,使用显示列表来存储渲染命令。显示列表OpenGL provides a facility to create a preprocessed set of OpenGL commands called a display list. Creating a disp...
《基于MFC的OpenGL编程》Part 13 Creating 2D and 3D Text
2017-02-06
25
《基于MFC的OpenGL编程》Part 13 Creating 2D and 3D Text2010-05-02 博客园 Phinecos(洞庭散人)wglUseFontBitmaps函数The wglUseFontBitmaps() function creates a set of bitmap display lists based on the glyphs in the currently selected font in the curren...
《基于MFC的OpenGL编程》Part 14 Quadrics
2017-02-06
23
《基于MFC的OpenGL编程》Part 14 Quadrics2010-05-02 博客园 Phinecos(洞庭散人)本文在第11篇文章的基础上,为其加入显示各种二次曲面的代码;QuadricsEvery quadric has a few settings associated with it. We have to create a quadric first and then customize its settings to render th...
《基于MFC的OpenGL编程》Part 15 Selection
2017-02-06
25
《基于MFC的OpenGL编程》Part 15 Selection2010-05-02 博客园 Phinecos(洞庭散人)SelectionSelection 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 b...
《基于MFC的OpenGL编程》Part 16 Reflection
2017-02-06
28
《基于MFC的OpenGL编程》Part 16 Reflection2010-05-02 博客园 Phinecos(洞庭散人)ReflectionsAdding 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 redra...
《基于MFC的OpenGL编程》Part 17 Shadows
2017-02-06
23
《基于MFC的OpenGL编程》Part 17 Shadows2010-05-02 博客园 Phinecos(洞庭散人)ShadowsConceptually 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...
《基于MFC的OpenGL编程》Part 18 Reading objects from the OBJ File Format
2017-02-06
25
《基于MFC的OpenGL编程》Part 18 Reading objects from the OBJ File Format2010-05-02 博客园 Phinecos(洞庭散人)本文将介绍如何从Obj文件格式中创建3D对象,我们使用的是Nate Miller的obj格式加载类。This would be very useful to create large Virtual Reality applications as we could make...
《基于MFC的OpenGL编程》Part 19 Creating a Virtual Reality Walkthrough…
2017-02-06
23
《基于MFC的OpenGL编程》Part 19 Creating a Virtual Reality Walkthrough…2010-05-02 博客园 Phinecos(洞庭散人)《基于MFC的OpenGL编程》Part 19 Creating a Virtual Reality Walkthrough Application本文是整个系列文章的最后一篇,将创建一个完整的虚拟office应用程序(如图所示)来做为ending.1,在CCY457Open...
深入探讨下一代Visual C++
2017-02-06
22
深入探讨下一代Visual C++2010-05-29 MSDN Tarek Madkour本文以 Visual Studio 的预发布版(代号为“Orcas”)为基础。文中包含的所有信息均有变更可能。本文讨论:使应用程序以 Windows Vista 为目标MFC 的增强功能准备适用于 UAC 的应用程序封送处理本机和 CLR 类型本文使用了以下技术:Visual C++, Visual Studio目录准备适用于 Windows...
排除vs2005中的不安全函数警告
2017-02-06
24
排除vs2005中的不安全函数警告2010-05-29下面的代码:#include <stdio.h>#include <minmax.h>int main( ){ int a,b,c; scanf("%d,%d",&a,&b); c=max(a,b); printf("max=%d",c); return 0;}使用vs2005编译时会遇到这样一个warning: ...
利用OpenCV实现人脸检测
2017-02-06
23
利用OpenCV实现人脸检测2010-05-29 comprg.com.cn 江林升如何在一副图片中检测到人脸,这涉及到计算机图形学中一些非常复杂的计算,如果这些计算都靠程序员自己来编程,那么工作量就相当大。OpenCV全称是Open Computer Vision,是指开放的计算机视觉资源代码,它具有:统一的结构和功能定义、强大的图像和矩阵运算能力、方便灵活的接口等特点,是计算机视觉、图像处理和模式识别等方面进行二次开发的理想工具。它可以在各种版本的Wi...
<<
1
2
3
4
5
6
7
8
9
10
>>
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图