Rise of the Planet of the Apes
In Planet of the Apes, the production seriously considered using real apes, since they wanted it to look as real as possible. However, it wasn’t a realistic option for many reasons, and so eventually they had to compromise and use CG animation.

They ended up using motion-capture, recording the motions of actors or objects and creating the digital apes based on these captions.