I posted another question (before I found this forum) here:
http://terraqueous.f2o.org/dgdev/viewtopic.php?t=1278