home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / gfx / x11 / Mesa_Amiwin.lha / Mesa-Amiwin / src-glu / README2 < prev    next >
Text File  |  1995-07-31  |  2KB  |  49 lines

  1. The current NURBS implementation has no trimming facilities yet.
  2.  
  3. The code is not commented.
  4.  
  5. There are three major discrepancies:
  6.         1) normal calculus fails for special cases of NURBS (independent
  7.           of the NURBS modules)
  8.           Those cases arise when for u or v, some control points
  9.           for a fixed value of that parameter form the same point.
  10.           Imagine a Bezier patch degenerated into a "triangle".
  11.  
  12.             v ^          0,1,2        order=3
  13.               |            *
  14.               |
  15.               |       3*  4*  5*
  16.               |
  17.               |    6*     7*     8*
  18.               |
  19.               |
  20.               +------------------------> u
  21.  
  22.           The calculus of du derivative at triple point (0,1 and 2) will fail.
  23.           As a result, the normal vector will be 0.
  24.           The eval2.c code has to be changed to handle the above situation.
  25.  
  26.         2) Adjacent NURBS surfaces ("sharing" the same control points along
  27.           the "joining" edge) might not be sampled with the same factor.
  28.           In result T junctions, or worse  - cracks occur and proper visual
  29.           effect is ruined.
  30.           This will be studied and fixed in future releases. 
  31.  
  32.         3) Due to my misunderstanding, NURBS for the moment can not utilize
  33.            other than geometric data type (that is, no additional data for
  34.            vertices can be specified - no normal, color, and textures).
  35.  
  36. The sampling tolerance is sometimes not respected!
  37. A NURBS object is broken into Bezier curves/surfaces. If one of such
  38. Bezier objects has a local high curvature with other portions of it
  39. relatively flat then the high curvature part will be sampled more dense that
  40. its flatter regions.
  41. The flat regions might be tesselated into quads having sides of length
  42. greater than the current sampling tolernace setting.
  43. I believe such behaviour is acceptable, though not along the concept of
  44. sampling tolerance.
  45.  
  46. July 31, 1995.
  47.  
  48. Bogdan.  
  49.