|
计算机应用 2006
Algorithm for drawing the surface of equation
|
Abstract:
An algorithm which can draw any complex surfaces expressed by explicit equation or parametric equation was given. Firstly, the surface was dispersed into quadrangular meshes, then, the self-hidden lines were removed from the surface by the algorithm of removing hidden lines. In the algorithm of removing hidden lines, the conception of hiding-polygon was introduced. By judging whether the dispersed vertexes on the surface should be hidden or not, and getting the intersecting points between the potential hidden lines and the hiding-polygons, the actual hidden lines which were the parts of the potential hidden lines can be obtained. The experimental results have verified the effectiveness of the proposed algorithm, and it is generalizable to 3D objects displayed in meshes model.