create 3D perspective window class