Revision: 73867
          http://sourceforge.net/p/brlcad/code/73867
Author:   starseeker
Date:     2019-09-10 01:06:13 +0000 (Tue, 10 Sep 2019)
Log Message:
-----------
May want to reconsider matching the aspect ratio of the 3D surface when it's 
really wacky...

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/cdt.cpp

Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp    2019-09-09 22:30:18 UTC (rev 73866)
+++ brlcad/trunk/src/libbrep/cdt.cpp    2019-09-10 01:06:13 UTC (rev 73867)
@@ -446,6 +446,11 @@
        // Reparameterize the face's surface and transform the "u" and "v"
        // coordinates of all the face's parameter space trimming curves to
        // minimize distortion in the map from parameter space to 3d.
+       //
+       // TODO for faces with an aspect ratio that is very far from 1:1,
+       // it might be more advantageous to stretch the narrow aspect so
+       // we can more easily/reliably sample relative to 2D distances from
+       // trim edges...
        for (int face_index = 0; face_index < brep->m_F.Count(); face_index++) {
            ON_BrepFace *face = brep->Face(face_index);
            const ON_Surface *s = face->SurfaceOf();

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to