Skip to content

improve isosurface computation #228

Open

Description

@jbweston

When computing the isosurface, when 4 simplex edges crosses the isosurface, we add 2 triangles to the isosurface triangulation.

Right now we add these arbitrarily (in these 3 lines) but we should add them so that the curvature is minimized.

The current state of affairs produces plots like this:

K3D-1574269258138

Note how the isosurface on the right hand side of the figure is not smooth.

Activity

  1. oroszl commented on Nov 23, 2019

    @oroszl

    Hey @jbweston can you put up the example notebook for producing the above plot somewhere?

  2. jhoofwijk commented on Jan 2, 2020

    @jhoofwijk
    Contributor

    I had though about that before, but the four points which are found are co-planar, so it doesn't matter in what way you make the triangles. The roughness comes from differences between adjacent tetrahedra.

  3. akhmerov commented on Jan 2, 2020

    @akhmerov
    Contributor

    @jhoofwijk thanks for the clarification, that's an excellent point.

  4. akhmerov commented on Jan 6, 2020

    @akhmerov
    Contributor

    OTOH the isosurface seems to have artifacts... wondering how to investigate the specific origin of those...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions