We report for the first time the pattern dynamics in the vicinity of an inverse homoclinic bifurcation in an extended dissipative system. We observe, in direct numerical simulations of three dimensional Rayleigh-Bénard convection, a spontaneous breaking of a competition of two mutually perpendicular sets of oscillating cross rolls to one of two possible sets of oscillating cross rolls as the Rayleigh number is raised above a critical value. The time period of the cross-roll patterns diverges, and shows scaling behavior near the bifurcation point. This is an example of a transition from nonlocal to local pattern dynamics near an inverse homoclinic bifurcation. We also present a simple four-mode model that captures the pattern dynamics quite well. [9]. The selection of a pattern is a consequence of at least one broken symmetry of the system. Unbroken symmetries often introduce multiple patterns, which may lead to a transition from local to global pattern dynamics. The gluing [10] of two limit cycles on two sides of a saddle point in the phase space of a given system is an example of a local to nonlocal bifurcation. It occurs when two limit cycles simultaneously become homoclinic orbits of the same saddle point. This phenomenon has been recently observed in a variety of systems including liquid crystals [11], fluid dynamical systems [12], biological systems [13], optical systems [14], and electrical circuits [15], and is a topic of current research. The pattern dynamics in the vicinity of a homoclinic bifurcation has, however, not been investigated in a fluid dynamical system.A Rayleigh-Bénard system [16,17], where a thin layer of a fluid is heated uniformly from below and cooled uniformly from above, is a classical example of an extended dissipative system which shows a plethora of patternforming instabilities [2], chaos [18], and turbulence [19]. Low-Prandtl-number [20] and very low-Prandtl-number convection [21,22] show three-dimensional oscillatory behavior close to the instability onset. In addition, the Rayleigh-Bénard system possesses symmetries under translation and rotation in the horizontal plane that can introduce multiple sets of patterns. The possibility of a homoclinic bifurcation and the pattern dynamics in its vicinity are unexplored in three dimensional (3D) Rayleigh-Bénard convection.We report, in this article, for the first time the possibility of an inverse homoclinic bifurcation in direct numerical simulations (DNS) of three dimensional (3D) Rayleigh-Bénard convection (RBC) in low-Prandtlnumber fluids, and the results of our investigations of fluid patterns close to the bifurcation. We observe spontaneous breaking of a periodic competition of two mutually perpendicular sets of cross rolls to one set of oscillating cross rolls, as the Rayleigh number Ra is raised above a critical value Ra h . The time period of the oscillating patterns diverges, and shows scaling behavior in the close vicinity of the transition point. The exponents of scaling are asymmetric on the two sides of the transition po...