Eva Victor spent two years preparing to make “Sorry, Baby,” their film directing-writing debut in which they also star.

“We shot it for 24 days. And the main thing was,” they said in a phone interview, “I planned the whole movie to have a lot of snow in it. And Boston that year did not want to snow.

“So the movie looks really different than I originally imagined. But I ended up loving the brown ground and winter colors we ended up getting. That was a surprise.”

Not so surprising, perhaps, the raves “Sorry, Baby” has gotten since its acclaimed Sundance premiere.

At its center is Agnes — Victor — a university English teacher raped her freshman year by her English teacher. As her story unfolds nonchronologically in titled chapters like “The Year with the Bad Thing,” she finds life goes on,

“It’s a real personal story for me. I wanted to create a story that felt like it really centered the aftermath of a trauma. The healing, the attempted healing, and not the violence itself.

“So it was all about figuring out how to support that desire for the film to be about that aftermath. That meant building it around a New England school with a cabin. And it all sort of fell into place once I placed the characters in my graduate program.”

Naomi Ackie (“Mickey 17,” “I Wanna Dance with Somebody”) costars as Lydie, Agnes’ longtime best friend, and Lucas Hedges (“Manchester by the Sea”) is both funny and poignant as the nice guy next door.

“I spent a lot of time with an acting coach, prepping the role as an actor,” Victor, 31, explained. “So most of the work, the emotional work, had been done before I got to set. Thank God.

“Mostly, it was about adjusting to my fellow actors’ performances and trying to stay really present. So it was less checking on lines, but more tonally. ‘Is this the right tone for the scene? For the film as a whole?’”

The Massachusetts locations are major.

“We had an amazing locations manager named Stephen Hartman, who does a lot of the movies in Boston. He helped us get locations I could only have dreamt of. We shot like 75 percent of the film at Appleton farms, which is where the cottage was.

“That was an amazing find. Once we got that cottage, I feel like the whole world opened up because we found that perfect location that could, in some scenes, feel like a cozy bubble for these two friends and then also a scary, isolated cabin in the woods for scenes where the character is experiencing a scary night.”

“Sorry, Baby” is in theaters July 4