Page 117 - DCAP504_Computer Graphics
P. 117

Computer Graphics



                          The figure 8.3 shows mesh outline example.

                                                       Figure 8.3 : Mesh Outline Example














                          Source: http://www.siggraph.org/education/materials/HyperGraph/modeling/polymesh/polymesh.htm


                                             Some of the common polygon meshes are triangle strip and quadrilateral mesh
                                             as shown in  figure  8.4. The renderers that implement hardware have the
                                             capacity to produce up to 1,000,000 or even more shaded triangles per second.
                                             They also include application of lighting effects and surface texture.




                                                  Figure 8.4 : Triangle and Quadrilateral Examples












                                                                                Triangle strip                                       Quadrilateral mesh


                          Source: http://en.wikipedia.org/wiki/File:Spoon_fi.jpg
                          Polygon Tables
                          The polygon surfaces are usually specified with  a set of  vertex coordinates  and associated attribute
                          parameters which are listed below:
                          1.   Geometric Data Table: It includes vertices, edges, and polygon surfaces.

                          2.   Attribute Table: It includes degree of transparency and surface reflectivity, etc.
                          The best way to organize the storage of geometric data is to create three lists:
                          1   A Vertex Table: Here the values of each coordinate of the vertex are stored.
                          2.   An Edge Table: It includes the pointers to indicate each of the vertices edge into the vertex table.
                          3.   A Polygon Table:  It contains pointers to the edge table to indicate edges for the polygons.






                          110                     LOVELY PROFESSIONAL UNIVERSITY
   112   113   114   115   116   117   118   119   120   121   122