# Patent

## Title
Computer graphics systems and methods generating smooth feature lines for subdivision surfaces

## Abstract

Computer graphics systems and methods are provided for generating a representation of a feature in a surface defined by a mesh representation, the mesh comprising at a selected level a plurality of points including at least one point connected to a plurality of neighboring points by respective edges, the feature being defined in connection with the vertex and at least one of the neighboring points and the edge interconnection the vertex and the at least one of the neighboring points in the mesh representation. The feature generating arrangement comprises a weight vector generator module and a feature representation generator module.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a Continuation of U.S. patent application Ser. No. 10/062,192 filed Feb. 1, 2002 now U.S. Pat. No. 7,277,094, which claims priority benefit of U.S. Provisional Patent Application 60/265,855 filed Feb. 1, 2001, each of which is incorporated by reference herein as if set forth in its entirety.


FIELD OF THE INVENTION,
The invention relates generally to the field of computer graphics and more specifically to generation of smooth feature lines on subdivision surfaces representing surfaces of objects.
BACKGROUND OF THE INVENTION
Generally, in computer graphics, objects are represented as surfaces with the surfaces being represented by meshes at a particular level. A mesh at particular consists of a set of vertices, or points in three-dimensional space, which are interconnected by edges. The edges define polygonal faces, which may be in the form of triangles, quadrilaterals, and so forth. In some computer graphic operations it is desirable to generate a representation of a surface at a finer resolution than a current representation. There are several popular methodologies for generating a representation of a surface at a finer resolution than a current representation, including a Catmull-Clark surface subdivision methodology, which is used in connection with surfaces defined by a quadrilateral mesh, and a Loop surface subdivision methodology, which is used in connection with surface defined by a triangular mesh. Generally, both methodologies make use of respective subdivision rules at respective vertices defining the surface at a particular level in the mesh to generate a mesh in a next higher subdivision level. The surface of the respective object, which is referred to as the “subdivision surface” or “limit surface,” is taken as being defined by a mesh as the subdivision level approaches infinity.
A feature on a subdivision surface can be defined by a feature line in the mesh that defines the respective surface. A feature line can be in the form of a sharp crease or smooth curve. For a smooth feature line, a normal vector, which is the vector that is perpendicular to a plane that is tangent to the surface, will vary continuously across the smooth feature line. On the other hand, for a sharp crease. However, a definition for a smooth curve can be derived form a definition for a sharp crease using one or more parameters that are used to define the sharpness of the curve across vertices in the mesh at a particular subdivision level. D. Zorin, “Stationary Subdivision And Multi-Resolution Surface Representation.” Ph.D. Thesis, California Institute of Technology, Pasadena, Calif., 1998, describes a methodology for generating a smooth feature line using parameters, but the methodology described there results in surfaces of relatively low quality, even in surfaces that are not smooth at some vertices in the surface topology. T. DeRose, et al., “Subdivision surfaces in character animation,” SIGGRAPH 98 Conference Proceedings, Annual Conference Series, pages 85-94, ACM SIGGRAPH, 1998, describes a methodology for generating a smooth feature line based on applying a subdivision rule corresponding to sharp creases, as described in H. Hoppe, et al., “Piecewise Smooth Surface reconstruction,” SIGGRAPH 94 Conference Proceedings, Annual Conference Series, ACM SIGGRAPH, 1994, up to a selected fineness level, and a rule corresponding to smooth interior points thereafter. Applying the two distinctly different types of rules makes efficient evaluation of the resulting surface difficult.
SUMMARY OF THE INVENTION
The invention provides a new and improved system and method for generating a smooth feature line in a subdivision surface.
In brief summary, the invention provides an arrangement for generating a representation of a feature in a surface defined by a mesh representation, the mesh comprising at a selected level a plurality of points including at least one point connected to a plurality of neighboring points by respective edges, the feature being defined in connection with the vertex and at least one of the neighboring points and the edge interconnecting the vertex and the at least one of the neighboring points in the mesh representation. The feature generating arrangement comprises a weight vector generator module and a feature representation generator module. The weight vector generator module is configured to generate at least one weight vector based on a parameterized subdivision rule defined at a plurality of levels, for which a value of at least one parameter differs at at least two levels in the mesh. The feature representation generator module configured to use the at least one weight vector and positions of the vertex and the neighboring points to generate the representation of the feature.
One embodiment of the invention comprises an arrangement for generating a smooth feature line in the subdivision surface.



BRIEF DESCRIPTION OF THE DRAWINGS
This invention is pointed out with particularity in the appended claims. The above and further advantages of this invention may be better understood by referring to the following description taken in conjunction with the accompanying drawings, in which:
FIG. 1 depicts a computer graphics system including an arrangement for generating a smooth feature line in a subdivision surface, constructed in accordance with the invention;
FIG. 2 depicts a mesh representing a surface to which the Loop surface subdivision methodology has been applied;
FIG. 3 depicts a stencil useful in understanding the Loop surface subdivision methodology;
FIGS. 4A through 4E depict a mesh representing a surface to which the Catmull-Clark surface subdivision methodology has been applied;
FIG. 5 depicts a stencil useful in understanding the Catmull-Clark surface subdivision methodology;
FIG. 6 depicts a stencil useful in understanding a methodology for generating a sharp crease on a subdivision surface;
FIG. 7 depicts a stencil useful in understanding a methodology for generating a smooth feature line used in connection with subdivision surfaces defined by triangular meshes;
FIGS. 8 and 9 depict tables of coefficients used in the methodology used in connection with surfaces defined by triangular meshes described in connection with FIG. 7;
FIG. 10 depicts a flow chart describing operations performed by the computer graphics system in connection with the methodology used in connection with surfaces defined by triangular meshes described in connection with FIG. 7;
FIG. 11 depicts a stencil useful in understanding a methodology for generating a smooth feature line used in connection with subdivision surfaces defined by quadrilateral meshes;
FIGS. 12 and 13 depict tables of coefficients used in the methodology used in connection with surfaces defined by quadrilateral meshes described in connection with FIG. 11.



DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT
FIG. 1 depicts a computer graphics system 10 including an arrangement for generating a smooth feature line in connection with a subdivision surface, constructed in accordance with the invention. With reference to FIG. 1, the computer graphics system includes a processor module 11, one or more operator input devices 12 and one or more display devices 13. The display device(s) 13 will typically comprise a frame buffer, video display terminal or the like, which will display information in textual and/or graphical form on a display screen to the operator. The operator input devices 12 for a computer graphics system 10 will typically include a pen 14 which is typically used in conjunction with a digitizing tablet 15, and a trackball or mouse device 16. Generally, the pen 14 and digitizing tablet will be used by the operator in several modes. In one mode, the pen 14 and digitizing tablet are used to provide updated shading information to the computer graphics system. In other modes, the pen and digitizing tablet are used by the operator to input conventional computer graphics information, such as line drawing for, for example, surface trimming and other information, to the computer graphics system 10, thereby to enable the system 10 to perform conventional computer graphics operations. The trackball or mouse device 16 can be used to move a cursor or pointer over the screen to particular points in the image at which the operator can provide input with the pen and digitizing tablet. The computer graphics system 10 may also include a keyboard (not shown) which the operator can use to provide textual input to the system 10.
The processor module 11 generally includes a processor, which may be in the form of one or more microprocessors, a main memory, and will generally include one a mass storage subsystem including one or more disk storage devices. The memory and disk storage devices will generally store data and programs (collectively, “information”) to be processed by the processor, and will store processed data which has been generated by the processor. The processor module includes connections to the operator input device(s) 12 and the display device(s) 13, and will receive information input by the operator through the operator input device(s) 12, process the input information, store the processed information in the memory and/or mass storage subsystem. In addition, the processor module can provide video display information, which can form part of the information obtained from the memory and disk storage device as well as processed data generated thereby, to the display device(s) for display to the operator. The processor module 11 may also include connections (not shown) to hardcopy output devices such as printers for facilitating the generation of hardcopy output, modems and/or network interfaces (also not shown) for connecting the system 10 to the public telephony system and/or in a computer network for facilitating the transfer of information, and the like.
The invention provides an arrangement for generating a smooth feature line in a three-dimensional subdivision surface. The subdivision surface, in turn, is defined by control points that are interconnected by edges to form a three-dimensional mesh. Generally, a subdivision surface is initially defined by a mesh at a particular degree of granularity or fineness. Using one of several methodologies, the mesh can be refined through a series of levels of increasing subdivision levels, with the subdivision surface being the limit as the subdivision level approaches infinity. In the following, the each mesh level will be identified an index, with one mesh level being identified by index “j” and the next higher subdivision level mesh being identified by index “j+1.” The subdivision surface is essentially defined by the positions of the surface's “limit points,” which are the essentially the control points as the subdivision level approaches infinity, and the orientations of the associated normal vectors. Each normal vector defines the orientation of a tangent plane at the respective point on the subdivision surface and, in turn, can be defined by the cross product of vectors that are tangent to the subdivision surface at the respective point.
Before describing the operations performed by the smooth feature line generating arrangement, it would be helpful to describe two surface subdivision methodologies, namely the aforementioned Loop surface subdivision methodology and a Catmull-Clark surface subdivision methodology, with which the arrangement is used.
Loop's surface subdivision methodology will be described in connection with FIGS. 2 and 3. FIG. 2 depicts a portion of an illustrative surface defined by a mesh, and a subdivision surface derived therefrom, and FIG. 3 depicts a stencil useful in understanding the surface subdivision methodology. Generally, in Loop's surface subdivision methodology, each triangular face in the original mesh is split into a plurality of subfaces, the subfaces defining the next higher subdivision level mesh. The vertices of the next higher subdivision level mesh are positioned using weighted averages of the positions of the vertices in the original mesh. More specifically, and with reference to FIG. 2, a mesh 20 at a “j” subdivision level is depicted that includes a vertex vq (vertex vq=vq(0)) 21(0) located at position cj(q), and a plurality “K” of surrounding points vq(1) through vq(K) (generally, vq(k))21(1) through 21(K) (generally identified by reference numeral 21(k)) located at positions at respective positions cj(1) through cj(K), the points vq(k)21(k) being those points in the mesh 20 that are connected to vertex vq by edges. (“K,” the number of points connected to vertex vq will sometimes be referred to as the vertex's “valence.”) The stencil depicted in FIG. 3 is useful in understanding the ordering of the index “k” for the points surrounding the respective vertex vq. Denoting the set of the indices of the points vq(k) in the mesh that are connected to vertex vq by N(q,j), a mesh at the next higher subdivision level “j+1” corresponds to vertex v′q22(0) located at position cj+1(q) and a set of surrounding points v′q(1)22(1) at located at positions cj+1(1) and connected to the vertex v′q22(0). The higher subdivision level mesh is constructed by providing the vertex v′q22(0) at a position cj+1(q) that is determined by




  
    
      
        
          
            c
            
              j
              +
              1
            
          
          ⁡
          
            (
            q
            )
          
        
        =
        
          
            
              (
              
                1
                -
                
                  a
                  ⁡
                  
                    (
                    K
                    )
                  
                
              
              )
            
            ⁢
            
              
                c
                j
              
              ⁡
              
                (
                q
                )
              
            
          
          +
          
            
              
                a
                ⁡
                
                  (
                  K
                  )
                
              
              K
            
            ⁢
            
              
                ∑
                
                  k
                  ∈
                  
                    N
                    ⁡
                    
                      (
                      
                        q
                        ,
                        j
                      
                      )
                    
                  
                
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  k
                  )
                
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




and points v′q(1)22(1) at positions cj+1(1) that are determined by





  
    
      
        
          
            
              c
              
                j
                +
                1
              
            
            ⁡
            
              (
              l
              )
            
          
          =
          
            
              
                3
                8
              
              ⁡
              
                [
                
                  
                    
                      c
                      j
                    
                    ⁡
                    
                      (
                      q
                      )
                    
                  
                  +
                  
                    
                      c
                      j
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
                ]
              
            
            +
            
              
                1
                8
              
              ⁡
              
                [
                
                  
                    
                      c
                      j
                    
                    ⁡
                    
                      (
                      
                        k
                        -
                        1
                      
                      )
                    
                  
                  +
                  
                    
                      c
                      j
                    
                    ⁡
                    
                      (
                      
                        k
                        +
                        1
                      
                      )
                    
                  
                
                ]
              
            
          
        
        ,
        
          

        
        ⁢
        
          k
          =
          1
        
        ,
        ...
        ⁢
        
          
        
        ,
        K
        ,
      
    
    
      
        (
        2
        )
      
    
  




where the weighting factor a(K) is given by





  
    
      
        
          a
          ⁡
          
            (
            K
            )
          
        
        =
        
          
            5
            8
          
          -
          
            
              
                (
                
                  
                    3
                    +
                    
                      2
                      ⁢
                      
                        cos
                        ⁡
                        
                          (
                          
                            
                              2
                              ⁢
                              π
                            
                            K
                          
                          )
                        
                      
                    
                  
                  8
                
                )
              
              2
            
            .
          
        
      
    
    
      
        (
        3
        )
      
    
  




Equations (1) and (2) can be summarized in a single equation defining a subdivision rule using a subdivision matrix ST,K (where index “T” refers to “Triangular”) as follows

cj+1=ST,Kcj  (4),

which may be written component-wise as





  
    
      
        
          
            
              (
              
                c
                
                  j
                  +
                  1
                
              
              )
            
            l
          
          =
          
            
              ∑
              m
            
            ⁢
            
              
                
                  (
                  
                    S
                    
                      T
                      ,
                      K
                    
                  
                  )
                
                
                  l
                  ,
                  m
                
              
              ⁢
              
                
                  (
                  
                    c
                    j
                  
                  )
                
                m
              
            
          
        
        ,
        
          

        
        ⁢
        where
      
    
    
      
        (
        5
        )
      
    
  
  
    
      
        
          
            (
            
              S
              
                T
                ,
                K
              
            
            )
          
          
            l
            ,
            m
          
        
        =
        
          {
          
            
              
                
                  1
                  -
                  
                    a
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    l
                  
                  =
                  0
                
              
              
                
                  m
                  =
                  0
                
              
            
            
              
                
                  
                    a
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                  2
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                
              
              
                
                  
                    m
                    =
                    1
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                
              
            
            
              
                
                  3
                  8
                
              
              
                
                  
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          1
                        
                        ,
                        
                          ...
                          ⁢
                          
                            
                          
                          ⁢
                          K
                        
                        ,
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          
                            m
                            =
                            1
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                      
                    
                  
                
              
              
                
                  
                    
                      
                        m
                        =
                        0
                      
                    
                  
                  
                    
                      
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      
                        1
                        8
                      
                    
                  
                  
                    
                      
                        
                      
                    
                  
                  
                    
                      
                        
                      
                    
                  
                  
                    
                      
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          2
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                        ,
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          1
                        
                        ,
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          1
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                        ,
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          K
                        
                        ,
                      
                    
                  
                
              
              
                
                  
                    
                      
                        m
                        =
                        
                          l
                          -
                          1
                        
                      
                    
                  
                  
                    
                      
                        m
                        =
                        K
                      
                    
                  
                  
                    
                      
                        m
                        =
                        
                          l
                          +
                          1
                        
                      
                    
                  
                  
                    
                      
                        m
                        =
                        1
                      
                    
                  
                
              
            
            
              
                0
              
              
                
                  otherwise
                  ,
                
              
              
                
                  
                
              
            
          
        
      
    
    
      
        (
        6
        )
      
    
  




where indices “l” and “m” range from “zero” to, and including, “K.”

Equations (1) and (2), or equivalently equations (4) through (6), are applied by selecting each point in the mesh at subdivision level “j” as a vertex, to provide points for the mesh at the subdivision level “j+1.” Loop's surface subdivision methodology can be applied recursively to provide a mesh at any desired subdivision level. It will be appreciated that equation (2) will provide that the point v′q(1)22(1) that is created when the methodology is applied to point vq21(0) as the vertex will be in the same position when the methodology is applied to point vq(k)21(k) as the vertex.
It will be appreciated that, the Loop surface subdivision methodology provides
(i) one new point (reference points v′q(1) described above), at location cj+1(1) in the next higher (“j+1”) subdivision level mesh, for, and generally somewhere between, each pair of points in the level “j” mesh, and
(ii) a relocated point (reference vertex v′q described above), at location cj+1(q) in the “j+1” level mesh for, and generally somewhat near, each point in the “j” level mesh,
which are interconnected to form the “j+1” level mesh.
The Catmull-Clark subdivision methodology produces smooth surfaces using a small number of neighboring vertices. The Catmull-Clark surface subdivision methodology will be described in connection with FIGS. 4A through 4E and 5. FIG. 4A depicts an illustrative surface defined by a mesh, and FIGS. 4B through 4E are useful in understanding operations performed in generating a subdivision surface derived from the surface depicted in FIG. 4A. FIG. 5 depicts a stencil useful in understanding the surface subdivision methodology, and in particular is useful in understanding the ordering of the index “k” for the points surrounding the vertex vq (vertex vq=vq(0)) around which the surface subdivision methodology is to be performed. With reference to FIG. 4A, that FIG. depicts a mesh 30 consisting of four quadrilaterals 31(1) through 31(4). Each quadrilateral is referred to as a face. The quadrilaterals are defined by points 32(0), which is common to all of the quadrilaterals 31(1) through 31(4), and other points 32(1) through 32(8). Generally, the Catmull-Clark surface subdivision methodology is performed in a series of iterations, including
(i) a face point generation iteration, in which, for each face, a face point 33(1) through 33(4) is generated as the average of the points 32(p) defining the respective face (reference FIG. 4B);
(ii) an edge point generation iteration in which, for each edge, a new edge point 34(1) through 34(4) is generated as the average of the midpoint of the original edge with the two new face points of the faces adjacent to the edge (reference FIG. 4C; the face points generated during the face point generation iteration are shown as circles);
(iii) a vertex point iteration in which a vertex point 35 is generated in relation to the positions of the new face points generated in iteration (i) for faces that are adjacent to the original vertex point, the positions of the midpoints of the original edges that are incident on the original vertex point, the position of the original vertex point, and the valence of the original vertex point (reference FIG. 4D; the face and edge points generated during the face point and edge point generation iterations are shown as circles); and
(iv) a mesh connection step (reference FIG. 4E) in which:

    
    
        (a) each new face point is connected to the edge points of the edges defining the original face; and
        (b) each new vertex point is connected to the new edge points of all original edges incident on the original vertex point.
    
    


More specifically, in the Catmull-Clark subdivision methodology, denoting, for a vertex vq at location cj(q),
(i) the set of indices of first-order neighboring points cj(1) that are connected thereto (for example, for point 32(0), point 32(2) and 32(8)) by Ne(q,j), and
(ii) the set of indices of second-order neighboring points that are opposite to vertex cj(q) with respect to the level “j” faces (for example, for point 32(0), point 32(1)) that are incident with vertex cj(q) by Nf(q,j)
a mesh at the next higher subdivision level “j+1” is constructed as follows. In the face point generation iteration, the face points are generated and located at positions cj+1(mi) determined as follows




  
    
      
        
          
            
              c
              
                j
                +
                1
              
            
            ⁡
            
              (
              
                m
                i
              
              )
            
          
          =
          
            
              1
              4
            
            ⁢
            
              (
              
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    q
                    )
                  
                
                +
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    
                      l
                      i
                    
                    )
                  
                
                +
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    
                      l
                      
                        i
                        +
                        1
                      
                    
                    )
                  
                
                +
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    
                      r
                      i
                    
                    )
                  
                
              
              )
            
          
        
        ,
        
          
            m
            i
          
          ∈
          
            
              N
              f
            
            ⁡
            
              (
              
                q
                ,
                
                  j
                  +
                  1
                
              
              )
            
          
        
        ,
        
          l
          i
        
        ,
        
          
            l
            
              i
              +
              1
            
          
          ∈
          
            
              N
              e
            
            ⁡
            
              (
              
                q
                ,
                j
              
              )
            
          
        
        ,
        
          
            r
            i
          
          ∈
          
            
              
                N
                f
              
              ⁡
              
                (
                
                  q
                  ,
                  j
                
                )
              
            
            .
          
        
      
    
    
      
        (
        7
        )
      
    
  




In the edge point generation iteration, the edge points are generated and located at positions cj+1(1i) determined as follows:





  
    
      
        
          
            
              c
              
                j
                +
                1
              
            
            ⁡
            
              (
              
                l
                i
              
              )
            
          
          =
          
            
              1
              4
            
            ⁢
            
              (
              
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    q
                    )
                  
                
                +
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    
                      k
                      i
                    
                    )
                  
                
                +
                
                  
                    c
                    
                      j
                      +
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      m
                      
                        i
                        -
                        1
                      
                    
                    )
                  
                
                +
                
                  
                    c
                    
                      j
                      +
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      m
                      i
                    
                    )
                  
                
              
              )
            
          
        
        ,
        
          
            l
            i
          
          ∈
          
            
              N
              e
            
            ⁡
            
              (
              
                q
                ,
                
                  j
                  +
                  1
                
              
              )
            
          
        
        ,
        
          
            k
            i
          
          ∈
          
            
              N
              e
            
            ⁡
            
              (
              
                q
                ,
                j
              
              )
            
          
        
        ,
        
          m
          
            i
            -
            1
          
        
        ,
        
          
            m
            i
          
          ∈
          
            
              N
              f
            
            ⁡
            
              (
              
                q
                ,
                
                  j
                  +
                  1
                
              
              )
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




In the vertex point generation iteration, the new vertex points are generated and located at positions as follows:





  
    
      
        
          
            
              c
              
                j
                +
                1
              
            
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              
                
                  
                    K
                    -
                    2
                  
                  K
                
                ⁢
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    q
                    )
                  
                
              
              +
              
                
                  1
                  
                    K
                    2
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      K
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      c
                      j
                    
                    ⁡
                    
                      (
                      
                        l
                        i
                      
                      )
                    
                  
                
              
              +
              
                
                  1
                  
                    K
                    2
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      K
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      
                        c
                        
                          j
                          +
                          1
                        
                      
                      ⁡
                      
                        (
                        
                          m
                          i
                        
                        )
                      
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      l
                      i
                    
                  
                
              
            
            ∈
            
              
                N
                e
              
              ⁡
              
                (
                
                  
                    j
                    +
                    1
                  
                  ,
                  q
                
                )
              
            
          
        
        ⁢
        
          
        
        ,
        
          
            m
            i
          
          ∈
          
            
              
                N
                f
              
              ⁡
              
                (
                
                  
                    j
                    +
                    1
                  
                  ,
                  q
                
                )
              
            
            .
          
        
      
    
    
      
        (
        9
        )
      
    
  




In terms of only points cj, that is substituting for the last tern in equation (9),





  
    
      
        
          
            c
            
              j
              +
              1
            
          
          ⁡
          
            (
            q
            )
          
        
        =
        
          
            
              (
              
                1
                -
                
                  7
                  
                    4
                    ⁢
                    K
                  
                
              
              )
            
            ⁢
            
              
                c
                j
              
              ⁡
              
                (
                q
                )
              
            
          
          +
          
            
              3
              2
            
            ⁢
            
              1
              
                K
                2
              
            
            ⁢
            
              
                ∑
                
                  l
                  ∈
                  
                    
                      N
                      e
                    
                    ⁡
                    
                      (
                      
                        q
                        ,
                        j
                      
                      )
                    
                  
                
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  l
                  )
                
              
            
          
          +
          
            
              1
              
                4
                ⁢
                
                  K
                  2
                
              
            
            ⁢
            
              
                ∑
                
                  m
                  ∈
                  
                    
                      N
                      f
                    
                    ⁡
                    
                      (
                      
                        q
                        ,
                        j
                      
                      )
                    
                  
                
              
              ⁢
              
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                .
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




Generally, for quadrilateral meshes, the arrangement makes use of the Catmull-Clark methodology, except for the case of K=3 in equation (9). In that case, the arrangement makes use of




  
    
      
        
          
            
              c
              
                j
                +
                1
              
            
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              
                (
                
                  1
                  -
                  
                    8
                    ⁢
                    γ
                  
                
                )
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  q
                  )
                
              
            
            +
            
              4
              ⁢
              γ
              ⁢
              
                
              
              ⁢
              
                1
                K
              
              ⁢
              
                
                  ∑
                  
                    l
                    ∈
                    
                      
                        N
                        e
                      
                      ⁡
                      
                        (
                        
                          q
                          ,
                          j
                        
                        )
                      
                    
                  
                
                ⁢
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    l
                    )
                  
                
              
            
            +
            
              4
              ⁢
              γ
              ⁢
              
                
              
              ⁢
              
                1
                K
              
              ⁢
              
                
                  ∑
                  
                    m
                    ∈
                    
                      
                        N
                        f
                      
                      ⁡
                      
                        (
                        
                          q
                          ,
                          
                            j
                            +
                            1
                          
                        
                        )
                      
                    
                  
                
                ⁢
                
                  
                    c
                    
                      j
                      +
                      1
                    
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
              
            
          
        
        ,
      
    
    
      
        (
        11
        )
      
    
  




where





  γ
  =
  
    
      3
      38
    
    .
  




Equation (11) would correspond to the Catmull-Clark methodology (equation (9))

with





  
    γ
    =
    
      1
      
        4
        ⁢
        
          
        
        ⁢
        K
      
    
  
  ,




except that, for K=3,





  γ
  =
  
    3
    38
  




instead of 1/12. In terms of only points cj (compare equation (10))





  
    
      
        
          
            c
            
              j
              +
              1
            
          
          ⁡
          
            (
            q
            )
          
        
        =
        
          
            
              (
              
                1
                -
                
                  7
                  ⁢
                  
                    
                  
                  ⁢
                  γ
                
              
              )
            
            ⁢
            
              
                c
                j
              
              ⁡
              
                (
                q
                )
              
            
          
          +
          
            6
            ⁢
            
              
            
            ⁢
            γ
            ⁢
            
              
            
            ⁢
            
              1
              K
            
            ⁢
            
              
                ∑
                
                  l
                  ∈
                  
                    
                      N
                      e
                    
                    ⁡
                    
                      (
                      
                        q
                        ,
                        j
                      
                      )
                    
                  
                
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  l
                  )
                
              
            
          
          +
          
            γ
            ⁢
            
              
            
            ⁢
            
              1
              K
            
            ⁢
            
              
                ∑
                
                  m
                  ∈
                  
                    
                      N
                      f
                    
                    ⁡
                    
                      (
                      
                        q
                        ,
                        j
                      
                      )
                    
                  
                
              
              ⁢
              
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                .
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




These equations can be summarized by a single equation defining a subdivision rule using the subdivision matrix SQ,K (where index “Q” refers to “Quadrilateral”) as follows:

cj+1=SQ,Kcj  (13),

which may be written component-wise as





  
    
      
        
          
            
              (
              
                c
                
                  j
                  +
                  1
                
              
              )
            
            l
          
          =
          
            
              ∑
              m
            
            ⁢
            
              
                (
                
                  S
                  
                    Q
                    ,
                    K
                  
                
                )
              
              ⁢
              
                
                  (
                  
                    c
                    j
                  
                  )
                
                m
              
            
          
        
        ,
        
          

        
        ⁢
        where
      
    
    
      
        (
        14
        )
      
    
  
  
    
      
        
          
            (
            
              S
              
                Q
                ,
                K
              
            
            )
          
          
            l
            ,
            m
          
        
        =
        
          {
          
            
              
                
                  1
                  -
                  
                    7
                    
                      4
                      ⁢
                      
                        
                      
                      ⁢
                      K
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    0
                  
                
              
            
            
              
                
                  
                    3
                    2
                  
                  ⁢
                  
                    1
                    
                      K
                      2
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    1
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                
              
            
            
              
                
                  1
                  
                    K
                    2
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    
                      K
                      +
                      1
                    
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    K
                  
                
              
            
            
              
                
                  3
                  8
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                  ,
                  
                    m
                    =
                    
                      0
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                  
                
              
            
            
              
                
                  1
                  16
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  
                    m
                    =
                    K
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    2
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                  ,
                  
                    m
                    =
                    
                      l
                      -
                      1
                    
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  
                    K
                    -
                    1
                  
                  ,
                  
                    m
                    =
                    
                      l
                      +
                      1
                    
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    K
                  
                  ,
                  
                    m
                    =
                    1
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  
                    m
                    =
                    
                      2
                      ⁢
                      
                        
                      
                      ⁢
                      K
                    
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    2
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                  ,
                  
                    m
                    =
                    
                      K
                      +
                      l
                      -
                      1
                    
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  K
                  ,
                  
                    m
                    =
                    
                      K
                      +
                      1
                    
                  
                
              
            
            
              
                
                  1
                  4
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    
                      K
                      +
                      1
                    
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    K
                  
                  ,
                
              
            
            
              
                
                  
                
              
              
                
                  
                    m
                    =
                    0
                  
                  ,
                  
                    l
                    -
                    K
                  
                  ,
                  
                    l
                    -
                    K
                    +
                    1
                  
                  ,
                  
                    or
                    ⁢
                    
                      
                    
                    ⁢
                    l
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                    
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    
                      2
                      ⁢
                      
                        
                      
                      ⁢
                      K
                    
                  
                  ,
                  
                    m
                    =
                    0
                  
                  ,
                  K
                  ,
                  
                    1
                    ⁢
                    
                      
                    
                    ⁢
                    or
                    ⁢
                    
                      
                    
                    ⁢
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    K
                  
                
              
            
            
              
                0
              
              
                
                  otherwise
                  ,
                
              
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




where indices “l” and “m” range from “zero” to, and including, “2K.”

As is apparent from the above discussion, the Catmull-Clark surface subdivision methodology applied to a quadrilateral mesh at one “j-th” subdivision level will produce a quadrilateral mesh at the next higher “j+1-st” subdivision level having the same number of points as the mesh at the “j-th” subdivision level, but the points in the higher (“j+1”) subdivision level may be at different positions than in the “j-th” level. Equations (7) through (12), or equivalently equations (13) through (15), are applied by selecting each point in the mesh at subdivision level “j” as a vertex, to provide points for the mesh at subdivision level “j+1.” The Catmull-Clark surface subdivision methodology can be applied recursively to provide a mesh at any desired subdivision level.
Sharp creases in a subdivision surface maybe generated by local modifications of the surface subdivision equations described above (equations (6) through (8) in the case of a triangular mesh, equations (13) through (15) in the case of a quadrilateral mesh). This will be illustrated in connection with FIG. 6, which depicts a stencil that is useful in understanding the ordering of the index “k” for the points on opposing sides of a respective vertex vq (vertex vq=vq(0)) through which a crease is to occur. By marking the edges of the mesh at which a crease is to occur, chains of edges can be defined that will define the position of a crease on a subdivision surface. As in the cases of both triangular and quadrilateral meshes, the positions cj+1 of vertices and points in the higher “j+1-st” subdivision level can be determined from positions of vertices and points cj in the “j-th” level using a defining a subdivision rule comprising a subdivision matrix SC (where index “C” refers to “crease”) as follows:

cj+1=SCcj  (16),

which may be written component-wise as





  
    
      
        
          
            
              (
              
                c
                
                  j
                  +
                  1
                
              
              )
            
            l
          
          =
          
            
              ∑
              m
            
            ⁢
            
              
                
                  (
                  
                    S
                    C
                  
                  )
                
                
                  l
                  ,
                  m
                
              
              ⁢
              
                
                  (
                  
                    c
                    j
                  
                  )
                
                m
              
            
          
        
        ,
        
          

        
        ⁢
        where
      
    
    
      
        (
        17
        )
      
    
  
  
    
      
        
          
            (
            
              S
              C
            
            )
          
          
            l
            ,
            m
          
        
        =
        
          {
          
            
              
                
                  3
                  4
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    0
                  
                
              
            
            
              
                
                  1
                  8
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    
                      1
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      2
                    
                  
                
              
            
            
              
                
                  1
                  2
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    
                      1
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      2
                    
                  
                  ,
                  
                    m
                    =
                    
                      0
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                  
                
              
            
            
              
                0
              
              
                
                  otherwise
                  ,
                
              
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




where indices “l” and “m” range from “zero” to, and including, “two.” This subdivision rule can be used for creases in the cases subdivision surfaces defined by both triangular meshes and quadrilateral meshes.

The invention provides a system and method for generating smooth feature lines in subdivision surfaces. As with a sharp crease, a smooth feature line is defined by marking a series of edges at a given subdivision level, which edges are to define the feature line. The lowest subdivision level at which the edges that are associated with a smooth feature line are marked will be referred to as the definition level “jD” for the smooth feature line In addition, a sharpness parameter will be associated with each marked edge in the definition level jD for the smooth feature line. In one embodiment, the value of the sharpness parameter is in the form of a real number in the interval [0,1], that is, in the interval between “zero” and “one,” inclusive of the endpoints. If an edge has a sharpness parameter with the value “zero,” there is no crease along the edge. On the other hand, if an edge has a sharpness parameter with the value “one,” the edge forms part of a sharp crease as described above.
Generally, a smooth feature is obtained by using a subdivision rule that generalizes the subdivision rules described above (reference equations (4) through (6) in the case of a triangular mesh and equations (13) through (15) in the case of a quadrilateral mesh). The subdivision rule makes use of two parameters s1 and s2 which are the respective values of the sharpness parameter on two sides of a vertex across which a smooth feature line is to be generated. A subdivision surface's limit surface, that is, the surface defined by the subdivision surface's limit points, is smooth in the neighborhood of a smooth feature line. That is, for each point on the limit surface that is associated with a smooth feature line, that is, for each point for which the values of the sharpness parameters on respective sides of the point are other than “one,” the orientation of the vector that is normal to the limit surface will vary continuously. However, for the limit surface at a point for which the sharpness parameter have the value is “one,” which will be the case at a sharp crease, the normal vector will not be defined, since the orientation of the normal vector on respective sides of the point will differ.
Operations performed by the computer graphics system 10 in connection with generating a smooth feature line will be described in connection with FIGS. 7 through 10, in the case of a subdivision surface defined by a triangular mesh, and in connection with FIGS. 11 through 14, in the case of a subdivision surface defined by a quadrilateral mesh. In both cases, the smooth feature line will be defined by the positions of limit points, as well as the normal vectors at the respective limit point, in a region of a subdivision surface that is proximate the line corresponding to the edges that have been marked. As noted above, the normal vectors correspond to the cross product of two tangent vectors at the respective limit point, namely, a tangent vector along the smooth feature line at the respective limit point and a tangent vector across the smooth feature line at the respective limit point.
With reference to FIG. 7, that FIG. depicts a portion of a subdivision surface defined by a triangular mesh with vertex vq (vertex vq=vq(0)) and points vq(1) through vq(K) with indices numbered as depicted in the FIG. The vertices are labeled such that a crease, which is to define part of a smooth feature line, passes through point vq(1), vertex vq and point vq(L+1) along edges vq(1),vq (which will be referred to as edge (1,0)) and vq,vq(L+1) (which will be referred to as edge (0,L+1)). The value of the sharpness parameter associated with the edge (1,0) will be referred to as s1 and the value of the sharpness parameter associated with the edge (0,L+1) will be referred to as s2. Since edges (1,0) and (0,L+1) have been indicated as being edges that define a crease, the value of the sharpness parameter will be non-zero. The values of the sharpness parameters associated with the other edges that are on the vertex vq may be“zero,” or non-zero. Generally the subdivision rule described in equation (4) (or, equivalently, equation (5)) can be used to determine the positions of respective vertices, using the subdivision matrix




  
    
      
        
          
            
              
                
                  (
                  
                    
                      S
                      
                        sc
                        ,
                        T
                        ,
                        K
                        ,
                        L
                      
                    
                    ⁡
                    
                      (
                      
                        
                          s
                          1
                        
                        ,
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  )
                
                
                  l
                  ,
                  m
                
              
              =
            
          
        
        
          
            
              {
              
                
                  
                    
                      
                        
                          (
                          
                            1
                            -
                            
                              s
                              3
                            
                          
                          )
                        
                        ⁢
                        
                          (
                          
                            1
                            -
                            
                              a
                              ⁡
                              
                                (
                                K
                                )
                              
                            
                          
                          )
                        
                      
                      +
                      
                        
                          3
                          4
                        
                        ⁢
                        
                          s
                          3
                        
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        0
                      
                      ,
                      
                        m
                        =
                        0
                      
                    
                  
                
                
                  
                    
                      
                        
                          (
                          
                            1
                            -
                            
                              s
                              3
                            
                          
                          )
                        
                        ⁢
                        
                          
                            a
                            ⁡
                            
                              (
                              K
                              )
                            
                          
                          K
                        
                      
                      +
                      
                        
                          1
                          8
                        
                        ⁢
                        
                          s
                          3
                        
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        0
                      
                      ,
                      
                        m
                        =
                        
                          
                            1
                            ⁢
                            
                              
                            
                            ⁢
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            L
                          
                          +
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                        (
                        
                          1
                          -
                          
                            s
                            3
                          
                        
                        )
                      
                      ⁢
                      
                        
                          a
                          ⁡
                          
                            (
                            K
                            )
                          
                        
                        K
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        0
                      
                      ,
                      
                        m
                        =
                        2
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      L
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        0
                      
                      ,
                      
                        m
                        =
                        
                          L
                          +
                          2
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                    
                  
                
                
                  
                    
                      
                        3
                        8
                      
                      +
                      
                        
                          1
                          8
                        
                        ⁢
                        
                          s
                          2
                        
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        1
                      
                      ,
                      
                        m
                        =
                        
                          0
                          ⁢
                          
                            
                          
                          ⁢
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                        3
                        8
                      
                      +
                      
                        
                          1
                          8
                        
                        ⁢
                        
                          s
                          1
                        
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          L
                          +
                          1
                        
                      
                      ,
                      
                        m
                        =
                        
                          
                            0
                            ⁢
                            
                              
                            
                            ⁢
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            L
                          
                          +
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                        1
                        8
                      
                      ⁢
                      
                        (
                        
                          1
                          -
                          
                            s
                            2
                          
                        
                        )
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        1
                      
                      ,
                      
                        m
                        =
                        
                          2
                          ⁢
                          
                            
                          
                          ⁢
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          K
                        
                      
                    
                  
                
                
                  
                    
                      
                        1
                        8
                      
                      ⁢
                      
                        (
                        
                          1
                          -
                          
                            s
                            1
                          
                        
                        )
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          L
                          +
                          1
                        
                      
                      ,
                      
                        m
                        =
                        
                          
                            L
                            ⁢
                            
                              
                            
                            ⁢
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            L
                          
                          +
                          2
                        
                      
                    
                  
                
                
                  
                    
                      3
                      8
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        2
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      L
                      ,
                      
                        m
                        =
                        0
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          L
                          +
                          2
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                      ,
                      
                        m
                        =
                        0
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          m
                          =
                          2
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      L
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          m
                          =
                          
                            L
                            +
                            2
                          
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                    
                  
                
                
                  
                    
                      1
                      8
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        2
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      L
                      ,
                      
                        m
                        =
                        
                          l
                          -
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          L
                          +
                          2
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                      ,
                      
                        m
                        =
                        
                          l
                          -
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        2
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      L
                      ,
                      
                        m
                        =
                        
                          l
                          +
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        
                          L
                          +
                          2
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                      ,
                      
                        m
                        =
                        
                          l
                          +
                          1
                        
                      
                    
                  
                
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          l
                        
                        =
                        K
                      
                      ,
                      
                        m
                        =
                        1
                      
                    
                  
                
                
                  
                    0
                  
                  
                    
                      otherwise
                      ,
                    
                  
                
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




where, as in equation (6), indices “l” and “m” range from “zero” to, and including, “K,” and where





  
    
      s
      3
    
    =
    
      
        1
        2
      
      ⁢
      
        (
        
          
            s
            1
          
          +
          
            s
            2
          
        
        )
      
    
  
  ,




the average of the values of the parameters s1 and s2 associated with the edges (1,0) and (0,L+1).

To ensure that the directions of the tangent vectors vary continuously at and near irregular vertices, the value(s) of the sharpness parameter(s) are gradually reduced as the level of the mesh increases. In the case of smooth feature lines, the repeated update of the value of the sharpness parameter as the level of the mesh increases would provide a value that approaches zero, which, in turn, will provide that the directions of the tangent vectors vary continuously at the limit surface. In one embodiment, for a vertex vq for which the sharpness parameters s1 and s2 have the same value “s” on both sides of the vertex (that is, s1=s2), the sharpness parameter update function is

s(j+1)=(s(j))2  (20),

that is, s(j+1), the value of the sharpness parameters s1 and s2 at the higher “j+1-st” subdivision level mesh, is the square of s(j), the value of the sharpness parameters s1 and s2 at the lower (“j-the”) level mesh. On the other hand, for a vertex vq for which values of sharpness parameters s1 and s2 are not constant across the vertex (that is, s1≠s2), the sharpness parameter update functions are a function of the values of both sharpness parameters s1 and s2. In one embodiment, the function is selected to be





  
    
      
        
          
            
              s
              1
            
            ⁡
            
              (
              
                j
                +
                1
              
              )
            
          
          =
          
            
              (
              
                
                  
                    3
                    4
                  
                  ⁢
                  
                    
                      s
                      1
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
                +
                
                  
                    1
                    4
                  
                  ⁢
                  
                    
                      s
                      2
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
              
              )
            
            2
          
        
        ,
        
          

        
        ⁢
        and
      
    
    
      
        (
        21
        )
      
    
  
  
    
      
        
          
            
              s
              2
            
            ⁡
            
              (
              
                j
                +
                1
              
              )
            
          
          =
          
            
              (
              
                
                  
                    1
                    4
                  
                  ⁢
                  
                    
                      s
                      1
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
                +
                
                  
                    3
                    4
                  
                  ⁢
                  
                    
                      s
                      2
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
              
              )
            
            2
          
        
        ,
      
    
    
      
        (
        22
        )
      
    
  




essentially providing a linear combination corresponding to quadratic splines.

Since the values of the sharpness parameters s1 and s2 vary from level to level, the smooth curve subdivision matrix (Ssc,T,K,L(s1,s2))lm (equation (19)) will also not be constant from level to level. Accordingly eigen-analysis, which is conventionally used to determine positions of limit points and orientations of tangent vectors for subdivision surfaces, is not used here. As suggested above, a subdivision surface is defined by a collection limit points and normal vectors (or, equivalently, two tangent vectors for each normal vector), which, in turn, are provided by iteratively applying equation (4) from a definition level “jD” for the mesh to the level j=∞. The definition level jD is the lowest subdivision level “j” for which the respective smooth feature line is defined in the subdivision surface. Accordingly, in order to determine the positions of the limit points, the infinite subdivision matrix




  
    
      
        
          
            
              S
              
                sc
                ,
                T
                ,
                K
                ,
                L
                ,
                LP
              
            
            ⁡
            
              (
              
                
                  s
                  1
                
                ,
                
                  s
                  2
                
              
              )
            
          
          =
          
            
              ∏
              
                j
                =
                ∞
              
              
                j
                D
              
            
            ⁢
            
              
            
            ⁢
            
              
                S
                
                  sc
                  ,
                  T
                  ,
                  K
                  ,
                  L
                
              
              ⁡
              
                (
                
                  
                    
                      s
                      1
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                  ,
                  
                    
                      s
                      2
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
                )
              
            
          
        
        ,
      
    
    
      
        (
        23
        )
      
    
  




is evaluated, where Ssc,T,K,L(s1(j),s2(j)) is the subdivision matrix described above in connection with equation (19) for sharpness parameters corresponding to the “j-th” level in the matrix product on the right-hand side of equation (23). For Ssc,T,K,L,LP(s1,s2) on the left-hand side of equation (23), arguments s1 and s2 refer to the sharpness parameters at the definition level of the smooth feature line, that is, s1=s1(jD) and s2=s2(jD), and the subscript “LP” refers to “Limit Point.” Since matrix multiplication is not commutative, the order of the factors in the matrix product in equation (23) is important. In equation (23), the order of the factors from left to right in the product extends from j=∞ on the left to j=jD on the right, as suggested by equation (4).

The matrix product (equation (23)), converges to a “K+1”-by-“K+1” matrix that has “K+1” rows, with the components comprising each row being identical to the components of the other rows, in the same order. A vector of weight values lLP for determining the position σ(q) of the limit point is obtained as follows:

lLP(s1,s2)=νLP·Ssc,T,K,L,LP(s1,s2)  (24),

where vector vLP is a vector of weights that are used in determining the position of a limit point of a subdivision surface using the Loop subdivision methodology in the absence of a smooth feature line, that is,





  
    
      
        
          
            v
            LP
          
          =
          
            (
            
              
                
                  ω
                  ⁡
                  
                    (
                    K
                    )
                  
                
                
                  
                    
                      ω
                      ~
                    
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                  +
                  K
                
              
              ,
              
                1
                
                  
                    
                      ω
                      ~
                    
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                  +
                  K
                
              
              ,
              
                1
                
                  
                    
                      ω
                      ~
                    
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                  +
                  K
                
              
              ,
              ...
              ⁢
              
                
              
              ,
              
                1
                
                  
                    
                      ω
                      ~
                    
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                  +
                  K
                
              
            
            )
          
        
        ,
        
          

        
        ⁢
        where
      
    
    
      
        (
        25
        )
      
    
  
  
    
      
        
          
            
              ω
              ~
            
            ⁡
            
              (
              K
              )
            
          
          =
          
            
              3
              ⁢
              
                
              
              ⁢
              K
            
            
              8
              ⁢
              
                
              
              ⁢
              
                a
                ⁡
                
                  (
                  K
                  )
                
              
            
          
        
        ,
      
    
    
      
        (
        26
        )
      
    
  




where a(K) is as defined in equation (3). The position σ(q) of a limit point associated with a vertex vq(0) is computed from the position cjD(q) of the vertex vq(0) and the positions cjD(k), k=1, . . . , K, of the neighboring points vq(k) around the vertex vq(0), in the mesh corresponding to the definition level jD of the smooth feature line in the subdivision surface, or to any subdivision level higher than the definition level, using the components of lLP as weight values. The components of limit point weight vector lLP(s1,s2) can be satisfactorily approximated by second degree polynomials in s1 and s2 using six values per component and per valence.

If




  
    L
    =
    
      K
      2
    
  
  ,




symmetry considerations allow the number of values per component to be reduced. In that case, the components of limit point weight vector lLP satisfy the following symmetry relations:

    
    
        1. The “i-th” component of limit point weight vector lLP equals the “K+2-i-th” component of lLP, that is, (lLP)i=(lLP)K+2−i, for
    
    






  
    i
    =
    
      
        K
        2
      
      +
      2
    
  
  ,
  
    ...
    ⁢
    
      
    
    ⁢
    
      K
      .
    
  




This is a result of the fact that the subdivision matrix (equation (19) is invariant upon reflection with respect to the crease line. As a result, approximations need only be generated for components





  
    i
    =
    0
  
  ,
  1
  ,
  ...
  ⁢
  
    
  
  ,
  
    
      K
      2
    
    +
    1.
  




    
    
        2. Further, since the subdivision matrix (equation (19)) is also symmetric in s1 and s2,
    
    






  
    
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        )
      
      i
    
    =
    
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                2
              
              ,
              
                s
                1
              
            
            )
          
        
        )
      
      
        
          K
          2
        
        +
        2
        -
        i
      
    
  
  ,




and so approximations need only be generated for





  
    i
    =
    0
  
  ,
  1
  ,
  ...
  ⁢
  
    
  
  ,
  
    ⌊
    
      
        K
        4
      
      +
      1
    
    ⌋
  
  ,




where





  
    ′′
    ⁢
    
      ⌊
      
        x
        y
      
      ⌋
    
    ⁢
    ′′
  
  ⁢
  
    
  




refers to the greatest integer in the quotient “x/y;”

    
    
        3. Further, since, if the particular values of the parameters s1 and s2 were interchanged, the vertex vq would behave in the same way, (lLP(s1,s2))0=(lLP(s2,s1))0, and
        
            so the approximation may be constructed using only symmetric, second-degree polynomials in s1 and s2, that is, using four coefficients; and
        
        
        4. Further, if “K” is a multiple of “four,” then, from points (1) and (2) above,
    
    






  
    
      (
      
        
          l
          LP
        
        ⁡
        
          (
          
            
              s
              1
            
            ,
            
              s
              2
            
          
          )
        
      
      )
    
    
      
        K
        4
      
      +
      1
    
  
  =
  
    
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                2
              
              ,
              
                s
                1
              
            
            )
          
        
        )
      
      
        
          K
          4
        
        +
        1
      
    
    .
  




Accordingly, these components can be approximated using symmetric second-degree polynomials using four coefficients.

In one embodiment, regardless of whether




  
    L
    =
    
      K
      2
    
  
  ,




the approximating polynomials are computed using a least-squares Chebyshev approximation methodology. The matrix product (equation (23)) is evaluated at the points of a grid in the (s1,s2) region made up of roots of Chebyshev polynomials





  
    
      
        
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
          =
          
            (
            
              
                cos
                (
                
                  
                    
                      (
                      
                        i
                        +
                        
                          1
                          2
                        
                      
                      )
                    
                    ⁢
                    π
                  
                  N
                
                )
              
              ,
              
                cos
                (
                
                  
                
                ⁢
                
                  
                    
                      (
                      
                        j
                        +
                        
                          1
                          2
                        
                      
                      )
                    
                    ⁢
                    π
                  
                  N
                
                )
              
            
            )
          
        
        ,
      
    
    
      
        (
        27
        )
      
    
  




for i,j=0, . . . N−1. In one embodiment, “N” is taken to be “eight,” so that there are “sixty-four” sample points in equation (27). The coefficients bij (j=0, . . . , 3 in the symmetric case, or j=0, . . . , 5 in the asymmetric case) for the polynomial

(lLP)i≈bi0+bi1(s1+s2)+bi2(s12+s22)+bi3s1s2  (28),

in the symmetric case





  
    (
    
      i
      =
      
        
          0
          ⁢
          
            
          
          ⁢
          or
          ⁢
          
            K
            4
          
        
        +
        1
      
    
    )
  
  ,




or the polynomial

(lLp)i≈bi0+bi1s1+bi2s2+bi3s12+bi4s22+bi5s1s2  (29),

in the asymmetric case (“i” otherwise), are determined by a least squares methodology. In that operation, the computer graphics system 10 computes the matrix product (equation (23) evaluated at points (s1,s2) as defined in equation (27)). Thereafter, a set of N2 polynomials (equation (28) and/or (29)) are generated using the values of s1 and s2 at the respective points (equation (27)) in the (s1,s2) region, with each polynomial being equal to the respective “i-th” component of the row of the matrix product. The computer graphics system 10 then determines the values of the coefficients bij in the polynomials using the least squares approximation methodology. After the values of the coefficients bij have been determined, they are used to generate the values of the components (lLP)i of limit point weight vector lLP using equations (28) and (29).

The error in the least squares approximation has an oscillatory behavior over the region (s1,s2) and will be minimized if the amplitude of the oscillations is distributed evenly over the region. This can be accomplished by relaxing the constraints imposed by a weighted least squares methodology for points that are well-approximated and tightening the constraints for the points that are poorly approximated. In the weighted least squares methodology, after the values of the coefficients bij have been evaluated using the least squares methodology described above, the polynomial (equation (28) and/or (29)) is evaluated at each point in the (s1,s2) region, the value compared to the value generated for the respective component of the matrix product (equation (23)), and a weight value determined that reflects the difference therebetween. Thereafter, the weight values can be used in constraining the approximations of the values of the coefficients bij in an uneven manner.
FIG. 8 depicts a table of coefficients bij for K=4, 6, . . . , 16, with the indexing, in the form of the C programming language,




  
    
      
        b
        ⁡
        
          [
          
            
              K
              2
            
            -
            2
          
          ]
        
      
      ⁡
      
        [
        i
        ]
      
    
    ⁡
    
      [
      j
      ]
    
  
  ,




where “i” is the index of the component of limit point weight vector lLP, taking values in the range





  
    i
    =
    0
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    ⌊
    
      
        K
        4
      
      +
      1
    
    ⌋
  
  ,




and “j” is the index of the coefficient bij of the approximating polynomial.

After the limit point weight vector lLP associated with a vertex vq(0) has been generated as described above, it can be used along with the position cj(q) of the vertex vq(0) and positions cj(k) of the points vq(k), k=1, . . . , K neighboring the vertex vq(0) to determine the position σ(q) of the limit point associated with the vertex vq(0) as follows




  
    
      
        
          
            σ
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              ∑
              
                i
                =
                0
              
              K
            
            ⁢
            
              
                
                  (
                  
                    
                      l
                      LP
                    
                    ⁡
                    
                      (
                      
                        
                          s
                          1
                        
                        ,
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  )
                
                i
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  i
                  )
                
              
            
          
        
        ,
      
    
    
      
        (
        30
        )
      
    
  




where, as suggested above, i∈q∪N(q,j) (reference FIG. 7), and where (lLP(s1,s2))i refers to the “i-th” component of lLP(s1,s2), which, in turn, corresponds to the limit point weight vector lLP for sharpness parameter values s1 and s2 at the definition level j=JD for the smooth feature line or at any subdivision level higher than the definition level jD, and indices 0, . . . , K are as shown in FIG. 7.

One embodiment makes use of a similar polynomial approximation methodology to obtain good approximations for vectors lC and lS of weight values that are to be used in generating the tangent vectors, tangent vector weight vector lC being used in generating the tangent vector along the smooth feature line and tangent vector weight vector lS being used in generating the tangent vector across the smooth feature line at the limit point associated with the vertex vq(0) with which the respective tangent vector weight vectors is associated. In that methodology, a vector lC(J) is generated as follows:




  
    
      
        
          
            
              l
              C
            
            ⁡
            
              (
              J
              )
            
          
          =
          
            
              (
              
                0
                ,
                1
                ,
                0
                ,
                ...
                ⁢
                
                  
                
                ,
                
                  -
                  1
                
                ,
                0
                ,
                ...
              
              )
            
            ·
            
              
                ∏
                
                  j
                  =
                  J
                
                
                  J
                  D
                
              
              ⁢
              
                
                  S
                  
                    sc
                    ,
                    T
                    ,
                    K
                    ,
                    L
                  
                
                ⁡
                
                  (
                  
                    
                      
                        s
                        1
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                    ,
                    
                      
                        s
                        2
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                  
                  )
                
              
            
          
        
        ,
      
    
    
      
        (
        31
        )
      
    
  




where the two non-zero components of the row vector on the right hand side are a “one” at position “one” in the row vector, and a “negative one” at position





  
    
      K
      2
    
    +
    1
  
  ,




and “.” refers to the dot product.

After generating vector lC(J) according to equation (31), the value is normalized and the limit taken as J→∞:




  
    
      
        
          
            l
            C
          
          =
          
            
              lim
              
                j
                →
                ∞
              
            
            ⁢
            
              
                
                  l
                  C
                
                ⁡
                
                  (
                  J
                  )
                
              
              
                
                
                  
                    l
                    C
                  
                  ⁡
                  
                    (
                    J
                    )
                  
                
                
              
            
          
        
        ,
      
    
    
      
        (
        32
        )
      
    
  




where





  
    
      
      v
      
    
    =
    
      
        
          ∑
          i
        
        ⁢
        
          v
          i
          2
        
      
    
  
  ,




that is, the Euclidean norm. The components of vector lC (equation (32)) form a sequence of weight values that are used in multiplying the respective positions of the vertex vq(0) and the points vq(k), k=1, . . . , K, around the vertex vq(0), as shown in FIG. 7, the sum of which defines the tangent vector along the smooth feature line at the point on the subdivision surface associated with the vertex vq(0).

As with the components of limit point weight vector lLP, the components of tangent vector weight vector lC can be approximated by polynomials in s1 and s2, in this case third degree polynomials. Accordingly, the approximations of the components of tangent vector weight vector lC can be efficiently generated by using up to ten numbers per component and per valence. If




  
    L
    =
    
      K
      2
    
  
  ,




symmetry considerations allow the number of polynomial coefficients that are used in generating components of tangent vector weight vector lC to be reduced. In that case, the components of tangent vector weight vector lC satisfy the following symmetry relations:

    
    
        1. The “i-th” component and the “k+2-i-th” component of tangent vector weight vector lC are equal, that is, (lC)=(lC)K+2-i, for
    
    






  
    i
    =
    
      
        K
        2
      
      +
      2
    
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    K
    .
  




This is a result of the invariance of the subdivision matrix (equation (19)) upon reflection with respect to the crease line. As a result, approximations need only be generated for components





  
    i
    =
    0
  
  ,
  1
  ,
  ...
  ⁢
  
    
  
  ,
  
    
      
        K
        2
      
      +
      1
    
    ;
  




    
    
        2. Further, since
    
    






  
    
      
        (
        
          
            l
            C
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        )
      
      i
    
    =
    
      -
      
        
          (
          
            
              l
              C
            
            ⁡
            
              (
              
                
                  s
                  2
                
                ,
                
                  s
                  1
                
              
              )
            
          
          )
        
        
          
            K
            2
          
          +
          2
          -
          i
        
      
    
  
  ,




approximations need only be generated for components





  
    i
    =
    0
  
  ,
  1
  ,
  ...
  ⁢
  
    
  
  ,
  
    
      ⌊
      
        
          K
          4
        
        +
        1
      
      ⌋
    
    ;
  




    
    
        3. Further, since, if the particular values of the parameters s1 and s2 were interchanged, the vertex vq would behave in the same manner except that the orientation of the tangent vector would be reversed, (lC(s1,s2))0=−(lC(s2,s1))0, in which case the approximation may be constructed using only anti-symmetric, third-degree polynomials in s1 and s2, using four coefficients; and
        4. Further, if K is a multiple of“four,” then, from points (1) and (2) immediately above,
    
    






  
    
      (
      
        
          l
          C
        
        ⁡
        
          (
          
            
              s
              1
            
            ,
            
              s
              2
            
          
          )
        
      
      )
    
    
      
        K
        4
      
      +
      1
    
  
  =
  
    -
    
      
        
          (
          
            
              l
              C
            
            ⁡
            
              (
              
                
                  s
                  2
                
                ,
                
                  s
                  1
                
              
              )
            
          
          )
        
        
          
            K
            4
          
          +
          1
        
      
      .
    
  




Accordingly, these components can be approximated using anti-symmetric polynomials using four coefficients.

In one embodiment, the approximating polynomials are also computed using a least squares Chebyshev approximation methodology similar to that used in connection with the limit point approximation described above. The matrix product of equation (31) is evaluated at points of a grid in the (s1, s2) region made up of roots of Chebyshev polynomials (equation (27)). The coefficients bij(j=0, . . . , 3, in the anti-symmetric case, or j=0, . . . , 9, in the non-symmetric case) for the polynomial

(lC)i=bi0(s1−s2)+bi1(s12−s22)+bi2(s13−s23)+bi3(s12s2−s1s22)  (33),

in the anti-symmetric case





  
    (
    
      i
      =
      
        
          0
          ⁢
          
            
          
          ⁢
          or
          ⁢
          
            
          
          ⁢
          
            K
            4
          
        
        +
        1
      
    
    )
  
  ,




or the polynomial

(lc)i=bi0+bi1s1+bi2s2+bi3s12+bi4s1s2+bi5s22+bi6s13+bi7s12s2+bi8s1s22+bi9s23  (34),

in the non-symmetric case (“i” otherwise), are determined using the least squares methodology as described above.

In a manner similar to the generation of the tangent vector along the smooth feature line (reference equations (31) through (34) above), a vector lS of weight values is used in generating the tangent vector across the smooth feature line. The components of tangent vector weight vector lS comprise a sequence of weight values that are used to multiply the positions of the vertex vq(0) and points vq(1) through vq(K) around vertex vq(0) (reference FIG. 7), the sum of which comprises the tangent vector across the smooth feature line. In that methodology, a vector lS(J) is generated as follows:




  
    
      
        
          
            l
            S
          
          ⁡
          
            (
            J
            )
          
        
        =
        
          
            (
            
              0
              ,
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    
                      π
                      ⁡
                      
                        (
                        0
                        )
                      
                    
                  
                  K
                
              
              ,
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      1
                      )
                    
                  
                  K
                
              
              ,
              ...
              ⁢
              
                
              
              ,
              
                sin
                ⁢
                
                  
                    
                      
                    
                    ⁢
                    
                      2
                      ⁢
                      
                        π
                        ⁡
                        
                          (
                          
                            K
                            -
                            1
                          
                          )
                        
                      
                    
                  
                  K
                
              
            
            )
          
          ·
          
            
              ∏
              
                j
                =
                J
              
              
                J
                D
              
            
            ⁢
            
              
                
                  S
                  
                    sc
                    ,
                    T
                    ,
                    K
                    ,
                    L
                  
                
                ⁡
                
                  (
                  
                    
                      
                        s
                        1
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                    ,
                    
                      
                        s
                        2
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                  
                  )
                
              
              .
            
          
        
      
    
    
      
        (
        35
        )
      
    
  




Vector lS(J) is normalized and the limit taken as J→∞, in the same manner as described above in connection with equation (32), to provide tangent vector weight vector lS.
When




  
    L
    =
    
      K
      2
    
  
  ,




tangent vector weight vector lS is





  
    
      
        
          
            l
            S
          
          =
          
            (
            
              0
              ,
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      0
                      )
                    
                  
                  K
                
              
              ,
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      1
                      )
                    
                  
                  K
                
              
              ,
              ...
              ⁢
              
                
              
              ,
              
                
              
              ⁢
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      
                        K
                        -
                        1
                      
                      )
                    
                  
                  K
                
              
            
            )
          
        
        ,
      
    
    
      
        (
        36
        )
      
    
  




which is the same as in a the case of a smooth feature line associated with a sharpness parameter of zero.

The components of tangent vector weight vector lS can be approximated as lS(s1,s2) using third degree polynomials in sharpness parameters s1 and s2. The operations performed in generating the coefficients for the polynomials correspond to the operations performed in generating the coefficients for the polynomials described above for the tangent vector weight vector lC used in generating the tangent vector along the smooth feature line (equations (31) through (34)).
FIG. 9 depicts a table of coefficients bij for K=4, 6, . . . , 12, with the indexing, in the form of the C programming language,




  
    
      
        b
        ⁡
        
          [
          
            
              K
              2
            
            -
            2
          
          ]
        
      
      ⁡
      
        [
        i
        ]
      
    
    ⁡
    
      [
      j
      ]
    
  
  ,




where “i” is the index of the component of lC, taking values in the range





  
    i
    =
    0
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    ⌊
    
      
        K
        4
      
      +
      1
    
    ⌋
  
  ,




and “j” is the index of the coefficient bij of the approximating polynomial.

As noted above, the tangent vector weight vectors lC(=lC(s1,s2)) and lS(=lS(s1,s2)) (where s1 and s2 are the sharpness parameter values at the definition level j=jD for the smooth feature line) are used, along with the position cj(q) of the vertex vq(0) and the positions cj(k) of the neighboring points vq(k), k=1, . . . , K. In particular, the components of the respective tangent vector weight vectors are used to weight the positions of the vertex and neighboring points, with the sum comprising the tangent vector. That is, the tangent vector eC(q) along the smooth feature line and the tangent vector eS(q) across the smooth feature line are generated as




  
    
      
        
          
            
              e
              C
            
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              ∑
              
                i
                =
                0
              
              K
            
            ⁢
            
              
                
                  (
                  
                    
                      l
                      c
                    
                    ⁡
                    
                      (
                      
                        
                          s
                          1
                        
                        ,
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  )
                
                i
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  i
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              
                e
                S
              
              ⁡
              
                (
                q
                )
              
            
            =
            
              
                ∑
                
                  i
                  =
                  0
                
                K
              
              ⁢
              
                
                  
                    (
                    
                      
                        l
                        S
                      
                      ⁡
                      
                        (
                        
                          
                            s
                            1
                          
                          ,
                          
                            s
                            2
                          
                        
                        )
                      
                    
                    )
                  
                  i
                
                ⁢
                
                  
                    c
                    j
                  
                  ⁡
                  
                    (
                    i
                    )
                  
                
              
            
          
          ,
        
      
    
    
      
        (
        37
        )
      
    
  




where lC(s1,s2)=lC and lS(s1s2)=lS (where s1 and s2 are the sharpness parameter values at the definition level j=jD for the smooth feature line), and indices 0, . . . , K are as shown in FIG. 7.

In some circumstances, it is impractical to use polynomials to generate approximations for limit point weight vector lLP and tangent vector weight vectors lC and lS. For example, if the number of configurations of smooth feature lines, each requiring a different set of polynomials, exceeds some number, the number of polynomials would increase to an extent that it would be impractical to use that methodology. An alternative methodology makes use of extrapolation to generate approximations for limit point weight vector lLP and tangent vector weight vectors lC and lS.
The extrapolation methodology for generating an approximation of limit point weight vector lLP(s1,s2) starts with the first few factors of equation (23) for finite values of index “j.” In the following, it will be assumed that the definition level jD for the smooth feature line is level “zero,” although it will be appreciated that this will not restrict the generality of the description. The matrix product generated by taking factors j=J,J−1, . . . , 0 is given by




  
    
      
        
          
            
              
                S
                
                  sc
                  ,
                  T
                  ,
                  K
                  ,
                  L
                  ,
                  LP
                
              
              ⁡
              
                (
                J
                )
              
            
            ⁢
            
              (
              
                
                  s
                  1
                
                ,
                
                  s
                  2
                
              
              )
            
            ⁢
            
              :
            
          
          =
          
            
              ∏
              
                j
                =
                J
              
              0
            
            ⁢
            
              
                S
                
                  sc
                  ,
                  T
                  ,
                  K
                  ,
                  L
                
              
              ⁡
              
                (
                
                  
                    
                      s
                      1
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                  ,
                  
                    
                      s
                      2
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
                )
              
            
          
        
        ,
      
    
    
      
        (
        38
        )
      
    
  
  
    
      with
    
    
      
        
      
    
  
  
    
      
        
          
            
              
                S
                
                  sc
                  ,
                  T
                  ,
                  K
                  ,
                  L
                  ,
                  LP
                
              
              ⁡
              
                (
                0
                )
              
            
            ⁢
            
              (
              
                
                  s
                  1
                
                ,
                
                  s
                  2
                
              
              )
            
            ⁢
            
              :
            
          
          =
          
            I
            
              K
              +
              1
            
          
        
        ,
      
    
    
      
        (
        39
        )
      
    
  




where, for the limit case J=0 (in which case there would be no factors in generating the product matrix), the product matrix Ssc,T,K,L,LP(0)(s1,s2) is the identity matrix of size “K+1” by “K+1.” A vector of weight values lLP for determining the position σ(q) of the limit point is obtained as follows:

lLP(J)(s1,s2)=vLP·Ssc,T,K,L,LP(J)(s1,s2)  (40),

where vLP is as defined above in connection with equations (28) and (29).

In one embodiment, a reasonably accurate approximation of limit point weight vector lLP can be obtained using just the vectors corresponding to J=0,1,2,3 by using polynomial extrapolation. The convergence of lLP(J)(s1,s2) to lLP(s1,s2) is very rapid, with the error ∈(j)=|lLP(J)−lLP| approaching zero as 2−2J if the update rule described above in connection with equations (20) through (22) are used for the sharpness parameters. The approximation to lLP is constructed by generating the third degree polynomial that interpolates the points {x=2−2J, y=lLP(J)}, J=0, 1, 2, 3, and then evaluating this polynomial by extrapolation at the point x=0, that is




  
    
      
        
          
            l
            LP
          
          ≈
          
            
              ∑
              
                J
                =
                0
              
              3
            
            ⁢
            
              
                b
                J
              
              ⁢
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  J
                  )
                
              
            
          
        
        ,
      
    
    
      
        (
        41
        )
      
    
  




where lLP(J) is as defined in equation (40) and where the coefficients bj are given by





  
    
      
        
          
            b
            0
          
          =
          
            
              -
              135
            
            120015
          
        
        ⁢
        
          

        
        ⁢
        
          
            b
            1
          
          =
          
            1270
            120015
          
        
        ⁢
        
          

        
        ⁢
        
          
            b
            2
          
          =
          
            
              -
              12192
            
            120015
          
        
        ⁢
        
          

        
        ⁢
        
          
            b
            3
          
          =
          
            
              131072
              120015
            
            .
          
        
      
    
    
      
        (
        42
        )
      
    
  




This extrapolation methodology can be used for any vertex, whether the vertex is regular or irregular. In addition, the methodology can be used for any configuration of creases through the respective vertex, and any value of valence “K” for the respective vertex.

An extrapolation methodology can also be used to generate the tangent vector weight vectors lC and lS. Generally, in that methodology the matrix products Ssc,T,K,L,LP(J)(s1,s2) described above (equations (38) and (39)), which are then

    
    
        (1) multiplied by a vector vC, if tangent vector weight vector lC is being generated, or a vector vS, if tangent vector weight vector lS is being generated, and
        (2) the result from (1) is thereafter multiplied by a dilation factor that maintains the respective tangent vector weight vector in normalized form.
    
    


The approximations of the tangent vector weight vectors lC and lS are generated from

lC(J)(s1,s2)=d(K)JvC·Ssc,T,K,L,LP(J)(s1,s2)

lS(J)(s1,s2)=d(K)JvS·Ssc,T,K,L,LP(J)(s1,s2)  (43),

where d(K) represents the dilation factor. The vectors vC and vS are given by





  
    
      
        
          
            v
            C
          
          =
          
            (
            
              0
              ,
              
                cos
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      0
                      )
                    
                  
                  K
                
              
              ,
              
                cos
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      1
                      )
                    
                  
                  K
                
              
              ,
              ...
              ⁢
              
                
              
              ,
              
                cos
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      (
                      
                        K
                        -
                        1
                      
                      )
                    
                  
                  K
                
              
            
            )
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              v
              S
            
            =
            
              (
              
                0
                ,
                
                  sin
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        (
                        0
                        )
                      
                    
                    K
                  
                
                ,
                
                  sin
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        (
                        1
                        )
                      
                    
                    K
                  
                
                ,
                ...
                ⁢
                
                  
                
                ,
                
                  sin
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        (
                        
                          K
                          -
                          1
                        
                        )
                      
                    
                    K
                  
                
              
              )
            
          
          ,
        
      
    
    
      
        (
        44
        )
      
    
  




and the dilation factor d(K) is the reciprocal of one of the eigenvalues of the subdivision matrix for the smooth case, namely,





  
    
      
        
          d
          ⁡
          
            (
            K
            )
          
        
        =
        
          
            1
            
              
                3
                8
              
              +
              
                
                  1
                  4
                
                ⁢
                cos
                ⁢
                
                  
                
                ⁢
                
                  
                    2
                    ⁢
                    π
                  
                  K
                
              
            
          
          .
        
      
    
    
      
        (
        45
        )
      
    
  




Approximations to the tangent vector weight vectors lC and lS are given by




  
    
      
        
          
            l
            C
          
          =
          
            
              ∑
              
                J
                =
                0
              
              3
            
            ⁢
            
              
                b
                J
              
              ⁢
              
                
                  l
                  C
                
                ⁡
                
                  (
                  J
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              l
              S
            
            =
            
              
                ∑
                
                  J
                  =
                  0
                
                3
              
              ⁢
              
                
                  b
                  J
                
                ⁢
                
                  
                    l
                    S
                  
                  ⁡
                  
                    (
                    J
                    )
                  
                
              
            
          
          ,
        
      
    
    
      
        (
        46
        )
      
    
  




where the coefficients bJ have the form as given in equation (42). This extrapolation methodology can be used in connection with all configurations. The tangent vector generated using the weight vector lC will be oriented approximately in the direction of the edge [1,0] between vertex vq(0) and point vq(1), and the tangent vector generated using the weight vector lS will be oriented approximately perpendicular to the edge [1,0]. Although the angle between edges [1,0] and [0,L+1] for a given level “j” in a subdivision surface is typically not one hundred and eighty degrees, as the level “j” approaches infinity, the angle will approach one hundred and eighty degrees. Accordingly, in the limit, that is, as “j” approaches infinity, the tangent vector along the edge on one side of the limit point associated with a vertex vq(0) will approach the opposite direction as the tangent vector along the edge on the other side of the limit point associated with the same vertex. Similarly, the tangent vector across the edge on one side of the limit point associated with the vertex vq(0) will approach the opposite direction as the tangent vector across the edge on the other side of the limit point associated with the same vertex.

With this background, operations performed by the computer graphics system 10 in generating the weight vectors lLP, lC and lS useful in generating the limit point and tangent vectors for a subdivision surface for a triangular mesh will be described in connection with the flowchart depicted in FIG. 10. With reference to that FIG., the computer graphics system 10 first initializes the subdivision matrices Ssc,T,K,L(S1(j),s2(j)), j=0,1,2 (step 100) as described above in connection with equation (19). Thereafter, the computer graphics system 10 generates the matrix products Ssc,T,K,L,LP(J)(s1,s2) for J=2,3 (step 101). For J=1, Ssc,T,K,L,LP(1)(s1,s2)=Ssc,T,K,L(s1,s2), and, as indicated above, for J=0, Ssc,T,K,L,LP(0)(s1,s2) is the “K+1”-by-“K+1” identity matrix.
After the computer graphics system 10 has generated the matrix products Ssc,T,K,L,LP, it takes the first row of each matrix product Ssc,T,K,L,LP(J)(s1,s2), J=0, 1, 2, 3, and generates component-wise an approximation to limit point weight vector lLP in accordance with the extrapolation formula in equation (41) (step 102). In addition, the computer graphics system 10 uses the matrix products Ssc,T,K,L,LP(J)(s1,s2), dilation factor d(K) and vectors vC and vS to generate the vectors lC(J) and lS(J), J=1, 2, and 3 as described above in connection with equation (43) (step 103). For J=0, the respective weight vectors are lC(0)=vC and lS(0)=vS. Following step 103, the computer graphics system 10 can use lC(J) and lS(J) to generate the approximations to the tangent vector weight vectors lC and lS in accordance with equation (46) (step 104). After the limit point weight vector lLP and tangent vector weight vectors lC and lS have been generated, the limit point and tangent vectors can be generated as described above (reference equations (30) and (37), respectively), and the normal vector can also be generated as the cross product between the tangent vectors (step 105).
Operations performed by the computer graphics system 10 in connection with generating a smooth feature line in the case of a subdivision surface defined by a quadrilateral mesh will be described in connection with FIGS. 11 through 13 and the flow chart in FIG. 10. With reference to FIG. 11, that FIG. depicts a portion of a subdivision surface defined by a triangular mesh with vertex vq(vertex vq=vq(0)) and points vq(1) through vq(2K) with indices numbered as depicted in the FIG. It will be appreciated that points vq(1) through vq(K) are first-order neighbors of vertex vq, and points vq(K+1) through vq(2K) are second-order neighbors of vertex vq. The vertices are labeled such that a crease passes through point vq(1), vertex vq(0) and point vq(L+1) along edges vq(1),vq (which will be referred to as edge (1,0)) and vq,vq(L+1) (which will be referred to as edge (0,L+1)). The value of the sharpness parameter associated with the edge (1,0) will be referred to as s1 and the value of the sharpness parameter associated with the edge (0,L+1) will be referred to as s2. Generally the subdivision rule described in equations (13) and (14) can be used to determine the positions of respective vertices, using, instead of the subdivision matrix described above in connection with equation (15), the subdivision matrix




  
    
      
        
          
            (
            
              
                S
                
                  sc
                  ,
                  Q
                  ,
                  K
                  ,
                  L
                
              
              ⁡
              
                (
                
                  
                    s
                    1
                  
                  ,
                  
                    s
                    2
                  
                
                )
              
            
            )
          
          
            l
            ,
            m
          
        
        =
        
          {
          
            
              
                
                  
                    
                      (
                      
                        1
                        -
                        
                          s
                          3
                        
                      
                      )
                    
                    ⁢
                    
                      (
                      
                        1
                        -
                        
                          7
                          
                            4
                            ⁢
                            K
                          
                        
                      
                      )
                    
                  
                  +
                  
                    
                      3
                      4
                    
                    ⁢
                    
                      s
                      3
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    0
                  
                
              
            
            
              
                
                  
                    
                      (
                      
                        1
                        -
                        
                          s
                          3
                        
                      
                      )
                    
                    ⁢
                    
                      (
                      
                        3
                        
                          2
                          ⁢
                          
                            K
                            2
                          
                        
                      
                      )
                    
                  
                  +
                  
                    
                      1
                      8
                    
                    ⁢
                    
                      s
                      3
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    
                      
                        1
                        ⁢
                        
                          
                        
                        ⁢
                        or
                        ⁢
                        
                          
                        
                        ⁢
                        L
                      
                      +
                      1
                    
                  
                
              
            
            
              
                
                  
                    (
                    
                      1
                      -
                      
                        s
                        3
                      
                    
                    )
                  
                  ⁢
                  
                    (
                    
                      3
                      
                        2
                        ⁢
                        
                          K
                          2
                        
                      
                    
                    )
                  
                
              
              
                
                  
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          0
                        
                        ,
                        
                          m
                          =
                          2
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        L
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          0
                        
                        ,
                        
                          m
                          =
                          
                            L
                            +
                            2
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                      
                    
                  
                
              
            
            
              
                
                  
                    (
                    
                      1
                      -
                      
                        s
                        3
                      
                    
                    )
                  
                  ⁢
                  
                    (
                    
                      1
                      
                        4
                        ⁢
                        
                          K
                          2
                        
                      
                    
                    )
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    0
                  
                  ,
                  
                    m
                    =
                    
                      K
                      +
                      1
                    
                  
                  ,
                  ...
                  ⁢
                  
                    
                  
                  ,
                  
                    2
                    ⁢
                    K
                  
                
              
            
            
              
                
                  
                    
                      3
                      8
                    
                    ⁢
                    
                      (
                      
                        1
                        -
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  +
                  
                    
                      1
                      2
                    
                    ⁢
                    
                      s
                      2
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    1
                  
                  ,
                  
                    m
                    =
                    
                      0
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      1
                    
                  
                
              
            
            
              
                
                  
                    1
                    16
                  
                  ⁢
                  
                    (
                    
                      1
                      -
                      
                        s
                        2
                      
                    
                    )
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    
                      L
                      +
                      1
                    
                  
                  ,
                  
                    m
                    =
                    2
                  
                  ,
                  K
                  ,
                  
                    K
                    +
                    
                      1
                      ⁢
                      
                        
                      
                      ⁢
                      or
                      ⁢
                      
                        
                      
                      ⁢
                      2
                      ⁢
                      K
                    
                  
                
              
            
            
              
                
                  
                    
                      3
                      8
                    
                    ⁢
                    
                      (
                      
                        1
                        -
                        
                          s
                          1
                        
                      
                      )
                    
                  
                  +
                  
                    
                      1
                      2
                    
                    ⁢
                    
                      s
                      1
                    
                  
                
              
              
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      l
                    
                    =
                    
                      L
                      +
                      1
                    
                  
                  ,
                  
                    m
                    =
                    
                      
                        0
                        ⁢
                        
                          
                        
                        ⁢
                        or
                        ⁢
                        
                          
                        
                        ⁢
                        L
                      
                      +
                      1
                    
                  
                
              
            
            
              
                
                  
                    1
                    16
                  
                  ⁢
                  
                    (
                    
                      1
                      -
                      
                        s
                        1
                      
                    
                    )
                  
                
              
              
                
                  
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          
                            L
                            +
                            1
                          
                        
                        ,
                        
                          m
                          =
                          L
                        
                        ,
                        
                          L
                          +
                          2
                        
                        ,
                      
                    
                  
                  
                    
                      
                        K
                        +
                        
                          1
                          ⁢
                          
                            
                          
                          ⁢
                          or
                          ⁢
                          
                            
                          
                          ⁢
                          K
                        
                        +
                        L
                        +
                        1
                      
                    
                  
                
              
            
            
              
                
                  3
                  8
                
              
              
                
                  
                    
                      
                        
                          
                            
                              
                                
                                  
                                    
                                      
                                        if
                                        ⁢
                                        
                                          
                                        
                                        ⁢
                                        l
                                      
                                      =
                                      2
                                    
                                    ,
                                    ...
                                    ⁢
                                    
                                      
                                    
                                    ,
                                    L
                                    ,
                                    
                                      m
                                      =
                                      0
                                    
                                  
                                
                              
                              
                                
                                  
                                    
                                      
                                        or
                                        ⁢
                                        
                                          
                                        
                                        ⁢
                                        l
                                      
                                      =
                                      
                                        L
                                        +
                                        2
                                      
                                    
                                    ,
                                    ...
                                    ⁢
                                    
                                      
                                    
                                    ,
                                    K
                                    ,
                                    
                                      m
                                      =
                                      0
                                    
                                  
                                
                              
                            
                          
                        
                        
                          
                            
                              
                                
                                  or
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  l
                                
                                =
                                
                                  m
                                  =
                                  2
                                
                              
                              ,
                              ...
                              ⁢
                              
                                
                              
                              ,
                              L
                            
                          
                        
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          
                            m
                            =
                            
                              L
                              +
                              2
                            
                          
                        
                        ,
                        
                          ...
                          ⁢
                          
                            
                          
                          ⁢
                          K
                        
                      
                    
                  
                
              
            
            
              
                
                  1
                  16
                
              
              
                
                  
                    
                      
                        
                          
                            
                              
                                
                                  
                                    
                                      
                                        
                                          
                                            
                                              
                                                
                                                  
                                                    
                                                      
                                                        
                                                          
                                                            
                                                              
                                                                
                                                                  
                                                                    
                                                                      if
                                                                      ⁢
                                                                      
                                                                        
                                                                      
                                                                      ⁢
                                                                      l
                                                                    
                                                                    =
                                                                    2
                                                                  
                                                                  ,
                                                                  ...
                                                                  ⁢
                                                                  
                                                                    
                                                                  
                                                                  ,
                                                                  L
                                                                  ,
                                                                  
                                                                    m
                                                                    =
                                                                    
                                                                      l
                                                                      -
                                                                      1
                                                                    
                                                                  
                                                                
                                                              
                                                            
                                                            
                                                              
                                                                
                                                                  
                                                                    
                                                                      or
                                                                      ⁢
                                                                      
                                                                        
                                                                      
                                                                      ⁢
                                                                      l
                                                                    
                                                                    =
                                                                    2
                                                                  
                                                                  ,
                                                                  ...
                                                                  ⁢
                                                                  
                                                                    
                                                                  
                                                                  ,
                                                                  L
                                                                  ,
                                                                  
                                                                    m
                                                                    =
                                                                    
                                                                      l
                                                                      +
                                                                      1
                                                                    
                                                                  
                                                                
                                                              
                                                            
                                                          
                                                        
                                                      
                                                      
                                                        
                                                          
                                                            
                                                              
                                                                or
                                                                ⁢
                                                                
                                                                  
                                                                
                                                                ⁢
                                                                l
                                                              
                                                              =
                                                              2
                                                            
                                                            ,
                                                            ...
                                                            ⁢
                                                            
                                                              
                                                            
                                                            ,
                                                            L
                                                            ,
                                                            
                                                              m
                                                              =
                                                              
                                                                K
                                                                +
                                                                l
                                                                -
                                                                1
                                                              
                                                            
                                                          
                                                        
                                                      
                                                    
                                                  
                                                
                                                
                                                  
                                                    
                                                      
                                                        
                                                          or
                                                          ⁢
                                                          
                                                            
                                                          
                                                          ⁢
                                                          l
                                                        
                                                        =
                                                        2
                                                      
                                                      ,
                                                      ...
                                                      ⁢
                                                      
                                                        
                                                      
                                                      ,
                                                      L
                                                      ,
                                                      
                                                        m
                                                        =
                                                        
                                                          K
                                                          +
                                                          l
                                                        
                                                      
                                                    
                                                  
                                                
                                              
                                            
                                          
                                          
                                            
                                              
                                                
                                                  
                                                    or
                                                    ⁢
                                                    
                                                      
                                                    
                                                    ⁢
                                                    l
                                                  
                                                  =
                                                  
                                                    L
                                                    +
                                                    2
                                                  
                                                
                                                ,
                                                ...
                                                ⁢
                                                
                                                  
                                                
                                                ,
                                                K
                                                ,
                                                
                                                  m
                                                  =
                                                  
                                                    l
                                                    -
                                                    1
                                                  
                                                
                                              
                                            
                                          
                                        
                                      
                                    
                                    
                                      
                                        
                                          
                                            
                                              or
                                              ⁢
                                              
                                                
                                              
                                              ⁢
                                              l
                                            
                                            =
                                            
                                              L
                                              +
                                              2
                                            
                                          
                                          ,
                                          ...
                                          ⁢
                                          
                                            
                                          
                                          ,
                                          
                                            K
                                            -
                                            1
                                          
                                          ,
                                          
                                            m
                                            =
                                            
                                              l
                                              +
                                              1
                                            
                                          
                                        
                                      
                                    
                                  
                                
                              
                              
                                
                                  
                                    
                                      
                                        or
                                        ⁢
                                        
                                          
                                        
                                        ⁢
                                        l
                                      
                                      =
                                      K
                                    
                                    ,
                                    
                                      m
                                      =
                                      1
                                    
                                  
                                
                              
                            
                          
                        
                        
                          
                            
                              
                                
                                  or
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  l
                                
                                =
                                
                                  L
                                  +
                                  2
                                
                              
                              ,
                              ...
                              ⁢
                              
                                
                              
                              ,
                              K
                              ,
                              
                                m
                                =
                                
                                  K
                                  +
                                  l
                                  -
                                  1
                                
                              
                            
                          
                        
                      
                    
                  
                  
                    
                      
                        
                          
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            l
                          
                          =
                          
                            L
                            +
                            2
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                        ,
                        
                          m
                          =
                          
                            K
                            +
                            l
                          
                        
                      
                    
                  
                
              
            
            
              
                
                  1
                  4
                
              
              
                
                  
                    
                      
                        
                          
                            
                              
                                
                                  
                                    if
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    l
                                  
                                  =
                                  
                                    K
                                    +
                                    1
                                  
                                
                                ,
                                ...
                                ⁢
                                
                                  
                                
                                ,
                                
                                  
                                    2
                                    ⁢
                                    K
                                  
                                  -
                                  1
                                
                                ,
                                
                                  m
                                  =
                                  0
                                
                                ,
                              
                            
                          
                          
                            
                              
                                
                                  l
                                  -
                                  K
                                
                                ,
                                
                                  l
                                  -
                                  K
                                  +
                                  
                                    1
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    or
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    l
                                  
                                
                              
                            
                          
                        
                      
                    
                    
                      
                        
                          
                            
                              or
                              ⁢
                              
                                
                              
                              ⁢
                              l
                            
                            =
                            
                              2
                              ⁢
                              K
                            
                          
                          ,
                          
                            m
                            =
                            0
                          
                          ,
                          K
                          ,
                          
                            1
                            ⁢
                            
                              
                            
                            ⁢
                            or
                            ⁢
                            
                              
                            
                            ⁢
                            2
                            ⁢
                            K
                          
                        
                      
                    
                  
                  ⁢
                  
                    
                  
                
              
            
            
              
                0
              
              
                
                  otherwise
                  ,
                
              
            
          
        
      
    
    
      
        (
        47
        )
      
    
  




is used, where, as with equation (19),





  
    
      s
      3
    
    =
    
      
        1
        2
      
      ⁢
      
        (
        
          
            s
            1
          
          +
          
            s
            2
          
        
        )
      
    
  
  ,




the average of the values of the parameters s1 and s2 associated with the edges (1,0) and (0,L+1).

As with the case of a subdivision surface defined by a triangular mesh, to ensure that the direction of the respective tangent vectors vary continuously at and near irregular vertices at the various subdivision levels, the value(s) of the sharpness parameter(s) are gradually reduced as the subdivision level of the mesh increases. In one embodiment, the computer graphics system varies the value(s) of the sharpness parameter(s) in the case of a subdivision surface defined by a quadrilateral mesh in the same manner as in the case of a subdivision surface defined by a triangular mesh (reference equations (20) through (22) above).
As with the case of a subdivision surface defined by a triangular mesh, to determine the positions of the limit point associated with a vertex vq(0) in the case of a subdivision surface defined by a quadrilateral mesh, the infinite subdivision matrix product




  
    
      
        
          
            S
            
              sc
              ,
              Q
              ,
              K
              ,
              L
              ,
              LP
            
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        =
        
          
            ∏
            
              j
              =
              ∞
            
            
              J
              D
            
          
          ⁢
          
            
              S
              
                sc
                ,
                Q
                ,
                K
                ,
                L
              
            
            ⁡
            
              (
              
                
                  
                    s
                    1
                  
                  ⁡
                  
                    (
                    j
                    )
                  
                
                ,
                
                  
                    s
                    2
                  
                  ⁡
                  
                    (
                    j
                    )
                  
                
              
              )
            
          
        
      
    
    
      
        (
        48
        )
      
    
  




is evaluated, where Ssc,Q,K,L(S1(j),s2(j)) is the subdivision matrix from equation (47) for sharpness parameter values s1 and s2 associated with the j-th level and index jD refers to the definition level of the smooth crease. In the left-hand side of equation (48), for the arguments s1 and s2, s1=s1(jD) and s2=s2(jD). As in the case of a subdivision surface defined by a triangular mesh, the matrix product in equation (48) converges to a matrix with identical rows, in this case each row being of size 2K+1. A vector of weight values lLP for determining the position σ(q) of a limit point associated with vertex vq(0) is obtained as follows:

llp(s1,s2)=vLP·Ssc,Q,K,L,LP(s1,s2)  (49),

where vector vLP is a vector of weights that are used in determining the position of a limit point of a subdivision surface defined by a quadrilateral mesh in the absence of a smooth feature line, that is,





  
    
      
        
          
            v
            LP
          
          =
          
            
              1
              
                K
                ⁡
                
                  (
                  
                    K
                    +
                    5
                  
                  )
                
              
            
            ⁢
            
              (
              
                
                  K
                  2
                
                ,
                4
                ,
                ...
                ⁢
                
                  
                
                ,
                4
                ,
                1
                ,
                ...
                ⁢
                
                  
                
                ,
                1
              
              )
            
          
        
        ,
      
    
    
      
        (
        50
        )
      
    
  




where, in equation (50), there are “K” components having the value “four” and “K” components with value “one.”

The components lLP(s1,s2)i, i=0, . . . , 2K, of the row vector lLP(s1,s2), and the positions cj(0) of the vertex vq(0) and cj(i)(i=1, . . . , 2K) of the neighboring points vq(i) are used to determine the position σ(q) of a limit point associated with the vertex vq(0) as follows




  
    
      
        
          
            σ
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              ∑
              
                i
                =
                0
              
              
                2
                ⁢
                K
              
            
            ⁢
            
              
                
                  (
                  
                    
                      l
                      LP
                    
                    ⁡
                    
                      (
                      
                        
                          s
                          1
                        
                        ,
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  )
                
                i
              
              ⁢
              
                
                  c
                  j
                
                ⁡
                
                  (
                  i
                  )
                
              
            
          
        
        ,
      
    
    
      
        (
        51
        )
      
    
  




where, as suggested above, i∈q∪Ne(q, j)∪Nf(q, j) (reference FIG. 11).

As with the case of a subdivision surface defined by a triangular mesh, the components of the limit point weight vector lLP(s1,s2) can be approximated using polynomial expansions. The components of limit point weight vector lLP(s1,s2) can be satisfactorily approximated by second degree polynomials in s1 and s2 using six values per component and per valence. If the value of “K” is even, and if




  
    L
    =
    
      K
      2
    
  
  ,




symmetry considerations allow the number of values per component to be reduced. In that case, the components of limit point weight vector lLP satisfy the following symmetry relations:

    
    
        1. the “i-th” component of limit point weight vector lLP(s1,s2) equals the “K+2-i-th” component of limit point weight vector lLP(s1,s2), that is, (lLP(s1,s2))l=(lLP(s1,s2))K+2−1, for i=2, . . . , K/2, and the “i-th” component of limit point weight vector lLP(s1,s2) equals the “3K+1-i-th” component of limit point weight vector lLP(s1,s2), that is, (llP(s1,s2))i=(lLP(s1,s2))3K+1−i, for
    
    






  
    
      
        
      
    
    
      
        
          i
          =
          
            K
            +
            1
          
        
        ,
        ...
        ⁢
        
          
        
        ,
        
          
            K
            +
            
              K
              2
            
          
          ;
        
      
    
    
      
        
      
    
  
  
    
      2.
    
    
      
        
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            i
          
          =
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            
              
                K
                2
              
              +
              2
              -
              i
            
          
        
        ,
      
    
    
      
        
          
            for
            ⁢
            
              
            
            ⁢
            i
          
          =
          1
        
        ,
        ...
        ⁢
        
          
        
        ,
        
          
            K
            2
          
          +
          1
        
        ,
        and
      
    
  
  
    
      
        
      
    
    
      
        
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            i
          
          =
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            
              
                2
                ⁢
                K
              
              +
              
                K
                2
              
              +
              1
              -
              i
            
          
        
        ,
      
    
    
      
        
      
    
  
  
    
      
        
      
    
    
      
        
          
            for
            ⁢
            
              
            
            ⁢
            i
          
          =
          
            K
            +
            1
          
        
        ,
        ...
        ⁢
        
          
        
        ,
        
          
            K
            +
            
              K
              2
            
            +
            1
          
          ;
        
      
    
    
      
        
      
    
  




    
    
        3. (lLP(s1,s2))0=(lLP(s2,s1))0; and
    
    






  
    
      4.
    
    
      
        
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            
              
                K
                4
              
              +
              1
            
          
          =
          
            
              (
              
                
                  l
                  LP
                
                ⁡
                
                  (
                  
                    
                      s
                      2
                    
                    ,
                    
                      s
                      1
                    
                  
                  )
                
              
              )
            
            
              
                K
                4
              
              +
              1
            
          
        
        ,
      
    
  




if “K” is a multiple of “four,” and





  
    
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        )
      
      
        K
        +
        
          ⌊
          
            K
            4
          
          ⌋
        
        +
        1
      
    
    =
    
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                2
              
              ,
              
                s
                1
              
            
            )
          
        
        )
      
      
        K
        +
        
          ⌊
          
            K
            4
          
          ⌋
        
        +
        1
      
    
  
  ,




if “K” is not a multiple of “four.” Given the symmetry relations described immediately above, it is only necessary to generate approximations for limit point weight vector lLP for





  
    i
    =
    0
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  




and





  
    i
    =
    
      K
      +
      1
    
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    K
    +
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  
  ,




and, in addition, symmetric polynomials can be used for i=0 for any even value of “K,” as well as for





  i
  =
  
    
      K
      4
    
    +
    1
  




if “K” is a multiple of “four,” or





  i
  =
  
    K
    +
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  




if “K” is even but not a multiple of “four.”

As in the case of a subdivision surface defined by a triangular mesh, in one embodiment i the case of a subdivision surface defined by a quadrilateral mesh, regardless of whether




  
    L
    =
    
      K
      2
    
  
  ,




the approximating polynomials are computed using a least-squares Chebyshev approximation methodology (reference equation (27) above). In this case, the coefficients bij (j=0, . . . , 3 in the symmetric case, or j=0, . . . , 5 in the asymmetric case) for the polynomial

(lLP)l≈bi0+bi1(s1+s2)+bi2(s12+s22)+bi3s1s2  (52),

in the symmetric case, or the polynomial

(lLP)l≈bi0+bi1s1+bi2s2+bi3s12+bi4s1s2+bi5s22  (53),

in the asymmetric case, are determined by a least squares methodology. FIG. 12 depicts a table of coefficients bij for K=4, L=2, for values of “i” i=0; 1; 2; 5. After the coefficients bij have been generated (equations (52) and (53)), they are used to generate the limit point weight vector lLP in the same manner as in the case of a subdivision surface defined by a triangular mesh, which can be used to generate the position of the limit point σ(q) as described above in connection with equation (51).

The tangent vectors in the case of a subdivision surface defined by a quadrilateral mesh are generated in a manner similar to that used to generate tangent vectors in the case of a subdivision surface defined by a triangular mesh. Generally, in that methodology the matrix products Ssc,Q,K,L,LP(J)(s1,s2) as described above (equation (48)) are generated, which are then

    
    
        (1) multiplied by a vector vC, if tangent vector weight vector lC is being generated, or a vector vS, if tangent vector weight vector lS is being generated, and
        (2) the result from (1) is thereafter multiplied by a dilation factor that maintains the respective tangent vector in normalized form,

as in the case of the tangent vector weight vectors in the case of a triangular mesh. Initially, the vectors lC(J)(s1,s2) and lS(J)(s1,s2) are generated as

lC(s1,s2)=d(K)JvC·Ssc,Q,K,L,LP(J)(s1,s2)

lS(s1,s2)=d(K)JvS·Ssc,Q,K,L,LP(J)(s1,s2)  (54),

    
    


In the case of a subdivision surface defined by a quadrilateral mesh, the respective vectors vC and vS are given by




  
    
      
        
          
            (
            
              v
              C
            
            )
          
          i
        
        =
        
          {
          
            
              
                
                  
                    0
                  
                  
                    
                      
                        if
                        ⁢
                        
                          
                        
                        ⁢
                        i
                      
                      =
                      0
                    
                  
                
                
                  
                    
                      
                        A
                        K
                      
                      ⁢
                      
                        
                      
                      ⁢
                      cos
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          2
                          ⁢
                          
                            π
                            ⁡
                            
                              (
                              
                                i
                                -
                                1
                              
                              )
                            
                          
                        
                        K
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          i
                        
                        =
                        1
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      K
                    
                  
                
                
                  
                    
                      
                        cos
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            2
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  i
                                  -
                                  K
                                  -
                                  1
                                
                                )
                              
                            
                          
                          K
                        
                      
                      +
                      
                        cos
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            2
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  i
                                  -
                                  K
                                
                                )
                              
                            
                          
                          K
                        
                      
                    
                  
                  
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          i
                        
                        =
                        
                          K
                          +
                          1
                        
                      
                      ,
                      ...
                      ⁢
                      
                        
                      
                      ,
                      
                        2
                        ⁢
                        K
                      
                    
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
                  (
                  
                    v
                    S
                  
                  )
                
                i
              
            
            =
            
              {
              
                
                  
                    
                      0
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          i
                        
                        =
                        0
                      
                    
                  
                  
                    
                      
                        
                          A
                          K
                        
                        ⁢
                        
                          
                        
                        ⁢
                        sin
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            2
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  i
                                  -
                                  1
                                
                                )
                              
                            
                          
                          K
                        
                      
                    
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            i
                          
                          =
                          1
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        K
                      
                    
                  
                  
                    
                      
                        
                          sin
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              2
                              ⁢
                              
                                π
                                ⁡
                                
                                  (
                                  
                                    i
                                    -
                                    K
                                    -
                                    1
                                  
                                  )
                                
                              
                            
                            K
                          
                        
                        +
                        
                          sin
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              2
                              ⁢
                              
                                π
                                ⁡
                                
                                  (
                                  
                                    i
                                    -
                                    K
                                  
                                  )
                                
                              
                            
                            K
                          
                        
                      
                    
                    
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            i
                          
                          =
                          
                            K
                            +
                            1
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        
                          2
                          ⁢
                          K
                        
                      
                    
                  
                
                ,
              
            
          
        
      
    
    
      
        (
        55
        )
      
    
  




and the dilation factor is given as the reciprocal of the subdominant eigenvalue of the subdivision matrix (equation 47) for a smooth interior vertex:





  
    
      
        
          
            d
            ⁡
            
              (
              K
              )
            
          
          =
          
            1
            
              
                
                  A
                  K
                
                16
              
              +
              
                1
                4
              
            
          
        
        ,
      
    
    
      
        (
        56
        )
      
    
  




where AK is defined by





  
    
      
        
          A
          K
        
        =
        
          1
          +
          
            cos
            ⁡
            
              (
              
                
                  2
                  ⁢
                  π
                
                K
              
              )
            
          
          +
          
            
              cos
              ⁡
              
                (
                
                  π
                  K
                
                )
              
            
            ⁢
            
              
                
                  2
                  ⁢
                  
                    (
                    
                      9
                      +
                      
                        cos
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            2
                            ⁢
                            π
                          
                          K
                        
                      
                    
                    )
                  
                
              
              .
            
          
        
      
    
    
      
        (
        57
        )
      
    
  




The tangent vector weight vectors lC and lS are used to generate the tangent vectors as follows:




  
    
      
        
          
            
              e
              C
            
            ⁡
            
              (
              q
              )
            
          
          =
          
            
              ∑
              
                i
                =
                0
              
              
                2
                ⁢
                K
              
            
            ⁢
            
              
                
                  (
                  
                    
                      l
                      c
                    
                    ⁡
                    
                      (
                      
                        
                          s
                          1
                        
                        ,
                        
                          s
                          2
                        
                      
                      )
                    
                  
                  )
                
                i
              
              ⁢
              
                
              
              ⁢
              
                
                  c
                  J
                
                ⁡
                
                  (
                  i
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              
                e
                S
              
              ⁡
              
                (
                q
                )
              
            
            =
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  2
                  ⁢
                  K
                
              
              ⁢
              
                
                  
                    (
                    
                      
                        l
                        S
                      
                      ⁡
                      
                        (
                        
                          
                            s
                            1
                          
                          ,
                          
                            s
                            2
                          
                        
                        )
                      
                    
                    )
                  
                  i
                
                ⁢
                
                  
                
                ⁢
                
                  
                    c
                    J
                  
                  ⁡
                  
                    (
                    i
                    )
                  
                
              
            
          
          ,
        
      
    
    
      
        (
        58
        )
      
    
  




where the indexing is as shown in FIG. 11.

As in the case of a subdivision surface defined by a triangular mesh, in the case of a subdivision surface defined by a quadrilateral mesh the tangent vector eC(q) generated for a vertex vq(0) generated using the tangent vector weight vector lC will be oriented approximately along the smooth feature line through the limit point associated with the vertex vq(0), and the tangent vector eS(q) that is generated using the tangent vector weight vector lS will be oriented approximately perpendicular to the smooth feature line through the limit point associated with the vertex vq(0).
Also, as with the case of a subdivision surface defined by a triangular mesh, the tangent vector weight vectors in the case of a subdivision surface defined by a quadrilateral mesh can be approximated using polynomial approximations. The components of tangent vector weight vectors lC(s1,s2) and lS(s1,s2) can be satisfactorily approximated by third degree polynomials in s1 and s2 using, in general, ten values per component and per valence If the value of “K” is even, and if




  
    L
    =
    
      K
      2
    
  
  ,




symmetry considerations allow the number of values per component to be reduced. In that case, the components of tangent vector weight vector lC satisfy the following symmetry relations:

    
    
        1. the “i-th” component of tangent vector weight vector lC(s1,s2) equals the “K+2-i-th” component of tangent vector weight vector tangent vector weight vector lC(s1,s2), that is, (lC(s1,s2))i=(lC(s1,s2))K+2−1, for i=2, . . . , K/2 and the “i-th” component of tangent vector weight vector lC(s1,s2) equals the “3K+1-i-th” component of tangent vector weight vector lC(s1,s2), that is, (lC(s1,s2))l=(lC(s1,s2))3K+1-i, for
    
    






  
    
      
        
          i
          =
          
            K
            +
            1
          
        
        ,
        ...
        ⁢
        
          
        
        ,
        
          
            K
            +
            
              K
              2
            
          
          ;
        
      
    
    
      
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            
              (
              
                
                  l
                  C
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            i
          
          =
          
            -
            
              
                (
                
                  
                    l
                    C
                  
                  ⁡
                  
                    (
                    
                      
                        s
                        1
                      
                      ,
                      
                        s
                        2
                      
                    
                    )
                  
                
                )
              
              
                
                  K
                  2
                
                +
                2
                -
                i
              
            
          
        
        ,
      
    
    
      
        
          
            for
            ⁢
            
              
            
            ⁢
            i
          
          =
          1
        
        ,
        ...
        ⁢
        
          
        
        ,
        
          
            K
            2
          
          +
          
            1
            ⁢
            k
          
        
        ,
        
          
        
        ⁢
        and
      
    
    
      
        
      
    
  
  
    
      
        
          
            
              (
              
                
                  l
                  C
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            i
          
          =
          
            -
            
              
                (
                
                  
                    l
                    C
                  
                  ⁡
                  
                    (
                    
                      
                        s
                        1
                      
                      ,
                      
                        s
                        2
                      
                    
                    )
                  
                
                )
              
              
                
                  2
                  ⁢
                  K
                
                +
                
                  K
                  2
                
                +
                1
                -
                i
              
            
          
        
        ,
      
    
    
      
        
          
            for
            ⁢
            
              
            
            ⁢
            i
          
          =
          
            K
            +
            1
          
        
        ,
        
          
            
              ...
              ⁢
              
                
              
              .
              K
            
            +
            
              K
              2
            
            +
            1
          
          ;
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            
              (
              
                
                  l
                  C
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            0
          
          =
          
            -
            
              
                (
                
                  
                    l
                    C
                  
                  ⁡
                  
                    (
                    
                      
                        s
                        2
                      
                      ,
                      
                        s
                        1
                      
                    
                    )
                  
                
                )
              
              0
            
          
        
        ;
        
          
        
        ⁢
        and
      
    
    
      
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            
              (
              
                
                  l
                  C
                
                ⁡
                
                  (
                  
                    
                      s
                      1
                    
                    ,
                    
                      s
                      2
                    
                  
                  )
                
              
              )
            
            
              
                K
                4
              
              +
              1
            
          
          =
          
            -
            
              
                (
                
                  
                    l
                    C
                  
                  ⁡
                  
                    (
                    
                      
                        s
                        2
                      
                      ,
                      
                        s
                        1
                      
                    
                    )
                  
                
                )
              
              
                
                  K
                  4
                
                +
                1
              
            
          
        
        ,
      
    
    
      
        
      
    
    
      
        
      
    
  




if “K” is a multiple of “four,” and





  
    
      
        (
        
          
            l
            C
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        )
      
      
        K
        +
        
          ⌊
          
            K
            4
          
          ⌋
        
        +
        1
      
    
    =
    
      -
      
        
          (
          
            
              l
              C
            
            ⁡
            
              (
              
                
                  s
                  2
                
                ,
                
                  s
                  1
                
              
              )
            
          
          )
        
        
          K
          +
          
            ⌊
            
              K
              4
            
            ⌋
          
          +
          1
        
      
    
  
  ,




if “K” is not a multiple of “four.”

Given the symmetry relations described immediately above, it is only necessary to generate approximations for





  
    i
    =
    0
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  




and





  
    i
    =
    
      K
      +
      1
    
  
  ,
  ...
  ⁢
  
    
  
  ,
  
    K
    +
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  
  ,




and, in addition, anti-symmetric polynomials can be used for i=0 for any even value of “K,” as well as for





  i
  =
  
    
      K
      4
    
    +
    1
  




if “K” is a multiple of “four,” or





  i
  =
  
    K
    +
    
      ⌊
      
        K
        4
      
      ⌋
    
    +
    1
  




if “K” is even but not a multiple of “four.”

As in the case of a subdivision surface defined by a triangular mesh, in one embodiment, the approximating polynomials are also computed using a least squares Chebyshev approximation methodology similar to that used in connection with the limit point approximation described above. The matrix product of equation (48) is evaluated at points of a grid in the (s1,s2) region made up of roots of Chebyshev polynomials (equation (27)). In this case, the coefficients bij (j=0, . . . , 3, in the anti-symmetric case, or j=0, . . . , 9, in the non-symmetric case) for the polynomial

(lC)i≈bi0(s1−s2)+bi1(s12−s22)+bi2(s13−s23)+bi3(s12s2−s1s22)  (59),

in the anti-symmetric case, or the polynomial

(lC)l≈bi0+bi1s1+bl2s2+bi3s12+bi4s1s2+bi5s22+bi6s13+bi7s12s2+bi8s1s22+bi9s23  (60),

in the non-symmetric case, are determined using the least squares methodology. Operations performed in connection with the least squares methodology correspond to those described above in the case of a subdivision surface defined by a triangular mesh. The components of tangent vector weight vector is can be approximated as lS(s1,s2) using third degree polynomials in sharpness parameters s1 and s2. The operations performed in generating the coefficients for the polynomials correspond to the operations performed in generating the coefficients for the polynomials described above for the tangent vector weight vector lC used in generating the tangent vector along the smooth feature line. FIG. 13 depicts a table of coefficients bij for K=4, L=2, corresponding to i=0; 1; 2; 5.

After the tangent vector weight vectors lC and lS have been generated, they are used to generate the tangent vectors eC and eS as described above in connection with equation (58).
As in the case of a subdivision surface defined by a triangular mesh, in some circumstances, it is impractical to use polynomials to generate approximations for limit point weight vector lLP and tangent vector weight vectors lC and lS. An alternative methodology makes use of polynomial extrapolation to generate approximations for limit point weight vector lLP and tangent vector weight vectors lC and lS. This extrapolation methodology is similar to the methodology described above in connection with equations 38-46.
Operations performed by the computer graphics system 10 in connection with generating the limit point weight vector lLP and tangent vector weight vectors lC and lS for a subdivision surface defined by a quadrilateral mesh, using the polynomial extrapolation methodology, are similar to those described above in connection with FIG. 10 for a subdivision surface defined by a triangular mesh, and reference should be made to FIG. 10 for that description.
The arrangement provides a number of advantages. In particular, the invention provides an arrangement for generating a subdivision surface from a representation defined by a control mesh at a selected level, by applying the same parameterized subdivision rule at each level, with the value(s) of the parameter(s) varying at at least some of the levels. The invention specifically provides for the generation of a smooth feature line in a subdivision surface using the same parameterized subdivision rule at each level, with the value(s) of the parameter(s) defining the smooth feature line varying at at least some of the levels. The resulting subdivision surface is of relatively high quality and can be efficiently evaluated.
It will be appreciated that numerous changes and modifications may be made to the arrangement as described herein. For example, it will be appreciated that, although the arrangement has been described in connection with meshes of triangular and quadrangular faces, it will be appreciated that the arrangement may find utility in connection with meshes having faces of different polygonal structures.
Furthermore, although specific subdivision rules (equations (19) and (46)) have been described, it will be appreciated that other subdivision rules may find utility.
In addition, although a methodology has been described for updating the sharpness parameters s1 and s2, and although various methodologies have been described for approximating weight vectors lLP, lC and lS, it will be appreciated that other parameter update and approximation methodologies may find utility.
Furthermore, in connection with the extrapolation methodologies described herein, it will be appreciated that the number of coefficients bJ, and the upper limit (“three”) on the summations in equations (41) and (46) may differ if a polynomial other than of order “three” is used in the extrapolation.
It will be appreciated that a system in accordance with the invention can be constructed in whole or in part from special purpose hardware or a general purpose computer system, or any combination thereof, any portion of which may be controlled by a suitable program. Any program may in whole or in part comprise part of or be stored on the system in a conventional manner, or it may in whole or in part be provided in to the system over a network or other mechanism for transferring information in a conventional manner. In addition, it will be appreciated that the system may be operated and/or otherwise controlled by means of information provided by an operator using operator input elements (not shown) which may be connected directly to the system or which may transfer the information to the system over a network or other mechanism for transferring information in a conventional manner.
The foregoing description has been limited to a specific embodiment of this invention. It will be apparent, however, that various variations and modifications may be made to the invention, with the attainment of some or all of the advantages of the invention. It is the object of the appended claims to cover these and such other variations and modifications as come within the true spirit and scope of the invention.
What is claimed as new and desired to be secured by Letters Patent of the United States is:

## Claims

1. A method executable in a computer graphics system to enable the computer graphics system to generate a representation of a feature in a surface defined by a mesh representation, the mesh comprising at a selected level a plurality of points including at least one point connected to a plurality of neighboring points by respective edges, the feature being defined in connection with the vertex and at least one of the neighboring points and the edge interconnecting the vertex and the at least one of the neighboring points in the mesh representation, the method comprising:
A. generating at least one weight vector based on a parameterized subdivision rule defined at a plurality of levels, for which a value of at least one parameter differs at at least two levels in the mesh; and
B. using the at least one weight vector and positions of the vertex and the neighboring points to generate the representation of the feature;
wherein the feature is a smooth feature line;
wherein the smooth feature line is defined in connnection with the vertex and two neighboring points and edges interconnecting the vertex and the respective neighboring points,
the generating at least one weight vector comprising using a parameterized subdivision rule having a parameter value associated with each of the edges along which the smooth feature line is defined;
wherein the mesh comprises a triangular mesh in which, at a selected level “j,” vertex vq(0) is at position cj(0) and neighboring points vq(k), k=1, . . . , K are at respective positions cj(k), and
further comprising using a parameterized subdivision rule Ssc,T,K,L that relates the position cj+1(0) of the vertex vq(0) and positions cj+1(k) of neighboring points vq(k) at the next higher level “j+1” as follows:


cj+1=Ssc,T,K,Lcj



where subdivision rule Ssc,T,K,L is given by:




  
    
      (
      
        
          S
          
            x
            ,
            τ
            ,
            κ
            ,
            l
          
        
        ⁡
        
          (
          
            
              s
              1
            
            ,
            
              s
              2
            
          
          )
        
      
      )
    
    
      l
      ,
      m
    
  
  =
  
    {
    
      
        
          
            
              
                (
                
                  1
                  -
                  
                    s
                    3
                  
                
                )
              
              ⁢
              
                (
                
                  1
                  -
                  
                    a
                    ⁡
                    
                      (
                      K
                      )
                    
                  
                
                )
              
            
            +
            
              
                3
                4
              
              ⁢
              
                s
                3
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                
              
              ⁢
              0
            
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
              
                (
                
                  1
                  -
                  
                    s
                    3
                  
                
                )
              
              ⁢
              
                
                  a
                  ⁡
                  
                    (
                    K
                    )
                  
                
                K
              
            
            +
            
              
                1
                8
              
              ⁢
              
                s
                3
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              
                
                  1
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  L
                
                +
                1
              
            
          
        
      
      
        
          
            
              (
              
                1
                -
                
                  s
                  3
                
              
              )
            
            ⁢
            
              
                a
                ⁡
                
                  (
                  K
                  )
                
              
              K
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
          
        
      
      
        
          
            
              3
              8
            
            +
            
              
                1
                8
              
              ⁢
              
                s
                2
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              1
            
            ,
            
              m
              =
              
                0
                ⁢
                
                  
                
                ⁢
                or
                ⁢
                
                  
                
                ⁢
                1
              
            
          
        
      
      
        
          
            
              3
              8
            
            +
            
              
                1
                8
              
              ⁢
              
                s
                1
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              
                
                  0
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  L
                
                +
                1
              
            
          
        
      
      
        
          
            
              1
              8
            
            ⁢
            
              (
              
                1
                -
                
                  s
                  2
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              1
            
            ,
            
              m
              =
              
                2
                ⁢
                
                  
                
                ⁢
                or
                ⁢
                
                  
                
                ⁢
                K
              
            
          
        
      
      
        
          
            
              1
              8
            
            ⁢
            
              (
              
                1
                -
                
                  s
                  1
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              
                
                  L
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  L
                
                +
                2
              
            
          
        
      
      
        
          
            3
            8
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                m
                =
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                m
                =
                
                  L
                  +
                  2
                
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
          
        
      
      
        
          
            1
            8
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                l
                +
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              
                l
                +
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              K
            
            ,
            
              m
              =
              1
            
          
        
      
      
        
          0
        
        
          otherwise
        
      
    
  




where the smooth feature line is defined in connection with the edges between respective points vq(1) and vq(L+1)(L+1≦K) and vertex vq(0), sl is the parameter associated with the edge between point vq(1) and vertex vq(0), s2 is the parameter associated with the edge between point vq(L+1) and vertex




  
    
      v
      q
    
    ⁡
    
      (
      0
      )
    
  
  ,
  
    
      s
      3
    
    =
    
      
        1
        2
      
      ⁢
      
        (
        
          
            s
            1
          
          +
          
            s
            2
          
        
        )
      
    
  
  ,
  
    
      and
      ⁢
      
        
      
      ⁢
      
        a
        ⁡
        
          (
          K
          )
        
      
    
    =
    
      
        5
        8
      
      -
      
        
          
            (
            
              
                3
                +
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    cos
                    ⁡
                    
                      (
                      
                        
                          2
                          ⁢
                          π
                        
                        K
                      
                      )
                    
                  
                
              
              8
            
            )
          
          2
        
        .

2. The method of claim 1 in which the representation of the feature is defined by at least one limit point associated with the vertex, and further comprising determining a position σ(q) of the limit point in accordance with




  
    
      σ
      ⁡
      
        (
        q
        )
      
    
    =
    
      
        ∑
        
          i
          =
          0
        
        K
      
      ⁢
      
        (
        
          
            l
            LP
          
          ⁡
          
            (
            
              
                s
                1
              
              ,
              
                s
                2
              
            
            )
          
        
        )
      
    
  
  ,
  
    
      c
      j
    
    ⁡
    
      (
      i
      )
    
  
  ,




where lLP(s1s2) is a vector of limit point weight values defined by


lLP(s1,s2)=vLP·Ssc,T,K,L,LP(s1,s2)


where




  
    
      
        S
        
          sc
          ,
          T
          ,
          K
          ,
          L
          ,
          LP
        
      
      ⁡
      
        (
        
          
            s
            1
          
          ,
          
            s
            2
          
        
        )
      
    
    =
    
      
        ∏
        
          j
          =
          ∞
        
        
          j
          o
        
      
      ⁢
      
        
      
      ⁢
      
        
          S
          
            sc
            ,
            T
            ,
            K
            ,
            L
          
        
        ⁡
        
          (
          
            
              
                s
                1
              
              ⁡
              
                (
                j
                )
              
            
            ,
            
              
                s
                2
              
              ⁡
              
                (
                j
                )
              
            
          
          )
        
      
    
  
  ,




where Ssc,T,K,L (s1(j),s2(j)) corresponds to Ssc,T,K,L for sharpness parameters corresponding to the “j-th” level in the matrix product, where Ssc,T,K,L,LP(s1,s2) arguments s1 an s2 on the left-hand side refer to the sharpness parameters a definition level of the smooth feature line and the subscript “LP” refers to “Limit Point,” and



  
    
      
        v
        LP
      
      =
      
        (
        
          
            
              ω
              ⁡
              
                (
                K
                )
              
            
            
              
                π
                ⁡
                
                  (
                  K
                  )
                
              
              +
              K
            
          
          ,
          
            1
            
              
                π
                ⁡
                
                  (
                  K
                  )
                
              
              +
              K
            
          
          ,
          
            1
            
              
                π
                ⁡
                
                  (
                  K
                  )
                
              
              +
              K
            
          
          ,
          ...
          ⁢
          
            
          
          ,
          
            1
            
              
                π
                ⁡
                
                  (
                  K
                  )
                
              
              +
              K
            
          
        
        )
      
    
    ,
    where
  




  
    
      π
      ⁡
      
        (
        K
        )
      
    
    =
    
      
        
          3
          ⁢
          K
        
        
          8
          ⁢
          
            a
            ⁡
            
              (
              K
              )
            
          
        
      
      .

3. The method of claim 2 further comprising generating an approximation for the limit point weight vector lLP using a polynomial approximation methodology.

4. The method of claim 3 further comprising generating the approximation for the limit point weight vector lLP in accordance with the polynomial


(lLP)i≈bi0+bi1(s1+s2)+bi2(s12+s22)+bi3s1s2


in a symmetric case, or the polynomial


(lLP)i≈bi0+bi1s1+bi2s2+bi3s12+bi4s22+bi5s1s2


in an asymmetric case, in which the coefficients bij are determined by a least squares methodology and the values of the parameters s1 and s2 are at selected values.

5. The method of claim 4 further comprising selecting values of s1 and s2 in accordance with




  
    
      (
      
        
          s
          1
        
        ,
        
          s
          2
        
      
      )
    
    =
    
      (
      
        
          cos
          (
          
            
              
                (
                
                  i
                  +
                  
                    1
                    2
                  
                
                )
              
              ⁢
              π
            
            N
          
          )
        
        ,
        
          cos
          (
          
            
              
                (
                
                  j
                  +
                  
                    1
                    2
                  
                
                )
              
              ⁢
              π
            
            N
          
          )
        
      
      )
    
  
  ,




where “N” is a selected integer, and indices i,j=0, . . . ,N−1.

6. The method of claim 2 further comrising generating an approximation for the limit point weight vector lLP using an extrapolation approximation methodology in relation to an M-degree polynomial that interpolates the points


{x=2−2j, y=lLP(J)},J=0, . . . , M


and then evaluates this polynomial by extrapolation at the point x=0.

7. The method of claim 6 further comprising performing the extrapolation approximation methodology such that M=3.

8. The method of claim 7 further comprising generating the approximation for the limit point weight vector weight vector in accordance with




  
    
      l
      LP
    
    ≈
    
      
        ∑
        
          j
          =
          0
        
        3
      
      ⁢
      
        
          b
          J
        
        ⁢
        
          
            l
            LP
          
          ⁡
          
            (
            J
            )
          
        
      
    
  
  ,




where “J” is a predetermined integer and where


(lLP(J)s1,s2))m=(ssc,T,K,L,LP(J)(s1,s2))l,m


where




  
    
      
        
          S
          
            sc
            ,
            T
            ,
            K
            ,
            L
            ,
            LP
          
        
        ⁡
        
          (
          J
          )
        
      
      ⁢
      
        (
        
          
            s
            1
          
          ,
          
            s
            2
          
        
        )
      
    
    :=
    
      
        ∏
        
          j
          =
          J
        
        0
      
      ⁢
      
        
      
      ⁢
      
        
          S
          
            sc
            ,
            T
            ,
            K
            ,
            L
          
        
        ⁡
        
          (
          
            
              
                s
                1
              
              ⁡
              
                (
                j
                )
              
            
            ,
            
              
                s
                2
              
              ⁡
              
                (
                j
                )
              
            
          
          )
        
      
    
  
  ,




with


Ssc,T,K,L,LP(0)(s1,s2)=IK+l


where Ik+1 is the “K+1” by “K+1” identity matrix, and where




  
    b
    0
  
  =
  
    
      
        
          -
          135
        
        120015
      
      ⁢
      
        
      
      ⁢
      
        b
        1
      
    
    =
    
      
        
          1270
          120015
        
        ⁢
        
          
        
        ⁢
        
          b
          2
        
      
      =
      
        
          
            
              -
              12192
            
            120015
          
          ⁢
          
            
          
          ⁢
          
            b
            3
          
        
        =
        
          
            131072
            120015
          
          .

9. The method of claim 1 in which the representation of the feature is defined by a tangent vector associated with the vertex, the tangent vector being along the smooth feature line, and further comprising determining the tangent vector eC(q) in accordance with




  
    
      
        e
        C
      
      ⁡
      
        (
        q
        )
      
    
    =
    
      
        ∑
        
          i
          =
          0
        
        K
      
      ⁢
      
        
          
            (
            
              
                l
                C
              
              ⁡
              
                (
                
                  
                    s
                    1
                  
                  ,
                  
                    s
                    2
                  
                
                )
              
            
            )
          
          i
        
        ⁢
        
          
            c
            j
          
          ⁡
          
            (
            i
            )
          
        
      
    
  
  ,




where IC(s1,s2) is a vector of tangent vector weight values defined by




  
    
      l
      C
    
    =
    
      
        lim
        
          j
          →
          ∞
        
      
      ⁢
      
        
          
            l
            C
          
          ⁡
          
            (
            J
            )
          
        
        
          
          
            
              l
              C
            
            ⁡
            
              (
              J
              )
            
          
          
        
      
    
  
  ,
  
    
      where
      ⁢
      
        
      
      ⁢
      
        
        v
        
      
    
    =
    
      
        
          ∑
          i
        
        ⁢
        
          v
          i
          2
        
      
    
  
  ,




that is, the Euclidean norm, and where




  
    
      
        l
        C
      
      ⁡
      
        (
        J
        )
      
    
    =
    
      
        (
        
          0
          ,
          1
          ,
          0
          ,
          ...
          ⁢
          
            
          
          ,
          
            -
            1
          
          ,
          0
          ,
          ...
        
        )
      
      ·
      
        
          ∏
          
            j
            =
            J
          
          
            j
            o
          
        
        ⁢
        
          
        
        ⁢
        
          
            S
            
              sc
              ,
              T
              ,
              K
              ,
              L
            
          
          ⁡
          
            (
            
              
                
                  s
                  1
                
                ⁡
                
                  (
                  j
                  )
                
              
              ,
              
                
                  s
                  2
                
                ⁡
                
                  (
                  j
                  )
                
              
            
            )
          
        
      
    
  
  ,




where two non-zero components of the row vector on the right hand side are a “one” at position “one” in the row vector, and a “negative one” at position




  
    
      K
      2
    
    +
    1
  
  ,




and where Ssc,T,K,L (s1(j), s2(j)) corresponds to Ssc,T,K,L for sharpness parameters corresponding to the “j-th” level in the matrix product.

10. A method executable in a computer graphics system to enable the computer graphics system to generate a representation of a feature in a surface defined by a mesh representation, the mesh comprising at a selected level a plurality of points including at least one point connected to a plurality of neighboring points by respective edges, the feature being defined in connection with the vertex and at least one of the neighboring points and the edge interconnecting the vertex and the at least one of the neighboring points in the mesh representation, the method comprising:
A. generating at least one weight vector based on a parameterized subdivision rule defined at a plurality of levels, for which a value of at least one parameter differs at at least two levels in the mesh; and
B. using the at least one weight vector and positions of the vertex and the neighboring points to generate the representation of the feature;
wherein the feature is a smooth feature line;
wherein the smooth feature line is defined in connection with the vertex and two neighboring points and edges interconnecting the vertex and the respective neighboring points,
wherein the generating at least one weight vector comprises using a parameterized subdivision rule having a parameter value associated with each of the edges along which the smooth feature line is defined; and
wherein the mesh comprises a quadrilateral mesh in which, at a selected level “j,” vertex vq(0) is at position cj(0) and neighboring points vq(k) k=; 1, . . . , 2K are at respective positions cj(k), and
further comprising using a parameterized subdivision rule Ssc,Q,K,L that relates the position cj+1(0) of the vertex vq(0) and positions cj+1(k) of neighboring points vq(k) at the next higher level “j+1” as follows


cj+1=Ssc,T,K,Lcj



where subdivision rule Ssc,Q,K,L is given by




  
    
      (
      
        
          s
          
            sc
            ,
            Q
            ,
            K
            ,
            L
          
        
        ⁡
        
          (
          
            
              s
              1
            
            ,
            
              s
              2
            
          
          )
        
      
      )
    
    
      l
      ,
      m
    
  
  =
  
    {
    
      
        
          
            
              
                
                  (
                  
                    1
                    -
                    
                      s
                      3
                    
                  
                  )
                
                ⁢
                
                  (
                  
                    1
                    -
                    
                      7
                      
                        4
                        ⁢
                        
                          
                        
                        ⁢
                        K
                      
                    
                  
                  )
                
              
              +
              
                
                  3
                  4
                
                ⁢
                s
              
            
            ,
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
              
                (
                
                  1
                  -
                  
                    s
                    3
                  
                
                )
              
              ⁢
              
                (
                
                  3
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    
                      K
                      2
                    
                  
                
                )
              
            
            +
            
              
                1
                8
              
              ⁢
              
                s
                3
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              
                
                  1
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  L
                
                +
                1
              
            
          
        
      
      
        
          
            
              (
              
                1
                -
                
                  s
                  3
                
              
              )
            
            ⁢
            
              (
              
                3
                
                  4
                  ⁢
                  
                    K
                    2
                  
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
          
        
      
      
        
          
            
              (
              
                1
                -
                
                  s
                  3
                
              
              )
            
            ⁢
            
              (
              
                1
                
                  4
                  ⁢
                  
                    K
                    2
                  
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              0
            
            ,
            
              m
              =
              
                K
                +
                1
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            
              2
              ⁢
              K
            
          
        
      
      
        
          
            
              
                3
                8
              
              ⁢
              
                (
                
                  1
                  -
                  
                    s
                    2
                  
                
                )
              
            
            +
            
              
                1
                2
              
              ⁢
              
                s
                2
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              1
            
            ,
            
              m
              =
              
                0
                ⁢
                
                  
                
                ⁢
                or
                ⁢
                
                  
                
                ⁢
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              2
            
            ,
            K
            ,
          
        
      
      
        
          
            
              1
              16
            
            ⁢
            
              (
              
                1
                -
                
                  s
                  2
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              2
            
            ,
            K
            ,
          
        
      
      
        
          
            
          
        
        
          
            K
            +
            
              1
              ⁢
              
                
              
              ⁢
              or
              ⁢
              
                
              
              ⁢
              2
              ⁢
              K
            
          
        
      
      
        
          
            
              
                3
                8
              
              ⁢
              
                (
                
                  1
                  -
                  
                    s
                    1
                  
                
                )
              
            
            +
            
              
                1
                2
              
              ⁢
              
                s
                1
              
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              
                
                  0
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  L
                
                +
                1
              
            
          
        
      
      
        
          
            
              1
              16
            
            ⁢
            
              (
              
                1
                -
                
                  s
                  1
                
              
              )
            
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                1
              
            
            ,
            
              m
              =
              L
            
            ,
            
              L
              =
              2
            
            ,
          
        
      
      
        
          
            
          
        
        
          
            K
            +
            
              1
              ⁢
              
                
              
              ⁢
              or
              ⁢
              
                
              
              ⁢
              K
            
            +
            L
            +
            1
          
        
      
      
        
          
            3
            8
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              0
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                m
                =
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                m
                =
                
                  L
                  +
                  2
                
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
          
        
      
      
        
          
            1
            16
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                l
                +
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                K
                +
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              2
            
            ,
            ...
            ⁢
            
              
            
            ,
            L
            ,
            
              m
              =
              
                K
                +
                l
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            
              K
              -
              1
            
            ,
            
              m
              =
              
                l
                +
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              K
            
            ,
            
              m
              =
              1
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              
                K
                +
                l
                -
                1
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                L
                +
                2
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            K
            ,
            
              m
              =
              
                K
                +
                l
              
            
          
        
      
      
        
          
            1
            4
          
        
        
          
            
              
                if
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                K
                +
                1
              
            
            ,
            ...
            ⁢
            
              
            
            ,
            
              
                2
                ⁢
                K
              
              -
              1
            
            ,
            
              m
              =
              0
            
            ,
          
        
      
      
        
          
            
          
        
        
          
            
              l
              -
              K
            
            ,
            
              l
              -
              K
              +
              
                1
                ⁢
                
                  
                
                ⁢
                or
                ⁢
                
                  
                
                ⁢
                l
              
            
          
        
      
      
        
          
            
          
        
        
          
            
              
                or
                ⁢
                
                  
                
                ⁢
                l
              
              =
              
                2
                ⁢
                K
              
            
            ,
            
              m
              =
              0
            
            ,
            K
            ,
            
              1
              ⁢
              
                
              
              ⁢
              or
              ⁢
              
                
              
              ⁢
              2
              ⁢
              K
            
          
        
      
      
        
          0
        
        
          otherwise
        
      
    
  




where the smooth feature line is defined in connection with the edges between respective points vq(1) and vq(L+1)(L+1≦2K) and vertex vq(0), s1 is the parameter associated with the edge between point vq(1) and vertex vq(0), s2 is the parameter associated with the edge between point vq(L+1) and vertex vq(0), and




  
    s
    3
  
  =
  
    
      1
      2
    
    ⁢
    
      
        (
        
          
            s
            1
          
          +
          
            s
            2
          
        
        )
      
      .

11. A method executable in a computer graphics system operable to generate representations of features and objects and to generate therefrom images of the features and objects, the method being executable to generate a representation of a feature in a surface defined by a mesh representation, the mesh comprising at a selected level a pluralty of points including at least one point connected to a plurality of neighboring points by respective edges, the feature being defined in connection with the vertex and at least one of the neighboring points and the edge interconnecting the vertex and the at least one of the neighboring points in the mesh representation, the method comprising:
A generating at least one weight vecter based on a parameterized subdivision rule defined at a plurality of levels, for which a value of at least one parameter differs at at least two levels in the mesh; and
B. using the at least one weight vector and postions of the vertex and the neighboring points generating, the representation of the feature;
wherein the feature is a smooth feature line;
wherein the smooth feature line is defined in connection with the vertex and two neighboring points and edges interconnecting the vertex and the respective neighboring points;
wherein the generating of at least one weight vector comprises utilizing:
(1) a parameterized subdivision rule having a parameter value associated with each of the edges along which the smooth feature line is defined;
(2) parameters associated with the edges along which the smooth feature line is defined whose values differ; and
(3) parameters that are in relation to a subdivision rule that, in turn, reflects a sharp crease along the edges along which the smooth feature line is defined, the values of the parameters being defined in the interval [0.1], where higher values define a sharper crease, the values of the parameters at a lower level being related to the values of the parameters at a higher level being related by





  
    
      
        s
        1
      
      ⁡
      
        (
        
          j
          +
          1
        
        )
      
    
    =
    
      
        (
        
          
            
              3
              4
            
            ⁢
            
              
                s
                1
              
              ⁡
              
                (
                j
                )
              
            
          
          +
          
            
              1
              4
            
            ⁢
            
              
                s
                2
              
              ⁡
              
                (
                j
                )
              
            
          
        
        )
      
      2
    
  
  ,
  
    
      and
      ⁢
      
        
      
      ⁢
      
        
          s
          2
        
        ⁡
        
          (
          
            j
            +
            1
          
          )
        
      
    
    =
    
      
        (
        
          
            
              1
              4
            
            ⁢
            
              
                s
                j
              
              ⁡
              
                (
                j
                )
              
            
          
          +
          
            
              3
              4
            
            ⁢
            
              
                s
                2
              
              ⁡
              
                (
                j
                )
              
            
          
        
        )
      
      2
    
  
  ,




where s1(j) and s2(j) represent the values of the parameters associated with the respective edges at level “j,” and s1(j+1) and s2(j+1) represent the values of the parameters associated with the respective edges at the higher level “j+1.”