Description: This 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).
To Search:
- [MyDlgOpenGL] - Based on the OpenGL ,the programe can be
- [EXAM1101] - A drawing Bezier mesh surface of the Vis
File list (Check if you may need any files):
程序\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