Skip to content

Holodome/voxel-water

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voxel-water

Playground

Web versions:

There are problems with running WASM code on certain systems. All Apple devices (including phones) are tested and should work.

About

This is real-time ray tracing app with water simulation capabilities.

It uses WGPU to be able to compile to Webassembly. Theoretically, this makes it cross platform. However, Webassembly support across browsers and systems leaves much to be desired.

This app was build as course project, and you may find explanatory node (in russian) in docs directory.

Main algorithms used:

Screenshots

Building and running

For local build, simply run

cargo run

There is a problem with ahash crate, which refuses to compile on some versions of Rust on M1. 1.70-aarch64-apple-darwin toolchain is tested.

To compile webassembly, run

wasm-pack build --target web

You may also need to install wasm-pack.

About

Real-time ray tracing app with water simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published