Check out this thread: http://terraqueous.f2o.org/dgdev/viewtopic.php?t=835