GithubHelp home page GithubHelp logo

Comments (6)

elalish avatar elalish commented on June 21, 2024

Again, I think you miss the point of what this library does; it's not intended to be a real-time solution. It's intended to make very complicated designs possible without fear of crashing the CAD program or taking forever to generate.

from manifold.

bhouston avatar bhouston commented on June 21, 2024

What is the performance of this library? Is there numbers you can share?

from manifold.

FishOrBear avatar FishOrBear commented on June 21, 2024

I think we are all evaluating whether this library can be compiled to wasm and then used on a web 3d editor.

from manifold.

elalish avatar elalish commented on June 21, 2024

That would be great. Do you have any experience with building WASM?

from manifold.

fire avatar fire commented on June 21, 2024

It should be technically possible to compile the library to wasm and then execute from three js rendering mesh buffers.

@elalish Did you remove the CUDA dependency?

from manifold.

elalish avatar elalish commented on June 21, 2024

CUDA is not exactly a dependency; this library uses Nvidia's Thrust which can target either CUDA, OMP, or standard C++ backends. For instance, the tests in Github actions all use the C++ backend as they don't give us machines with GPUs. A CMake flag chooses the backend you wish to build.

It may be possible to build the C++ version as WASM, though it would be single-threaded (still pretty fast though). Long term, I think the ideal thing would be to build WASM using WebGPU compute kernels. I would imagine someone is working on making C++17 parallel algorithms (which is based on and very similar to Thrust) compile to WASM with WebGPU, but it hasn't happened yet as far as I know. I would rather wait for a compiler stage like that to exist than try to jump right onto the bleeding edge myself.

from manifold.

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.