This is a MATLAB implementation of Rain Streaks Generation based on Paper Photorealistic Rendering of Rain Streaks.
For demo, simply run Render_BSD_streak_typewise.m
in matlab:
>> Render_BSD_streak_typewise.m
Please also cite the original paper if you use this code for your publication purpose.
@inproceedings{Garg:2006:PRR:1179352.1141985,
author = {Garg, Kshitiz and Nayar, Shree K.},
title = {Photorealistic Rendering of Rain Streaks},
booktitle = {ACM SIGGRAPH 2006 Papers},
series = {SIGGRAPH '06},
year = {2006},
isbn = {1-59593-364-6},
location = {Boston, Massachusetts},
pages = {996--1002},
numpages = {7},
url = {http://doi.acm.org/10.1145/1179352.1141985},
doi = {10.1145/1179352.1141985},
acmid = {1141985},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {oscillations, particle system, rain rendering, rain streak appearance, rain streak database, raindrops},
}