Engine Simulator ================ Installation ------------ The application itself requires no installation as such; however the required libraries (SDL.dll, SDL.lib and SDLmain.lib) must be copied either to a system directory such as C:\Windows\system32, or the same directory as the application. Alternatively the libraries may be downloaded from www.libsdl.org, extracted to any location, and the location added to the PATH environment variable. Usage ----- The application may be used in two modes: data output or 3D visualisation. To run in data output mode, use the following syntax: EnSim.exe e.g. EnSim.exe 0.05 0.07 8.6 3000 data.csv 15 This will run through one complete cycle of the engine with the specified parameters, in steps of 15 degrees, and will write the data to data.csv. Alternatively, omit the filename and step size to run in visualisation mode, where an interactive representation of the engine model will be displayed. Use the following keyboard commands: Key Action ------------------------------ ↑ Move camera forwards ↓ Move camera backwards ← Rotate camera left → Rotate camera right m Toggle wireframe/solid Version History --------------- r2: Fixed camera movement Updated keyboard input handling Updated rendering framework to use a mixture of advanced polygon definitions e.g. triangle fans Improved vector arithmetic and various other small tweaks r1: Initial release as developed for Final Year Project