Skip to content

A very small example to show how to render allsky projections using wgpu-rs

Notifications You must be signed in to change notification settings

bmatthieu3/wgpu-sky-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wgpu-sky-rendering

A tiny example to show how to render allsky projections using wgpu-rs. Allsky projections are used in many ways to represented the earth/sky. This method does the projection per-pixel and runs in realtime.

Aitoff projection rendering of the sky

Supported projections are:

See this link for information about map projections.

How it works

If you want more precision about the algorithm and techniques used:

  • Read this article I wrote on my personal blog.
  • See my talk at ADASS 2020 at this link.

Usage

Play with the left and right keys to change the current projection.

From Source

# Clone the repo
$ git clone https://github.com/bmatthieu3/wgpu-sky-rendering.git
$ cd wgpu-sky-rendering

# Compile
$ cargo build --release

# Run
$ cargo run --release

About

A very small example to show how to render allsky projections using wgpu-rs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published