Git Product home page Git Product logo

app-wasm's Introduction

PhysX WASM for Webaverse client

Introduction

Webaverse uses a WebAssembly Build of PhysX, a C++ open-source realtime physics engine middleware SDK developed by Nvidia. It is compiled with EMSDK.

Setup Requirements

Get Webaverse PhysX Build (APP-WASM)

  • Fork and clone it to your prefered directory.
  • For it to work with the current build you need to install version 2.0.6
  • Clone it and then run these commands inside the emsdk directory: ./emsdk install 2.0.6 ./emsdk activate 2.0.6

Compilation

  • Within app-wasm point to the emsdk directory using this command: source /home/user/emsdk/emsdk_env.sh change it to your own path.

  • Now inside app-wasm run this to compile: ./compile.sh

  • Congrats! If it compiled without errors the finished build should be in app-wasm/bin

Use it in Webaverse

  • Copy the geometry.js and geometry.wasm files from app-wasm/bin
  • Paste them into app/public/bin in the Webaverse app
  • Done! Now reload the Webaverse app and try out your own PhysX configuration!

PhysX Docs

app-wasm's People

Contributors

gonnavis avatar koreex avatar loryhoof avatar skaljac avatar

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.