make coordinat between 2d and 3d view