Monday, May 14, 2007

Raspberry Solution


Below is an image for my raspberry solution. It is not quite a raspberry, but the solution is there. Not perfect, but somewhat does what I was looking for.



Here’s a little walk though of what the VOP does:


  1. fires a ray in the direction of the normal up to the distance specified by the user.
  2. when a hit found in the range, get half of the distance to the hit point and insert value into Cd.
  3. outside of VOP, smooth Cd values.
  4. move points based on distance stored in Cd.

The idea behind this is to measure the distance to the closet object and move the points half way, assuming that the other object will move the other half, so they meet in the middle. Points that are closer to other objects, will move less then points that have bigger room to move. This of course, is not entirely accurate as I'm also smoothing the values and you can see some interpenetrations.


Amir



I couldn't resist a few minutes in Photoshop. Would almost be believable if we added a little SSS and hairs etc. Hope you don't mind Amir :)

Keith