Giter Club home page Giter Club logo

Comments (3)

jbms avatar jbms commented on September 17, 2024

The meshes were generated in a batch fashion for the full volumes by running marching cubes to obtain an initial mesh for each object and then running quadric error-constrained mesh simplification using the implementation in the OpenMesh library. I also experimented with using this same approach for generating meshes interactively through the Python backend, which is why you see the stub there. It worked, but the mesh generation wasn't quite as instantaneous in ~100 megavoxel volumes as would be desirable. Unfortunately the code for doing the mesh generation hasn't been released as open source yet -- I'll look into releasing it, though.

from neuroglancer.

macrintr avatar macrintr commented on September 17, 2024

Cool - thanks! If you do open source the batch processing, that'd be awesome - otherwise, we'll put a script together for it. For our local use case, real-time meshing isn't as interesting.

from neuroglancer.

jbms avatar jbms commented on September 17, 2024

The mesh generation implementation has just been released. While it is set up to be used with the Python in-memory volume serving, you could easily reuse it for batch generation of meshes as well. For volumes too large to fit in memory/mesh on a single machine, you can break up the volume into a grid of blocks of e.g. 1000^3 voxels. Make sure to specify lock_boundary_vertices = True and to have the blocks overlap by 1 voxel in all dimensions to prevent gaps.

from neuroglancer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.