InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Top 23 Rust wgpu Projects
-
Project mention: Do you think is it worth to learn gtk4 to use it with rust? | reddit.com/r/rust | 2022-11-12
Depending on the scale of your project, I could suggest rui library which is cross platform though it's not related to gtk, https://github.com/audulus/rui, It's inspired by swiftUI
-
I personally use Rend3, ability to use WGPU to make my own render effects, but I still get to build my own engine around it, although I'm waiting for the vertex-pulling branch to be merged before I really get going
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
-
Project mention: Driving through the voxel grid in vange-rs | reddit.com/r/rust_gamedev | 2022-10-31
This is a new rendering method I was working on in Rusty Vangers. It's based on using a hierarchical voxel grid (mipmapped 3D texture) as an acceleration structure for ray tracing. Allows viewing the level from any perspective, and is faster than the "painter" method.
-
Project mention: wgpu_glyph VS wgpu-text - a user suggested alternative | libhunt.com/r/wgpu_glyph | 2022-03-27
-
Yep, sodium is 1.14+ and optifine didn't become useless until ~1.13+ when mojang ruined the codebase. Optifine is best on <=1.8 though. There's another mod alternative renderer that might replace both sodium/optifine on all versions soon but it's in very early alpha stage and probably will be for a few more years https://github.com/wgpu-mc/wgpu-mc
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
Thanks for sharing. Besides what is mentioned in this post. There are many other projects solving similar problems and exploring better ways to integrate/write shaders in rust in different approaches. I list them for extra reference: https://github.com/RayMarch/shame and https://github.com/leops/rasen, https://github.com/mikialex/rendiation.
-
-
I've done a library for vector graphics on the GPU which works pretty well for my uses:
https://github.com/audulus/vger
and a rust version:
https://github.com/audulus/vger-rs
(which powers my rust GUI library: https://github.com/audulus/rui)
Here's the approach for rendering path fills. From the readme:
> The bezier path fill case is somewhat original. To avoid having to solve quadratic equations (which has numerical issues), the fragment function uses a sort-of reverse Loop-Blinn. To determine if a point is inside or outside, vger tests against the lines formed between the endpoints of each bezier curve, flipping inside/outside for each intersection with a +x ray from the point. Then vger tests the point against the area between the bezier segment and the line, flipping inside/outside again if inside. This avoids the pre-computation of Loop-Blinn, and the AA issues of Kokojima.
It works pretty well, and doesn't require as much preprocessing as the code in the article. Also doesn't require any GPU compute (though I do use GPU compute for some things). I think ultimately the approach in the article (essentially Piet-metal, aka tessellating and binning into tiles) will deliver better performance, and support more primitives, but at greater implementation complexity. I've tried the Piet-metal approach myself and it's tricky! I like the simpler Shadertoy/SDF inspired approach :)
-
Project mention: A WebGPU N-Body astrophysics simulation in Rust + WASM! (Demo) | reddit.com/r/rust_gamedev | 2022-08-07
-
-
You could use a compute shader to do some clipping though This is what I'm doing for 3d culling: https://github.com/gents83/INOX/blob/master/data_raw/shaders/wgsl/compute_culling.wgsl
-
-
Project mention: wgpu-openxr-example: a barebones example of how to integrate OpenXR with wgpu (Vulkan-only) | reddit.com/r/rust_gamedev | 2022-10-23
-
wgpu-text
wgpu-text is a wrapper over glyph-brush for easier text rendering in wgpu. This project was inspired by and is similar to wgpu_glyph, but has additional features and is simpler. Also there is no need to include glyph-brush in your project.
Project mention: wgpu_glyph VS wgpu-text - a user suggested alternative | libhunt.com/r/wgpu_glyph | 2022-03-27wgpu-text is similar to wgpu_glyph but simpler. It provides basic text rendering and is still being worked on for new features.
-
Fabled-Engine
Self Study on developing a game engine using wgpu as the rendering API. Learning as I go.
-
3D-Cellular-Automata-WGPU
3d Cellular Automata using WGPU in Rust (for the web and using compute shaders)
Project mention: [Media] Customizable 3D Cellular Automata on the web using WGPU! | reddit.com/r/rust | 2022-10-17GitHub link: https://github.com/LelsersLasers/3D-Cellular-Automata-WGPU (The branches are very messy... I recommend you get latest working downloads from the website at the top of this comment)
-
Project mention: Real time audio visualisations using rust and WGPU | reddit.com/r/rust | 2022-10-15
-
-
fractal-explorer
A simple Julia Set and Mandelbrot interactive explorer built using Rust. It can run as a desktop application or on the web. Web demo available at https://lobis.github.io/fractal-explorer/
Finishing my pet project https://github.com/lobis/fractal-explorer!
-
Project mention: A Shadertoy-liked shader playground with WGSL supported | reddit.com/r/shaders | 2022-11-28
If you are interested in this, try it out. You can find pre-built packages for your OS from here.
-
Project mention: Silicate: GPU compositor/viewer for Procreate files | reddit.com/r/rust | 2022-09-20
Silicate is a cross-platform native viewer for .procreate files, leveraging wgpu for layer composition and egui for GUI. The repository and latest builds are located at Avarel/silicate (GitHub).
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust wgpu related posts
- A Shadertoy-liked shader playground with WGSL supported
- Which graphics crate do you use?
- Do you think is it worth to learn gtk4 to use it with rust?
- Driving through the voxel grid in vange-rs
- What's everyone working on this week (42/2022)?
- Real time audio visualisations using rust and WGPU
- Vector Graphics on GPU
-
A note from our sponsor - InfluxDB
www.influxdata.com | 30 Jan 2023
Index
What are some of the best open-source wgpu projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | rui | 1,115 |
2 | rend3 | 687 |
3 | Neothesia | 538 |
4 | vange-rs | 356 |
5 | wgpu_glyph | 331 |
6 | wgpu-mc | 288 |
7 | blub | 277 |
8 | shame | 191 |
9 | gbemulator | 124 |
10 | vger-rs | 115 |
11 | nbody-wasm-sim | 105 |
12 | pilka | 90 |
13 | INOX | 51 |
14 | nuance | 26 |
15 | wgpu-openxr-example | 24 |
16 | wgpu-text | 20 |
17 | Fabled-Engine | 20 |
18 | 3D-Cellular-Automata-WGPU | 18 |
19 | oscli | 18 |
20 | compaster | 14 |
21 | fractal-explorer | 13 |
22 | wgshadertoy | 9 |
23 | silicate | 6 |