Tank_Source_Code

所属分类:交通/航空行业
开发工具:Visual C++
文件大小:1433KB
下载次数:96
上传日期:2006-10-25 02:41:19
上 传 者lhwbrike
说明:  坦克的车辆动态特性模拟,包括图形界面模块和仿真模块
(tanks Vehicle Dynamic Simulation, including graphical interface modules and simulation module)

文件列表:
Tank Source Code (0, 2005-07-25)
Tank Source Code\drawstuff (0, 2005-07-25)
Tank Source Code\drawstuff\drawstuff.cpp (99367, 2005-07-25)
Tank Source Code\drawstuff\DrawStuff.dsp (3117, 2005-07-25)
Tank Source Code\drawstuff\DrawStuff.dsw (543, 2005-03-30)
Tank Source Code\drawstuff\internal.h (2219, 2005-04-05)
Tank Source Code\drawstuff\resource.h (1106, 2005-05-19)
Tank Source Code\drawstuff\resources.rc (6444, 2005-05-20)
Tank Source Code\drawstuff\windows.cpp (14853, 2005-05-21)
Tank Source Code\drawstuff\x11.cpp (11113, 2003-05-08)
Tank Source Code\Ode (0, 2005-07-25)
Tank Source Code\Ode\Include (0, 2005-07-25)
Tank Source Code\Ode\Include\drawstuff (0, 2005-07-25)
Tank Source Code\Ode\Include\drawstuff\drawstuff.h (7515, 2005-05-22)
Tank Source Code\Ode\Include\drawstuff\internal.h (2219, 2005-04-05)
Tank Source Code\Ode\Include\drawstuff\version.h (1712, 2002-06-25)
Tank Source Code\Ode\Include\ode (0, 2005-07-25)
Tank Source Code\Ode\Include\ode\collision.h (7211, 2004-04-19)
Tank Source Code\Ode\Include\ode\collision_kernel.h (7391, 2003-08-12)
Tank Source Code\Ode\Include\ode\collision_space.h (2502, 2003-08-29)
Tank Source Code\Ode\Include\ode\collision_trimesh.h (6997, 2004-04-04)
Tank Source Code\Ode\Include\ode\common.h (9702, 2005-01-04)
Tank Source Code\Ode\Include\ode\compatibility.h (1969, 2004-04-21)
Tank Source Code\Ode\Include\ode\config.h (1140, 2004-05-29)
Tank Source Code\Ode\Include\ode\contact.h (2714, 2002-06-25)
Tank Source Code\Ode\Include\ode\error.h (2652, 2002-06-25)
Tank Source Code\Ode\Include\ode\export-dif.h (1734, 2004-04-30)
Tank Source Code\Ode\Include\ode\Lib (0, 2005-07-25)
Tank Source Code\Ode\Include\ode\Lib\oded.dll (893019, 2005-03-30)
Tank Source Code\Ode\Include\ode\Lib\oded.ilk (658064, 2005-03-30)
Tank Source Code\Ode\Include\ode\mass.h (3877, 2003-07-03)
Tank Source Code\Ode\Include\ode\matrix.h (7677, 2002-06-25)
Tank Source Code\Ode\Include\ode\memory.h (2574, 2004-04-19)
Tank Source Code\Ode\Include\ode\misc.h (3211, 2002-12-01)
Tank Source Code\Ode\Include\ode\objects.h (11801, 2004-12-13)
Tank Source Code\Ode\Include\ode\ode.h (2123, 2004-04-30)
Tank Source Code\Ode\Include\ode\odecpp.h (19427, 2004-04-22)
Tank Source Code\Ode\Include\ode\odecpp_collision.h (9310, 2004-04-20)
Tank Source Code\Ode\Include\ode\odecpp_old.h (9392, 2002-07-13)
Tank Source Code\Ode\Include\ode\odemath.h (9235, 2004-05-25)
... ...

TANK SIMULATOR Task:To setup ODE in windows and run Tank Simulator. Step 0:Copy the tank folder to desktop. step 1:Copy ode folder into Microsoft Visual Studio/VC*** folder. step 2:Open workspace file - tank.dsw. step 3:Go to Tools->option->directories. -set inside include files-> path to ode/include in VC***. -set inside lib files->path to ode/lib in VC***. Step 4:Go to Project Settings: step 4(1) inside c/c++/preprocessor -check inside additional dir path if path to ode/include VC*** is there. step 4(2) inside Link -check ode.lib,drawstuffd.lib MSVCRTD.LIB LIBCD.LIB are included. -make sure opengl.lib are also included. Step 5:Build the project.If an error appears regarding path of texture then set the texture path where they are located. NOTE:You can also build graphics library- drawstuff,if any change into it is desired by following the following steps: STEP 1:Open workspace file drawstuff.dsw. STEP 2:Go to Tools->option->directories. -set inside include files-> path to ode/include in VC*** if not set. -set inside lib files->path to ode/lib in VC*** if not set. STEP 3:Go to Project Settings: step 4(1) inside c/c++/preprocessor -check inside additional dir path if path to ode/include VC*** is there. step 4(2) inside Link -check outupt file name is set as path to ode/include/lib/Drawstuffd.lib. STEP 4:Build the file. NOTE:You can change stack size required to run the project by changing Project Settings in case stack overflow problem appears.For this Go to Link->Output. NOTE: 1.Tank Graphics has been built using drawstuff graphics library.Any improvement in graphics of Tank will require modification and changes into this.Threfore,whenever such changes are made you need to build the library. Make sure output file Drawstuffd.lib goes into Microsoft Visual Studio/VC***/ode/lib. 2.Simulation part is built using ODE and is in Tank.cpp file. TANK NAVIGATION KEYS UP: FORWARD DOWN BACKWARD UP+LEFT/RIGHT TO STEER LEFT/RIGHT F4/F5 TO ROTATE TURRET CAMERA F1 TOP VIEW F2 FAR VIEW F3 NEAR VIEW PRESS MOUSE LEFT/RIGHT BUTTON+DRAG CHANGES ORIENTATION OF SREEN

近期下载者

相关文件


收藏者