Skip to content

dpralas/wasm-rend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wgpu based STL rendering engine (WIP)

Inspiration:

Steps:

0. Install Rust and add WASM target

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown

1. Install helper tools

cargo install wasm-bindgen-cli https

2. Build

cargo build --target wasm32-unknown-unknown

3. Generate WASM bindings

wasm-bindgen target/wasm32-unknown-unknown/debug/wasm_rend.wasm --out-dir . --target web --no-typescript

4. Serve

http

TODOs:

  • fix backface rendering
  • implement camera movement
  • fix main thread blocking

About

Rendering engine for STL files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published