CamWorldCollision_OGL

所属分类:OpenGL
开发工具:Visual C++
文件大小:64KB
下载次数:531
上传日期:2006-03-31 00:43:18
上 传 者player
说明:  OpenGL漫游的关键技术,对军事地形,3维GIS有用
(OpenGL roaming the key technology that the military terrain, 3-dimensional GIS useful)

文件列表:
Camera World Collision (0, 2003-02-26)
Camera World Collision\3DMath.cpp (24881, 2002-02-24)
Camera World Collision\3DMath.h (4728, 2002-05-24)
Camera World Collision\Camera.cpp (16627, 2002-05-24)
Camera World Collision\Camera.h (3044, 2002-05-24)
Camera World Collision\CameraWorldCollision.exe (65536, 2003-04-19)
Camera World Collision\CameraWorldCollision.sln (940, 2003-04-19)
Camera World Collision\CameraWorldCollision.suo (10240, 2003-04-19)
Camera World Collision\CameraWorldCollision.vcproj (4339, 2003-04-19)
Camera World Collision\Init.cpp (10806, 2002-01-25)
Camera World Collision\Main.cpp (13488, 2003-04-19)
Camera World Collision\main.h (3178, 2002-05-24)
Camera World Collision\World.raw (10152, 2002-01-25)

//*********************************************************************** // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // $Author: DigiBen digiben@gametutorials.com // // $Program: CameraWorldCollision // // $Description: Shows how to check if camera and world collide // // $Date: 1/23/02 // //*********************************************************************** 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) 3DMath.cpp (The Source File containing 3D math routines) 3DMath.h (The Header File containing 3D math routine definitions) Camera.h (The Header File containing the camera class definition) Main.h (The Header File containing definitions for the main program) CameraWorldCollision.vcproj (The VC++ Project File holding the project info) CameraWorldCollision.sln (The Solution File holding the solution info) World.raw (The map file) 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

近期下载者

相关文件


收藏者