Abstract:
With the development of computer graphics and scientific visualization,it is key problem that how to illustrate and distinct the different data source by using different colors. On the basis of analysing the color model and lighting calculation in OpenGL, the paper depicted three algorithms for colors rendering, which were linear interpolation, reverse linear interpolation, cosine interpolation. Took above algorithms for example, the steps of colors dynamic rendering were given. Under the condition of OpenGL, the scene effect of color rendering is realized through programming with VC++.it is feasible that the methods can reslove the issue of colors rendering for developing the software of three-dimensional modeling.