tMappGLFFPSh

所属分类:OpenGL
开发工具:Visual C++
文件大小:164KB
下载次数:4
上传日期:2012-08-05 18:19:23
上 传 者linspire
说明:  来自GameTutorial的关于OpenGL的源码实例。。地形渲染,并可计算FPS值。非常有学习价值。
(From GameTutorial source examples of OpenGL. . The terrain rendering, and can calculate the FPS value. Learning value.)

文件列表:
tMappGLFFPSh\Map.GL.FPS\Camera.cpp (14146, 2002-05-24)
tMappGLFFPSh\Map.GL.FPS\Camera.h (2134, 2002-05-24)
tMappGLFFPSh\Map.GL.FPS\HeightMap.exe (53248, 2003-04-19)
tMappGLFFPSh\Map.GL.FPS\HeightMap.sln (918, 2003-04-19)
tMappGLFFPSh\Map.GL.FPS\HeightMap.vcproj (4277, 2003-04-19)
tMappGLFFPSh\Map.GL.FPS\Init.cpp (11193, 2002-05-24)
tMappGLFFPSh\Map.GL.FPS\Main.cpp (9669, 2003-04-19)
tMappGLFFPSh\Map.GL.FPS\main.h (3754, 2002-05-24)
tMappGLFFPSh\Map.GL.FPS\Terrain.cpp (10461, 2002-05-24)
tMappGLFFPSh\Map.GL.FPS\Terrain.h (1317, 2002-01-08)
tMappGLFFPSh\Map.GL.FPS\Terrain.raw (1048576, 2001-07-16)
tMappGLFFPSh\Map.GL.FPS (0, 2005-09-14)
tMappGLFFPSh (0, 2012-03-18)

//*********************************************************************** // // - "Talk to me like a 3 year old!" Programming Lessons - // // $Author: DigiBen DigiBen@GameTutorials.com // // $Program: HeightMap // // $Description: This shows how render a height map from a file. // // $Date: 7/12/01 // //*********************************************************************** 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 implementation) Terrain.cpp (The Source File containing the terrain rendering implementation) Terrain.h (The Header File containing "terrain" function defintions) Camera.h (The Header File containing the camera class definition) Main.h (The Header File containing definitions for the main program) HeightMap.vcproj (The VC++ Project File holding the project info) HeightMap.sln (The Solution File holding the solution info) Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program) glu32.lib (The OpenGL Utility Library needed to compile the program) winmm.lib (The Windows Multimedia 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-2003 GameTutorials

近期下载者

相关文件


收藏者