HeightMap5_GL
所属分类:OpenGL
开发工具:Visual C++
文件大小:1495KB
下载次数:135
上传日期:2006-06-23 11:40:12
上 传 者:
xuxiandi
说明: 动态地图显示,使用OPENGL实时显示动态山脉
(dynamic maps indicated that the use of real-time display OpenGL dynamic range)
文件列表:
Height Map Part5 (0, 2005-11-05)
Height Map Part5\Back.bmp (263224, 2002-05-24)
Height Map Part5\Bottom.bmp (263224, 2002-05-24)
Height Map Part5\Camera.cpp (15257, 2005-11-01)
Height Map Part5\Camera.h (2037, 2005-11-01)
Height Map Part5\Detail.bmp (262624, 2002-05-29)
Height Map Part5\Front.bmp (263224, 2002-05-24)
Height Map Part5\HeightMap5.exe (65536, 2005-11-01)
Height Map Part5\HeightMap5.sln (909, 2005-11-01)
Height Map Part5\HeightMap5.vcproj (3719, 2005-11-01)
Height Map Part5\Init.cpp (12726, 2005-11-01)
Height Map Part5\Left.bmp (263224, 2002-05-24)
Height Map Part5\Main.cpp (25767, 2005-11-10)
Height Map Part5\main.h (5045, 2005-11-01)
Height Map Part5\Right.bmp (263224, 2002-05-24)
Height Map Part5\Terrain.bmp (263224, 2002-05-24)
Height Map Part5\Terrain.cpp (8579, 2005-11-01)
Height Map Part5\Terrain.h (755, 2005-11-01)
Height Map Part5\Terrain.raw (1048576, 2002-05-23)
Height Map Part5\Top.bmp (263224, 2002-05-24)
Height Map Part5\water.bmp (196662, 2005-10-20)
//***********************************************************************
//
// - "Talk to me like a 3 year old!" Programming Lessons -
//
// $Author: DigiBen DigiBen@GameTutorials.com
//
// $Program: HeightMap5
//
// $Description: Shows how to add reflections and basic water.
//
//***********************************************************************
Files: Main.cpp (The Source File containing the main program code)
Init.cpp (The Source File containing the Win32 and OpenGL initialization code)
Camera.cpp (The Source File containing the camera code)
Terrain.cpp (The Source File containing the terrain rendering code)
Terrain.h (The Header File containing the "terrain" function definitions)
Camera.h (The Header File cotnaining the camera class definition)
main.h (The Header File containing definitions for the main program)
HeightMap5.vcproj (The VC++ Project File holding the project info)
HeightMap5.sln (The Solution File holding the solution info)
Terrain.raw (The map file)
Terrain.bmp (The Bitmap File used for terrain)
Back, Bottom, Front, Right, Top, Detail, Water.bmp (The Bitmap Files used for the sky box)
Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program)
glu32.lib (The OpenGL Utility Library needed to compile the program)
glaux.lib (The OpenGL Auxiliary Library needed to compile the program)
Instructions: If you have Microsoft Visual Studio .NET (version 7.0) just click on the
.vcproj file. This will open up visual c++. You will most
likely see the code for .cpp. If you don't, press CRTL+ALT+L
This will open the "Solution Explorer". There you should find two folders named
"Source Files" and "Header Files". Double click on the "source" folder and you
should see your source file(s) with a .cpp extension after it. Double click on the
file and it
will open up in your main window. Hit Control-F5 to run the program.
You will probably see a prompt to compile/build the project. Click OK and
the Win32 program should pop up. :)
EULA: Your use of this tutorial constitutes your agreement to GameTutorials' Terms of Use found
at: http://www.gametutorials.com/TermsOfUse.htm
www.GameTutorials.com
2000-2005 GameTutorials
近期下载者:
相关文件:
收藏者: