[Bf-blender-cvs] CVS commit: blender/source/blender/src buttons_editing.c

Brecht Van Lommel brechtvanlommel at pandora.be
Sun Feb 5 16:32:20 CET 2006


blendix (Brecht Van Lommel) 2006/02/05 16:32:20 CET

  Modified files:
    blender/source/blender/src buttons_editing.c 
  
  Log:
  Angle Based Flattening:
  
  - There's an option to enabled ABF in the UV Calculation panel.
  - ABF works with seams, pinning, live transform etc. UI wise it's pretty
    much the same as LSCM.
  
  - ABF favors low angular distortion over area distortion, much like LSCM.
    It does however not have the tendency to "collapse" under high stretch,
    which basically means that it will be able to handle complex charts
    without pinning.
  - ABF does however have on serious drawback: it is sensitive to degenerate
    geometry, especially very small angles. I'm working on this, but it seems
    to be quite difficult to improve the situation. There's still a bunch of
    ideas left to try, but I'll just commit this now as is. If ABF fails, it
    will fall back to LSCM, and there will be a warning print in the console.
  
  - This implementation has the matrix tricks from ABF++ also. The second part
    of ABF++, simplification before unwrap, is being worked on. The current
  - ABF is about 3-4 times slower than LSCM, which was to be expected. For
    live transform however, once the initial computation is done, it's just as
    snappy as the new LSCM code.
  
  Results are quite nice though:
  http://users.pandora.be/blendix/snurgle.png
  http://users.pandora.be/blendix/snurgle_flattened.png
  
  You may recognize the Snurgle model by Colin Levy there.
  
  Revision  Changes    Path
  1.245     +2 -2      blender/source/blender/src/buttons_editing.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/buttons_editing.c.diff?r1=1.244&r2=1.245&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list