Trompe-l’œil (French for “deceive the eye”, pronounced [tʁɔ̃p lœj]) is an art technique that uses realistic imagery to create the optical illusion that the depicted objects exist in three dimensions. Forced perspective is a comparable illusion in architecture.

With widespread fascination with perspective drawing in the Renaissance, Italian painters of the late Quattrocento such as Andrea Mantegna (1431–1506) and Melozzo da Forlì (1438–1494), began painting illusionistic ceiling paintings, generally in fresco, that employed perspective and techniques such as foreshortening to create the impression of greater space for the viewer below. This type of trompe l’œil illusionism as specifically applied to ceiling paintings is known as di sotto in sù, meaning “from below, upward” in Italian. The elements above the viewer are rendered as if viewed from true vanishing point perspective. Well-known examples are the Camera degli Sposi in Mantua and Antonio da Correggio’s (1489–1534) Assumption of the Virgin in the Duomo of Parma. Similarly, Vittorio Carpaccio (1460–1525) and Jacopo de’ Barbari (c. 1440 – before 1516) added small trompe-l’œil features to their paintings, playfully exploring the boundary between image and reality. For example, a fly might appear to be sitting on the painting’s frame, or a curtain might appear to partly conceal the painting, a piece of paper might appear to be attached to a board, or a person might appear to be climbing out of the painting altogether—all in reference to the contest of Zeuxis and Parrhasius. In a 1964 seminar, the psychoanalyst and theorist Jacques Lacan (1901–1981) observed that the myth of the two painters reveals an interesting aspect of human cognition. While animals are attracted to superficial appearances, humans are enticed by the idea of things that are hidden.