A configurable skybox generator with procedurally generated clouds.
Can also be used as a CPU / WASI runtime benchmarking tool.
The sun is perfectly round when the box is "folded"
A render using the skybox above as the only light source
Requires a bash (or equivalent) command line, git and the Rust toolchain.
git clone https://github.com/AugLuk/skybox.git
cd skybox
RUSTFLAGS='-C target-cpu=native' cargo build --profile release-lto
./target/release-lto/skybox
cargo build
./target/debug/skybox
Additionally requires the cargo-wasi subcommand and wasmtime.
cargo wasi build --profile release-lto --features no-multithreading
wasmtime run --dir=. target/wasm32-wasi/release-lto/skybox.wasm
Edit the config.ini file to change the simulation parameters.
The output images are saved in the output/ directory.
It is necessary to move the images to another location or rename them to prevent the application from overwriting them the next time it is run.