Skip to content
/ skybox Public

A configurable skybox generator with procedurally generated clouds

Notifications You must be signed in to change notification settings

AugLuk/skybox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skybox

A configurable skybox generator with procedurally generated clouds.

Can also be used as a CPU / WASI runtime benchmarking tool.

Previews

skybox The sun is perfectly round when the box is "folded"

render A render using the skybox above as the only light source

Installation and Running

Requires a bash (or equivalent) command line, git and the Rust toolchain.

Preparation - Getting the Source Code (for all builds)

git clone https://github.com/AugLuk/skybox.git
cd skybox

Native Build

Optimized

RUSTFLAGS='-C target-cpu=native' cargo build --profile release-lto
./target/release-lto/skybox

Debug

cargo build
./target/debug/skybox

WASI Build and Running in Wasmtime

Additionally requires the cargo-wasi subcommand and wasmtime.

Optimized

cargo wasi build --profile release-lto --features no-multithreading
wasmtime run --dir=. target/wasm32-wasi/release-lto/skybox.wasm

Additional Directions

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.

About

A configurable skybox generator with procedurally generated clouds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages