You must have these libraries installed in your system globally:
- SDL 1.2
- Boost (any recent version should be ok)
- Qt 4.x >= 4.5
To compile projet you also need:
- Visual Studio 2010
- qmake
- GNU make
PATH_TO_PROJECT_DIRECTORY
- if you see that value somewhere, you should replace it with path to project source directory (preferably absolute)
- Create
build
directory outside project directory. - Using Qt Console enter
build
directory and executeqmake -spec win32-msvc2010 -tp vc PATH_TO_PROJECT\rmit2012_i3d.pro
- Open
rmit2012_i3d.vcxproj
file. - In project Configuration properties/Debugging panel set Command Arguments (for all configurations) to
--gamedir PATH_TO_PROJECT_SOURCE_DIRECTORY
- Hit
Debug->Start Debugging
menu entry.
- Create
build
directory outside project directory. - Enter
build
directory and executeqmake PATH_TO_PROJECT\rmit2012_i3d.pro && make
- Start application by
./rmit2012_i3d --gamedir PATH_TO_PROJECT_DIRECTORY
.
ESC
andq
- quitw
- wireframe modea
- toggle axes (world origin, water origin, ship origin, ship origin with roll/pitch applied)n
- toggle normalsUP
andDOWN
- increase and decrease speed (ship does not slow by itself!)LEFT
andRIGHT
- turn the ship, works only when ship is moving forward-
and+
- halve/double water tesselation level