PhotoOverflight V1.2 Showing a stream of arbitrary photos (image files) appearing from a spot far away, getting bigger while being rotated and finally moved out of view. COPYRIGHT ========= Copyright 2008-2011 Karlheinz Langguth (mailto:karlheinz.langguth@web.de) PhotoOverflight is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. PhotoOverflight is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with PhotoOverflight. If not, see . HISTORY ======= V1.2 Migrated to XNA 4.0/.NET 4.0/VS2010 Repeated key press now toggles feature assigned to key (before could only be switched on). Introduced command line argument -g to show photos in grayscale instead of color. This is achieved by a simple shader. Feature can be toggled by pressing left shift key. Migrating to XNA 4.0 was tedious as the APIs have been cleaned up - a lot of things are missing all of a sudden. Rewrote Multithreading to use TPL of .NET 4. This is a highlight! V1.1 Migrated to XNA 3.0/.NET 3.5/VS2008 Introduced image filename display after pressing TAB-key or using command line option -f. V1.0 Initial version XNA 2.0/.NET 2.0/VS2005 DISTRIBUTION ============ PhotoOverflight is distributed as a zip file containing the following structure PhotoOverflight (root directory) ! +-- bin (Binaries compiled for Win XP, PhotoOverflight.exe ready to execute) ! +-- Src (Sources) ! +-- README (this instruction) +-- COPYING (applied license) +-- PhotoOverflight.sln (VS2008 solution) ENVIRONMENT =========== You will need - .NET Framework Version 4.0 Redistributable Package - XNA Framework Redistributable 4.0 - DirectX 9.0c End-User Runtime (tested with version 9.29.1973, November 2010) for Win XP to run this demo. You can download these packages free of charge from MS. PhotoOverflight has been tested on Win XP/32 Bit. Mind that the DirectX version depends on your OS. For Windows 7 it should be V11. XNA 4.0 is designed to support DirectX 9/10/11. On a friend's computer the following error popup occurred as soon as the application has been started: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) This problem could be fixed by reinstalling DirectX 9.0c using the web installer from MS page. COMPILING ========= PhotoOverflight has been developed and compiled with VS 2010. You will need XNA game studio 4.0 to compile the sources which is freely downloadable from MS web sites (use the search engine at microsoft.com). The solution PhotoOverflight.sln has been included. INSTALLING ========== Meet the prerequisites mentioned in ENVIRONMENT! Simply copy the PhotoOverlight\bin folder RECURSIVELY to your system. It is not enough to simply copy the executable. The folder named "Content" must be copied as well with all its content and must reside next to the executable PhotoOverflight.exe. RUNNING ======= From command line call PhotoOverflight imageFile ... to start the effect. imageFile can be applied multiple times and each occurrence can contain wildcards for directory as well as file name. It can take a while until the effect starts, because initially there are textures cached. PhotoOverflight -h will give you a help page. Press ESC to exit, press Space to pause while effect is running, press TAB to toggle showing of image filenames, press left shift to toggle grayscale/color display. Example: PhotoOverflight c:\*\*.jpg d:\MyPictures\pic0001.jpg