add 3dmax support