With the development and popularization of computer, the computer in our lives play an increasingly important role. The computer also make modern high-speed universal human life more colorful, full of life in a variety of text, images, animation, video, etc.. At this point, have taken place in various aspects of revolutionary change, animation technology is one of the important aspects. With intuitive visual effects to show people the virtual art form. In traditional animation production process, to show movement or the shape of change, need to draw a large number of pictures to show every moment of the various states, thereby creating a movement effect. Usually in the production of animation, the animators to draw some of the key frame screen, known as the key frame. And two adjacent key frame between the frame over the screen known as interpolation. The large number of these interpolation frame, rendering the frame interpolation process is arduous and lengthy. Therefore, using computer-assisted animation production to replace manual work interpolation, its significance is very important. This paper introduced the example of animation in the process of controlling the process, rendering, light effects, transform, mapping technology. DirectX3d used as a framework to animation technology in the key frame interpolation and light model for the main study, the use of linear interpolation algorithm, and based on Nvidia's development of the Cg language and assembly language for programming and implementation of animation and On how to use programmable GPU control and the preparation of animation.