~mht/surcut

434b8196 — Martin Hafskjold Thoresen 6 months ago master
Add license
0dbc35cd — Martin Hafskjold Thoresen 1 year, 2 months ago
Only optionally do the force cutoff thing

The scaling is still very off - bunny worked fine with the previous
cutoff, but fertility did not.
16669cc4 — Martin Hafskjold Thoresen 1 year, 2 months ago
Printing and mesh evaluation continues
6d241562 — Martin Hafskjold Thoresen 1 year, 2 months ago
Fix sphere sampling function, and take iteration count from cmdline
438b40d6 — Martin Hafskjold Thoresen 1 year, 2 months ago
Somewhat working evaluate
cb319931 — Martin Hafskjold Thoresen 1 year, 2 months ago
Refactor geom.proc from viewing

This in order to make `evaluate.cpp`, with which we try to find good
models.
e8012813 — Martin Hafskjold Thoresen 1 year, 2 months ago
Automate updating rest state after ARAP loop if converge
bbf8ee4f — Martin Hafskjold Thoresen 1 year, 2 months ago
Add screenshot with antialiasing

Somehow, the anti aliasing with GLFW doesn't work (also doesn't work
with a clean GLFW project - weird opengl driver on linux?) Since we just
wanted nice screenshots anyways, this is a decent workaround.
32b36a44 — Martin Hafskjold Thoresen 1 year, 2 months ago
Use colors for force magnitude instead of lengths
1248699f — Martin Hafskjold Thoresen 1 year, 2 months ago
Add floater for force scale
852da4cc — Martin Hafskjold Thoresen 1 year, 2 months ago
Fix NaN case where removal dir and face normal were oposite
93d5da94 — Martin Hafskjold Thoresen 1 year, 2 months ago
Remove mesh globals
a4ac05d4 — Martin Hafskjold Thoresen 1 year, 2 months ago
Intersect with the first triangle, and set force to a vertex

Not sure the vertex is really what we want, but here it is..
0a24807b — Martin Hafskjold Thoresen 1 year, 2 months ago
Visualize stitching
ec8cf3dd — Martin Hafskjold Thoresen 1 year, 2 months ago
Implement ray collision checking

It's _very_ slow, but this is probably fixable using some acceleration
structure for the mesh. Do we have time for this?
d1179f67 — Martin Hafskjold Thoresen 1 year, 2 months ago
Add Update Rest State button
cabf621b — Martin Hafskjold Thoresen 1 year, 2 months ago
Refactoring

Try to just compute a bunch of stuff for the model when we have deformed
the vertices, such as normals, dot products, and so on. It's still a bit
wonky, since we have to call the `compute_things ` proc after `step_arap`;
maybe we might as well put it inside.

In addition, initialization is a little brittle. It's very possible that
taking explicit arguments instead of using globals help out this.
c28a8667 — Martin Hafskjold Thoresen 1 year, 2 months ago
Flush out framework for force computation.

Should get something going pretty soon so we can see how it behaves
asap.
f153ab9c — Martin Hafskjold Thoresen 1 year, 2 months ago
Just move closest along `drag_dir`.

This sort of works, but must be scaled correctly. Also, tried to just
remesh to forget about self intersections, but that didn't work out.
Perhaps there's a tetgen option to fix that.
9e36f620 — Martin Hafskjold Thoresen 1 year, 2 months ago
Format and comment.

I don't think the way we've attempted here is any good, though I'm sure
there's something wrong with the impl as well, since only 2/3 vertices
is supposed to move.
2811359a — Martin Hafskjold Thoresen 1 year, 2 months ago
Make progress on forcing moldability

Some, instead of making the faces more moldable we're only translating
the problematic faces. Idk why.
Next