The year after scoring "Hamburger Hill" (1987), Glass began a long collaboration with the filmmaker Errol Morris with his music for Morris's celebrated documentaries, including "The Thin Blue Line" (1988) and "A Brief History of Time" (1991). He continued composing for the Qatsi trilogy with the scores for "Powaqqatsi" (1988) and "Naqoyqatsi" (2002). In 1995 he composed the theme for Reggio's short independent film "Evidence". He made a cameo appearance—briefly visible performing at the piano—in Peter Weir's "The Truman Show" (1998), which uses music from "Powaqqatsi", "Anima Mundi" and "Mishima", as well as three original tracks by Glass. In the 1990s, he also composed scores for "Bent" (1997) and the thriller "Candyman" (1992) and its sequel, "" (1995), plus a film adaptation of Joseph Conrad's "The Secret Agent" (1996).