plotting surface with d3d9