The painting "Alacena" by artist Antonio Pérez de Aguilar, created around year 1769, is one of the most well-known examples of the "trampantojo", an artistic technique which uses perspective, light, shadows and great detail in order to create the illusion that the portrayed objects are as close as they can to reality, providing the viewer an optical illusion of realism. The artwork recreates the appearance of a cupboard located in a wall, protected by a cristal with dark wood borders, from which they keys can be found still in the lock on the left side of the painting. In addition, the composition of the objects create an effect of the everyday life during the 18th-century, a mix between both the richness of materials and culture of the New Spain at the time.
Nevertheless, in the painting three shelves hold different kinds of objects coming from diverse backgrounds, which is a great example of the trade of traditions a the time, such as the Indigenous, the Chinese and the Spanish. In the composition the ingredients traditional to Mexico along with a plate of white and blue porcelain with Chinese heritage, and the objects in the shelves belonging to the Spanish tradition : a copper chocolate pot and glasses. On the second shelves, which can be seen at the middle of the painting, plates of silver, bread and honey. These elements hold the function of evoking abundance and domestic order, however, due to the emptiness of the upper shelve the painting becomes interesting narrative-wise.
Pérez de Aguilar's in his painting tilled "Alacena" (Cupboard), has created an illusion so masterfully that the wall has becomes a glass-fronted cupboard, complete with a key dangling from its lock, holding three shelves stacked with everyday household items. The viewers can see all the items like the chocolate pots, gourds, a coconut shell rimmed in silver, a blue-and-white porcelain plate, small loaves of bread, a honey jar with a spoon poking out from under its cloth, books, a stringed instrument, a palette, brushes,etc .The objects trace three separate cultural threads that had become entangled in colonial Mexico: the tompeate basket and drinking gourds speak to Indigenous craft, the porcelain plate arrived by galleon from China, and the chocolate jar and bottles are Spanish in form. Rather than staging a scene with people in it, the artist lets objects stand in. scholars who study casta painting and colonial visual culture, view this cupboard as a map of that society's hierarchy. The shelves themselves seem to echo the social ladder of the viceroyalty: the top shelf, given over to books, music, and the fine arts, aligns with the world of educated, elite Spanish creole culture, while the shelves below, with their local baskets, native gourds, and homely bread, gesture toward Indigenous and mestizo life. The painting isn't just a display of nice things arranged for visual pleasure; it's an inventory that mirrors the society of that time. The painting works on a simpler level too. It's an act of quiet virtuosity: a painter showing off that he can fool the eye, that a flat wall can seem to open into depth and glass and shadow, and that the humble contents of a household cupboard, seen closely enough, are worth the same careful attention as a saint or viceroy.