[tuhopuu-cvs] CVS commit: tuhopuu2 featurelist.txt tuhopuu2/source/blender/makesdna DNA_space_types.h tuhopuu2/source/blender/src drawimage.c editsima.c header_image.c

Brecht Van Lommel blendix at msn.com
Wed Mar 3 23:02:37 CET 2004


blendix (Brecht Van Lommel) 2004/03/03 23:02:37 CET

  Modified files:
    .                    featurelist.txt 
    tuhopuu2/source/blender/makesdna DNA_space_types.h 
    tuhopuu2/source/blender/src drawimage.c editsima.c 
                                header_image.c 
  
  Log:
  Added new Relax UV tool, based on the stretch optimizer algorithm as proposed
  in "Texture Mapping Progressive Meshes" (2001) by Sander et.al.
  The code was heavily inspired by the implementation of algorithm
  in Graphite, Copyright (C) 2000 Bruno Levy.
  Credits go to Bruno Levy and the inventors of this algorithm.
  
  Speed and quality improvements might still be possible, but it is working,
  and triangle flipping will hopefully not occur.
  
  The algorithm used is rather slow, as it uses random movement to optimize the
  stretching, but this currently yields better results. The borders of the
  UV island that is being optimized will stay fixed.
  While relaxing, every 10 iterations the UV editor and 3d view are updated
  with the new UV coords. The relaxing operation can then be manually finished
  by pressing Enter and canceled by pressing Escape. This was originaly a
  debugging feature, but it useful to finish the relaxing operation when the
  user is satisfied with the result, and does not wish to wait any longer.
  
  Revision  Changes    Path
  1.78      +9 -10     tuhopuu2/featurelist.txt
  1.5       +1 -2      tuhopuu2/source/blender/makesdna/DNA_space_types.h
  1.8       +2 -27     tuhopuu2/source/blender/src/drawimage.c
  1.15      +470 -209  tuhopuu2/source/blender/src/editsima.c
  1.11      +1 -7      tuhopuu2/source/blender/src/header_image.c



More information about the tuhopuu-cvs mailing list