source: GTP/trunk/App/Demos/Illum/Rain/Readme.txt @ 2222

Revision 2222, 1.8 KB checked in by plemenos, 18 years ago (diff)
  • Property svn:executable set to *
RevLine 
[2222]1This application demonstrates the integration of rain to an Ogre scene. Rain is animated through pixel shaders, and rendered with refraction from the background scene.
2This demo needs Ogre Dagon (1.2.5) and an NVIDIA shader model 3.0 compliant graphics card (Geforce 6 or superior).
3It runs fine under OpenGL, it currently DOES NOT run under DirectX. It will work after porting to Ogre eihort, which introduces vertex texture fetch support.
4
5
6Usage :
7-------
8- Use mouse and arrow keys (or numpad arrow keys) to move the observer.
9- Spacebar pauses the particles.
10- + and - change the particles sizes
11- Q and S change the particles speed
12- W and shift+W introduce wind blowing on the particles
13- O hides the fps overlay
14- printScreen captures a screenshot to a file on disk.
15- esc to quit the application
16
17
18Run :
19-----
20Go to bin/debug or bin/release directory and launch the program 'rain'. You will most certainly need to  modify the 'resources.cfg' file in debug/release directory to reflect your Ogre installation.
21
22
23Build :
24-------
25Run and build the solution (rain.sln)
26
27If you wish to modify the application, the most important parameters are set in the file CommonRain.h.
28There, you can modify the number of particles (there are BILLBOARD_POS_TEX_SIZE² particles in the system), the type of particles (comment/uncomment the #define STREAKS and #define SNOW directives), and witch on/off the interaction between particles and light sources).
29
30
31Documentation :
32---------------
33A 'doc' folder is included, containing Doxygen generated documentation of the application. It also includes a basic overview of the method.
34The following link will give you access to some videos of the application :
35http://www.msi.unilim.fr/~rousseau/rain.html
36
37
38Contact :
39---------
40Pierre Rousseau, University of Limoges (rousseau@msi.unilim.fr)
Note: See TracBrowser for help on using the repository browser.