Rain Streak Texture Database
  Coordinate System used for the Database
Please click to see the coordinate system used for the database. 
About the Database

The database captures the effects of lighting direction, camera viewing direction and oscillations parameters on the appearance of rain streaks. For capturing variation in appearance due to lighting, the elevation angle of source is varied from -90 degrees to 90 degrees and azimuthal angle of the source is varied from 10 degrees to 170 degrees both with steps of 20 degrees. To capture the effects of the viewing direction, we varied camera elevation angle from 0 degrees to 80 with steps of 20 degrees. For each light and view configuration we render 10 images to capture the appearance variation due to oscillations. Thus the database samples the streak appearance in the 4 dimensions.

The database streaks are rendered for drop of size 1.6mm and camera exposure time of 1/60 sec. It also includes streaks rendered under ambient lighting. The streaks are rendered as 16-bit monochrome images with maximum resolution of 32 times 1050 pixels. In total, the database includes 3150 streak images. The database also includes at 3 additional (lower) resolutions with streak widths of 16, 8 and 4, to avoid artifacts due to severe down-sampling when rendering streaks far from the camera. The complete database is about 50 MB in size. The streaks are in .png format.

Download the Database
This zip file contains point light database (point light database) and environment database (env_light_database). Each streak is scaled so that its maximum is 65535. For getting the normalized brightness we need to multiply the streaks with the brightness values given in the txt directories.

To download the database for specific resolutions (width of the rainstreaks):
32 pixels 16 pixels 8 pixels 4 pixels

Documentation (pdf of the paper)