The easy part was to sample the image and put a pen stroke (cylinder)
at that location modifying length and width with the sample intensity.
The interesting part is how to orient the pen strokes. I used blurred
image as hf and with trace found the direction of the contour line at
that point. Add some randomness to position and rotation and place
brush. I used a cylinder because transparent png had some problems.
There can be several brushes with alpha channel. Several colors...
http://www.pp.htv.fi/kkivisal/ht/
More interesting stuff can be done if the range data is available
for the image like in pov. First render a scene as normal image.
Then output depth image, blur it and use as hf. The brush strokes
should follow the surfaces or something like that.
_____________
Kari Kivisalo
Post a reply to this message
|