Skip to content

upf-gti/wgpuEngineSample

Repository files navigation

wgpuEngineSample

This repository contains a sample project with XR enabled using wgpuEngine, the engine used in Rooms, our immersive XR sculpting (SDF based) application.

Experimental

A simple live web editor is hosted here using experimental C++ to JavaScript bindings.

How to build

You will need to install the following tools:

Desktop

git submodule update --init --recursive
mkdir build
cd build
cmake ..

Web

Download emscripten and follow the installation guide.

On Windows you may need to download ninja and include the folder in your PATH environment variable, then:

git submodule update --init --recursive
mkdir build-web
cd build-web
emcmake cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

After building for web, you can host a local server with python:

python -m http.server

And access the webpage using a browser with WebGPU support using the link: localhost:8000/sample_project.html

Feedback/Issues

You can use the repository issues section or simply write any feedback to the contributors!

About

Sample project using wgpuEngine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5