Popis: |
Aiming at the problem that rendering 3D Julia sets on CPU is slowly, a method of rendering 3D Julia sets on GPU is presented in this paper. After introducing the advantages of GPU and the operations of quaternion, the generating process of 3D Julia sets is discussed in detail. Ray tracing volume rendering algorithm is applied to obtain high quality 3D Julia sets, and escaping time algorithm is used to generate the discreet data of Julia sets, of which normal is estimated according to the original of ray and accelerated by using unbounding sphere algorithm, and the graphics examples are given to illustrate this algorithm. Finally, the factors of affecting rendering speed and refined effect are summarized. The results show that the speed of 3D Julia sets rendering on GPU is much faster than CPU, and the interactivity of rendering process is also enhanced. |