<Li> Victor Yerrid - Right Hand of Van Helsing </Li> <P> Stoller stated that Judd Apatow was very involved in the casting process and the development of the script . Regarding the nudity in the film, he added that the first draft of the script called for the (Peter Bretter) character to get dressed after the breakup, but he thought it would be funnier if the character stayed naked the entire time . However, he confirmed the picture of Mila Kunis used in the film was created on a computer and not real . </P> <P> All filming locations were in the state of Hawaii and in Los Angeles . While filming, lead actor Jason Segel told a New York Times interviewer that the naked breakup scenes were based on a real - life experience he had . The film features a great deal of improvised dialogue; according to director Nicholas Stoller, it's "60 or 70 percent scripted and then 30 or 40 percent improv". </P> <P> Segel and Lyle Workman wrote music for the film, which includes music by Infant Sorrow and a song from the Dracula musical . Eric Carmen, Blondie, and Kenny Loggins were also used in previews for the film . </P>

Where was the movie forgetting sarah marshal filmed