The film didn't receive good investment.The film was a great success (despite)
=> Despite the fact that the film didn't receive good investment, it was a great success
=> Despite not receiving good investment, the flim was a great success.
Despite/ In spite of the fact that S + V + O, S + V + O
= Despite doing sth/ sth, S + V + O