文件名称:OpenGL_MFC
介绍说明--下载内容均来自于网络,请自行研究使用
这一些OpenGL在MFC中实现的一些小的例程,可以实现抗锯齿,纹理映射,纹理照明,纹理透明度等。
这些例程创建一种方法实现以下功能:
在一个对话框中画一个简单的立方体并使用OpenGL进行渲染。
可以用鼠标右键菜单操纵物体,改变纹理等。
一个定时器控制的自动旋转。
纹理文件必须是2^n*2^m*24bits的BMP位图。-This is the smallest example to make :
Antialiasing
Gouraud
Texture mapping
Texture lighting
Texture transparency
This sample create an OpenGL rendering context in a dialog box and draw a simple cube. We can manipulate the object with the mouse, and change texture file with a popup menu item. A timer animate a rotation. Texture files are .BMP files (2^n* 2^m* 24 bits).
这些例程创建一种方法实现以下功能:
在一个对话框中画一个简单的立方体并使用OpenGL进行渲染。
可以用鼠标右键菜单操纵物体,改变纹理等。
一个定时器控制的自动旋转。
纹理文件必须是2^n*2^m*24bits的BMP位图。-This is the smallest example to make :
Antialiasing
Gouraud
Texture mapping
Texture lighting
Texture transparency
This sample create an OpenGL rendering context in a dialog box and draw a simple cube. We can manipulate the object with the mouse, and change texture file with a popup menu item. A timer animate a rotation. Texture files are .BMP files (2^n* 2^m* 24 bits).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
程序\Bin\Antialiasing.exe
....\...\Apple.bmp
....\...\Fauve.bmp
....\...\Flower.bmp
....\...\Gouraud.exe
....\...\Lighting.exe
....\...\Sky.bmp
....\...\TextureLighting.exe
....\...\TextureMapping.exe
....\...\TextureTransparency.exe
....\Package\Antialiasing\DialogGL.aps
....\.......\............\DialogGL.cpp
....\.......\............\DialogGL.dsp
....\.......\............\DialogGL.h
....\.......\............\DialogGL.opt
....\.......\............\DialogGL.plg
....\.......\............\DialogGL.rc
....\.......\............\DialogGL.sln
....\.......\............\DialogGL.suo
....\.......\............\DialogGL.vcxproj
....\.......\............\DialogGL.vcxproj.filters
....\.......\............\DialogGL.vcxproj.user
....\.......\............\DialogGLDlg.cpp
....\.......\............\DialogGLDlg.h
....\.......\............\ReadMe.txt
....\.......\............\res\DialogGL.ico
....\.......\............\...\DialogGL.rc2
....\.......\............\resource.h
....\.......\............\StdAfx.cpp
....\.......\............\StdAfx.h
....\.......\Gouraud\DialogGL.aps
....\.......\.......\DialogGL.cpp
....\.......\.......\DialogGL.dsp
....\.......\.......\DialogGL.h
....\.......\.......\DialogGL.opt
....\.......\.......\DialogGL.plg
....\.......\.......\DialogGL.rc
....\.......\.......\DialogGL.sln
....\.......\.......\DialogGL.suo
....\.......\.......\DialogGL.vcxproj
....\.......\.......\DialogGL.vcxproj.filters
....\.......\.......\DialogGL.vcxproj.user
....\.......\.......\DialogGLDlg.cpp
....\.......\.......\DialogGLDlg.h
....\.......\.......\ReadMe.txt
....\.......\.......\res\DialogGL.ico
....\.......\.......\...\DialogGL.rc2
....\.......\.......\resource.h
....\.......\.......\StdAfx.cpp
....\.......\.......\StdAfx.h
....\.......\Lighting\DialogGL.aps
....\.......\........\DialogGL.cpp
....\.......\........\DialogGL.dsp
....\.......\........\DialogGL.h
....\.......\........\DialogGL.opt
....\.......\........\DialogGL.plg
....\.......\........\DialogGL.rc
....\.......\........\DialogGL.sln
....\.......\........\DialogGL.suo
....\.......\........\DialogGL.vcxproj
....\.......\........\DialogGL.vcxproj.filters
....\.......\........\DialogGL.vcxproj.user
....\.......\........\DialogGLDlg.cpp
....\.......\........\DialogGLDlg.h
....\.......\........\res\DialogGL.ico
....\.......\........\...\DialogGL.rc2
....\.......\........\resource.h
....\.......\........\StdAfx.cpp
....\.......\........\StdAfx.h
....\.......\Src\Texture.cpp
....\.......\...\Texture.h
....\.......\TextureLighting\Apple.bmp
....\.......\...............\DialogGL.aps
....\.......\...............\DialogGL.cpp
....\.......\...............\DialogGL.dsp
....\.......\...............\DialogGL.h
....\.......\...............\DialogGL.opt
....\.......\...............\DialogGL.plg
....\.......\...............\DialogGL.rc
....\.......\...............\DialogGL.sln
....\.......\...............\DialogGL.suo
....\.......\...............\DialogGL.vcxproj
....\.......\...............\DialogGL.vcxproj.filters
....\.......\...............\DialogGL.vcxproj.user
....\.......\...............\DialogGLDlg.cpp
....\.......\...............\DialogGLDlg.h
....\.......\...............\res\DialogGL.ico
....\.......\...............\...\DialogGL.rc2
....\.......\...............\resource.h
....\.......\...............\StdAfx.cpp
....\.......\...............\StdAfx.h
....\.......\.......Mapping\Apple.bmp
....\.......\..............\DialogGL.aps
....\.......\..............\DialogGL.cpp
....\.......\..............\DialogGL.dsp
....\.......\..............\DialogGL.h
....\.......\..............\DialogGL.opt
....\.......\..............\DialogGL.plg
....\.......\..............\DialogGL.rc
....\.......\..............\DialogGL.sln
....\...\Apple.bmp
....\...\Fauve.bmp
....\...\Flower.bmp
....\...\Gouraud.exe
....\...\Lighting.exe
....\...\Sky.bmp
....\...\TextureLighting.exe
....\...\TextureMapping.exe
....\...\TextureTransparency.exe
....\Package\Antialiasing\DialogGL.aps
....\.......\............\DialogGL.cpp
....\.......\............\DialogGL.dsp
....\.......\............\DialogGL.h
....\.......\............\DialogGL.opt
....\.......\............\DialogGL.plg
....\.......\............\DialogGL.rc
....\.......\............\DialogGL.sln
....\.......\............\DialogGL.suo
....\.......\............\DialogGL.vcxproj
....\.......\............\DialogGL.vcxproj.filters
....\.......\............\DialogGL.vcxproj.user
....\.......\............\DialogGLDlg.cpp
....\.......\............\DialogGLDlg.h
....\.......\............\ReadMe.txt
....\.......\............\res\DialogGL.ico
....\.......\............\...\DialogGL.rc2
....\.......\............\resource.h
....\.......\............\StdAfx.cpp
....\.......\............\StdAfx.h
....\.......\Gouraud\DialogGL.aps
....\.......\.......\DialogGL.cpp
....\.......\.......\DialogGL.dsp
....\.......\.......\DialogGL.h
....\.......\.......\DialogGL.opt
....\.......\.......\DialogGL.plg
....\.......\.......\DialogGL.rc
....\.......\.......\DialogGL.sln
....\.......\.......\DialogGL.suo
....\.......\.......\DialogGL.vcxproj
....\.......\.......\DialogGL.vcxproj.filters
....\.......\.......\DialogGL.vcxproj.user
....\.......\.......\DialogGLDlg.cpp
....\.......\.......\DialogGLDlg.h
....\.......\.......\ReadMe.txt
....\.......\.......\res\DialogGL.ico
....\.......\.......\...\DialogGL.rc2
....\.......\.......\resource.h
....\.......\.......\StdAfx.cpp
....\.......\.......\StdAfx.h
....\.......\Lighting\DialogGL.aps
....\.......\........\DialogGL.cpp
....\.......\........\DialogGL.dsp
....\.......\........\DialogGL.h
....\.......\........\DialogGL.opt
....\.......\........\DialogGL.plg
....\.......\........\DialogGL.rc
....\.......\........\DialogGL.sln
....\.......\........\DialogGL.suo
....\.......\........\DialogGL.vcxproj
....\.......\........\DialogGL.vcxproj.filters
....\.......\........\DialogGL.vcxproj.user
....\.......\........\DialogGLDlg.cpp
....\.......\........\DialogGLDlg.h
....\.......\........\res\DialogGL.ico
....\.......\........\...\DialogGL.rc2
....\.......\........\resource.h
....\.......\........\StdAfx.cpp
....\.......\........\StdAfx.h
....\.......\Src\Texture.cpp
....\.......\...\Texture.h
....\.......\TextureLighting\Apple.bmp
....\.......\...............\DialogGL.aps
....\.......\...............\DialogGL.cpp
....\.......\...............\DialogGL.dsp
....\.......\...............\DialogGL.h
....\.......\...............\DialogGL.opt
....\.......\...............\DialogGL.plg
....\.......\...............\DialogGL.rc
....\.......\...............\DialogGL.sln
....\.......\...............\DialogGL.suo
....\.......\...............\DialogGL.vcxproj
....\.......\...............\DialogGL.vcxproj.filters
....\.......\...............\DialogGL.vcxproj.user
....\.......\...............\DialogGLDlg.cpp
....\.......\...............\DialogGLDlg.h
....\.......\...............\res\DialogGL.ico
....\.......\...............\...\DialogGL.rc2
....\.......\...............\resource.h
....\.......\...............\StdAfx.cpp
....\.......\...............\StdAfx.h
....\.......\.......Mapping\Apple.bmp
....\.......\..............\DialogGL.aps
....\.......\..............\DialogGL.cpp
....\.......\..............\DialogGL.dsp
....\.......\..............\DialogGL.h
....\.......\..............\DialogGL.opt
....\.......\..............\DialogGL.plg
....\.......\..............\DialogGL.rc
....\.......\..............\DialogGL.sln