got 3d rotation and perspective working. Now, I just need to fix the 3d translate.