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/VC98 folder.
step 2:Open workspace file - tank.dsw.
step 3:Go to Tools->option->directories.
-set inside include files-> path to ode/include in VC98.
-set inside lib files->path to ode/lib in VC98.
Step 4:Go to Project Settings:
step 4(1) inside c/c++/preprocessor
-check inside additional dir path if path to ode/include VC98 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 VC98 if not set.
-set inside lib files->path to ode/lib in VC98 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 VC98 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/VC98/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