From cea2074e7db22c0b571d53838cc3902b520f4bcd Mon Sep 17 00:00:00 2001 From: mtarini Date: Fri, 2 Feb 2007 01:23:47 +0000 Subject: [PATCH] added a few general comments on AreaPreserving optimizer, recapping optimizer features. --- vcg/complex/trimesh/textcoord_optimization.h | 23 +++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/textcoord_optimization.h b/vcg/complex/trimesh/textcoord_optimization.h index 9bd0b226..4b9757fc 100644 --- a/vcg/complex/trimesh/textcoord_optimization.h +++ b/vcg/complex/trimesh/textcoord_optimization.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.3 2007/02/02 01:18:15 tarini +First version: general virtual class for texture optimizers. A subclass for area preservation. + ****************************************************************************/ @@ -132,7 +135,25 @@ public: }; -/* Texture optimizer that balances area and angle distortions. */ + +/* +AREA PRESERVING TEXTURE OPTIMIZATION +as in DEGENER, P., MESETH, J., AND KLEIN, R. An adaptable surface +parameterization method. [2003] In Proc. of the 12th International Meshing +Roundtable, 201–213. + +Features: + +:) - Balances angle and area distortions (best results!). +:( - Slowest method. +:( - Requires a fixed boundary, else expands forever in texture space. +:( - Diverges in presence of flipped faces. +:( - Requires a speed parameter to be set. + Speed too large => bounces back and forth around minima, w/o getting closer. + Lower speed => longest convercence times + +*/ + template class AreaPreservingTextureOptimizer:public TextureOptimizer{ public: