X-Git-Url: http://git.megacz.com/?p=anneal.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2FMain.java;h=4ae3a8e519f57df01a7d131f7554ef8e6de9ad0e;hp=178ca5a616d206fe022bafc5a9db50eb7d1509b3;hb=e4d317da98c8126fa7cfb4d0097419d8f0d383a5;hpb=00235327934dbc5ffaf5b09cbda538ee0d3686e8 diff --git a/src/edu/berkeley/qfat/Main.java b/src/edu/berkeley/qfat/Main.java index 178ca5a..4ae3a8e 100644 --- a/src/edu/berkeley/qfat/Main.java +++ b/src/edu/berkeley/qfat/Main.java @@ -12,6 +12,56 @@ import edu.berkeley.qfat.stl.*; import edu.berkeley.qfat.geom.Point; import edu.berkeley.qfat.geom.Polygon; +/* + + +Todo +- review catmull-clark; move vertex points? +- re-anneal fish + +- show constraints (?) +- show in red if user tries to move a point to an illegal location + +- eliminate use of bindinggroupschanged() + +- post qfat on my software page + + +With Sequin +- constraints admit intersections (lattice) +- constraints may be transformed linearly + + + + +Log console + - blend-shaded overlay? slick. + +face/vertex count +rendering FPS +ability to not draw edges between faces + + +three circumcircles showing crystal ball -- these don't get scaled +axes? + +drawing modes: + - bounding box + - vertices + - edges + - visible-edges + - flat with or without edges + - shaded with or without edges + * contrasting-faces + + +quadric decimation? + +show normals +show bounding box +show axes (big+fat) + */ + // TO DO: // // - Ability to snap three views to orthgonal @@ -590,8 +640,7 @@ public class Main extends InteractiveMeshViewer { transforms = new Matrix[] { - //Matrix.rotate(new Vec(1,0,0), (float)Math.PI), - //Matrix.reflect(new Vec(1,0,0)), + //Matrix.reflect(new Vec( 0, height, -z).norm()), Matrix.translate(new Vec(-unit, 0, 0)), Matrix.translate(new Vec( unit, 0, 0)), @@ -632,17 +681,33 @@ public class Main extends InteractiveMeshViewer { transforms = new Matrix[] { Matrix.reflect(new Vec( 0, height, -z).norm()), //Matrix.reflect(new Vec( 0, -height, z)), - Matrix.ONE + Matrix.ONE, + Matrix.translate(new Vec(-unit, 0, 0)), + Matrix.translate(new Vec( unit, 0, 0)), + /* + Matrix.translate(new Vec(-cos, 0, sin)), + Matrix.translate(new Vec( cos, 0, sin)), + Matrix.translate(new Vec(-cos, 0, -sin)), + Matrix.translate(new Vec( cos, 0, -sin)), + + Matrix.translate(new Vec( 0, height, -z)), + Matrix.translate(new Vec(-r, height, x)), + Matrix.translate(new Vec( r, height, x)), + Matrix.translate(new Vec( 0, -height, z)), + Matrix.translate(new Vec(-r, -height, -x)), + Matrix.translate(new Vec( r, -height, -x)), + */ }; + //for(int i=0; i