In this paper, the (3+1)-dimensional Kadomtsev-Petviashvili equation is investigated. Two kinds of periodic breather solitary wave and rogue wave solutions are obtained by using the two-wave method and the homoclinic breather limit approach with the aid of Maple. Deflection of rogue wave varying with the seed solution u 0 is investigated. c 2017 all rights reserved.Keywords: (3+1)-dimensional Kadomtsev-Petviashvili equation, homoclinic breather limit approach, two-wave method, rational breather solutions, rogue wave. 2010 MSC: 35G20, 35C05, 35C07.