add primus 3d support