A simple test I recently finished. As quoted from my site:
"This was a test produced in order to achieve a similar effect to a "Pin Art" toy which creates images by extending an array of pins.
This effect is quite simple actually, and the basic concept is to read an image, look at the luminance values of the pixels, and displace geometry accordingly. The brighter the pixel, the greater the displacement and effectively, the higher the pin elevates. The main problem in achieving this is that building any type of geometry and displacing it with the pixel values will distort the mesh. This is because the left vertices of a mesh may be displaced 10% while the right vertices may be displaced 80% due to neighbouring brighter pixels. The solution to this is to not displace geometry, but rather displace a point, or even better, a spline. Since a point is one dimensional, it can be directly mapped to a single pixel. Once the pixel value is derived, the point shifted, and the spline displaced, any object can then be attached to the spline. In the example below, 3dsmax has a feature which will allow one to convert a spline to an object with a configurable thickness and number of sides at render-time.
The example below has an array of 50x30 splines, which are converted to 4-sided rectangles at rendertime, and are displaced using an animated map, in this case the "Monster's Inc" movie trailer. Of course, greyscale images/maps would work better since pixel values are based on luminance and the pin array can be of any desired resolution."
Movie and project page:
http://www.richardrosenman.com/project/?cid=54
-Richard
"This was a test produced in order to achieve a similar effect to a "Pin Art" toy which creates images by extending an array of pins.
This effect is quite simple actually, and the basic concept is to read an image, look at the luminance values of the pixels, and displace geometry accordingly. The brighter the pixel, the greater the displacement and effectively, the higher the pin elevates. The main problem in achieving this is that building any type of geometry and displacing it with the pixel values will distort the mesh. This is because the left vertices of a mesh may be displaced 10% while the right vertices may be displaced 80% due to neighbouring brighter pixels. The solution to this is to not displace geometry, but rather displace a point, or even better, a spline. Since a point is one dimensional, it can be directly mapped to a single pixel. Once the pixel value is derived, the point shifted, and the spline displaced, any object can then be attached to the spline. In the example below, 3dsmax has a feature which will allow one to convert a spline to an object with a configurable thickness and number of sides at render-time.
The example below has an array of 50x30 splines, which are converted to 4-sided rectangles at rendertime, and are displaced using an animated map, in this case the "Monster's Inc" movie trailer. Of course, greyscale images/maps would work better since pixel values are based on luminance and the pin array can be of any desired resolution."
Movie and project page:
http://www.richardrosenman.com/project/?cid=54
-Richard
Comment