pyacvd icon indicating copy to clipboard operation
pyacvd copied to clipboard

anisotropic remeshing

Open kayarre opened this issue 4 years ago • 6 comments

What would it take to implement the anisotropic remeshing similar to ACVD?

kayarre avatar Mar 17 '20 20:03 kayarre

Probably a bit of work as I'd have to go over the algorithm again. The paper I used to reference isn't out there, do you know where I could find it?

akaszynski avatar Mar 18 '20 02:03 akaszynski

Are you talking about ACVD?

here are the links for the three papers mentioned in ACVD repo. https://hal.archives-ouvertes.fr/hal-00537025/document https://hal.archives-ouvertes.fr/hal-00534535/document http://www2.imm.dtu.dk/projects/MeshMed/2011/MeshMed2011Proceedings.pdf (starting at page 176)

kayarre avatar Mar 18 '20 18:03 kayarre

I'm not seeing references to anisotropic remeshing in the referenced papers. pyacvd currently implements the uniform remeshing algorithm using voronoi tessellation which is nearly identical to that in ACVD. I'd have to go through his code (which would take quite some time) to figure out exactly how he implemented anisotropic remeshing.

Currently, I think I've only implemented isotropic (uniform) remeshing, though there is an option to increase the density of the mesh nearby areas of high curvature.

akaszynski avatar Mar 18 '20 21:03 akaszynski

Essentially that is anisotropic remeshing. “Increase the density at areas of high curvature” I didn’t see where this option is in pyavcd. In acvd there was an option to specify 0 for uniform and higher to increase the density as a function of curvature.

kayarre avatar Mar 18 '20 23:03 kayarre

I'll have to add that in. Let me see if I can get an update over the weekend.

akaszynski avatar Mar 20 '20 18:03 akaszynski

Took a look at this again today and it's not something I'll be able to easily implement. pyacvd really takes only a tiny subset of the acvd code and implements that within cython. I'm considering just wrapping the acvd interface with a small interface file to provide a python interface to the actual acvd code, but I'm quite busy at the moment and this might take a while to accomplish.

akaszynski avatar Jul 01 '20 22:07 akaszynski