Coder Social home page Coder Social logo

Comments (7)

Utopiah avatar Utopiah commented on July 23, 2024 1

Ah that's where my misunderstanding came from, I thought https://github.com/elalish/manifold/tree/master/bindings/wasm/examples specifically the npm i step would allow me to try without building it myself and pull from npm. But apparently not. Anyway now my local build works so that's fine, thanks again for the work and the help now!

image

Going to see how I can tinker with your engine and WebXR, ideally integrate more directly than an older prototype I've done https://twitter.com/utopiah/status/1311999553537802240 so that I "just" rely on threejs to display then code https://twitter.com/utopiah/status/1623571212017213440 e.g

const {cube, sphere} = Manifold;
const box = cube([100, 100, 100], true);
const ball = sphere(60, 100);
const result = box.subtract(ball);

then gestures for values e.g 60 in sphere as moving pinched fingers along a line.

from manifold.

pca006132 avatar pca006132 commented on July 23, 2024

Can you show the commands you use to do the wasm build? cmake should copy them to the correct location after building.

from manifold.

pca006132 avatar pca006132 commented on July 23, 2024

closing as it is impossible to follow up for now.

from manifold.

Utopiah avatar Utopiah commented on July 23, 2024

Looks like I need to follow https://github.com/elalish/manifold?tab=readme-ov-file#wasm first, right?

from manifold.

pca006132 avatar pca006132 commented on July 23, 2024

yes

from manifold.

Utopiah avatar Utopiah commented on July 23, 2024

OK thanks will try that, apologies for the delayed answer other things came up and I honestly couldn't understand what "more" than npm run build I could share. Now I understand I missed a step, namely manifold build, then wasm build, then npm, trying now!

from manifold.

pca006132 avatar pca006132 commented on July 23, 2024

if you are not familiar with c++, you can try the version published on npm, it is up-to-date and don't require you to build the wasm yourself.

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.